Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
lemonldap-ng
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
cb09e2f4
Commit
cb09e2f4
authored
Oct 31, 2018
by
Xavier Bachelot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tidy up Requires: filtering and fix Fedora filtering
parent
7ea44626
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
20 deletions
+12
-20
rpm/lemonldap-ng.spec
rpm/lemonldap-ng.spec
+12
-20
No files found.
rpm/lemonldap-ng.spec
View file @
cb09e2f4
...
@@ -105,6 +105,18 @@ Requires: lemonldap-ng-manager = %{real_version}-%{release}
...
@@ -105,6 +105,18 @@ Requires: lemonldap-ng-manager = %{real_version}-%{release}
Requires: lemonldap-ng-portal = %{real_version}-%{release}
Requires: lemonldap-ng-portal = %{real_version}-%{release}
Requires: lemonldap-ng-test = %{real_version}-%{release}
Requires: lemonldap-ng-test = %{real_version}-%{release}
# Setup requires filtering
%if 0%{?rhel} == 6
%filter_from_requires /perl(lasso/d; /perl(Net::OpenID/d; /perl(Web::ID/d; /perl(XML::LibXML/d; /perl(XML::LibXSLT/d; /perl(Convert::Base32/d; /perl(Sentry::Raven/d;
%filter_setup
%endif
%if 0%{?fedora} || 0%{?rhel} >= 7
%{?perl_default_filter}
%global __requires_exclude perl\\(lasso|perl\\(Net::OpenID|perl\\(Web::ID|perl\\(XML::LibXML|perl\\(XML::LibXSLT|perl\\(Convert::Base32|perl\\(Sentry::Raven
%endif
%description
%description
LemonLdap::NG is a modular Web-SSO based on Apache::Session modules. It
LemonLdap::NG is a modular Web-SSO based on Apache::Session modules. It
simplifies the build of a protected area with a few changes in the
simplifies the build of a protected area with a few changes in the
...
@@ -276,26 +288,6 @@ This package installs the authentication portal.
...
@@ -276,26 +288,6 @@ This package installs the authentication portal.
%prep
%prep
%setup -n %{real_name}-%{real_version} -q
%setup -n %{real_name}-%{real_version} -q
# Remove unwanted provides/requires
cat << \EOF > %{name}-req
#!/bin/sh
%{__perl_requires} $* |\
sed -e '/perl(lasso)/d' |\
sed -e '/perl(Net::OpenID::Consumer)/d' |\
sed -e '/perl(Net::OpenID::Server)/d' |\
sed -e '/perl(Web::ID)/d' |\
sed -e '/perl(XML::LibXML)/d' |\
sed -e '/perl(XML::LibXSLT)/d'
EOF
%global __perl_requires %{_builddir}/%{name}-%{real_version}/%{name}-req
chmod +x %{__perl_requires}
%if 0%{?rhel} >= 7
%{?perl_default_filter}
%global __requires_exclude perl\\(lasso|perl\\(Net::OpenID|perl\\(Web::ID|perl\\(XML::LibXML|perl\\(XML::LibXSLT|perl\\(Convert::Base32|perl\\(Sentry::Raven
%endif
#==============================================================================
#==============================================================================
# Building
# Building
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment