Skip to content

Commit

Permalink
Merge pull request #6 from OSC/session
Browse files Browse the repository at this point in the history
Add patch to support sessions
  • Loading branch information
treydock authored Jul 16, 2020
2 parents d1f9f11 + b3b8f30 commit 4b8b84e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packaging/ondemand-dex.spec
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ URL: https://github.com/dexidp/dex
Source0: https://github.com/dexidp/dex/archive/v%{version}.tar.gz
Source1: https://dl.google.com/go/go%{go_version}.linux-amd64.tar.gz
Source2: theme.tar.gz
# Adds session support
Source3: https://github.com/OSC/dex/commit/b3fc3e6c2295c0af166803bdde0977ed170d1d40.patch

BuildRequires: ondemand-scldevel
BuildRequires: systemd
BuildRequires: git
BuildRequires: patch
Requires: systemd
Requires: %{?scl_ondemand_prefix_apache}mod_auth_openidc

Expand All @@ -36,6 +39,8 @@ export PATH=$PATH:%{_buildrootdir}/go/bin
GOPATH=$(go env GOPATH)
%__mkdir_p $GOPATH/src/github.com/dexidp/dex
%__cp -R ./* $GOPATH/src/github.com/dexidp/dex/
cd $GOPATH/src/github.com/dexidp/dex/
%__patch -p1 < %{SOURCE3}

%build
export PATH=$PATH:%{_buildrootdir}/go/bin
Expand Down

0 comments on commit 4b8b84e

Please sign in to comment.