[cpp-xmltooling] branch master updated: Hardwire --with-xmlsec into RPM build.
Scott Cantor
cantor.2 at osu.edu
Fri Jun 22 16:29:42 EDT 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository cpp-xmltooling.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-xmltooling.git;a=commit;h=2592b4ba7f33217336e9d5096bb00243dae6ccf3
The following commit(s) were added to refs/heads/master by this push:
new 2592b4b Hardwire --with-xmlsec into RPM build.
2592b4b is described below
commit 2592b4ba7f33217336e9d5096bb00243dae6ccf3
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Jun 22 16:29:37 2018 -0400
Hardwire --with-xmlsec into RPM build.
---
xmltooling.spec.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/xmltooling.spec.in b/xmltooling.spec.in
index fd17e15..3902d74 100644
--- a/xmltooling.spec.in
+++ b/xmltooling.spec.in
@@ -105,12 +105,12 @@ This package includes XML schemas and related files.
%build
%if 0%{?rhel} >= 6 || 0%{?centos_version} >= 600 || 0%{?amzn} >= 1
-%configure %{?@PACKAGE_NAME at _options} PKG_CONFIG_PATH=/opt/shibboleth/%{_lib}/pkgconfig
+%configure %{?@PACKAGE_NAME at _options} %{!?_without_xmlsec: --with-xmlsec} PKG_CONFIG_PATH=/opt/shibboleth/%{_lib}/pkgconfig
%else
%if 0%{?rhel} == 5
-%configure %{?@PACKAGE_NAME at _options} zlib_CFLAGS=" " zlib_LIBS="-lz"
+%configure %{?@PACKAGE_NAME at _options} %{!?_without_xmlsec: --with-xmlsec} zlib_CFLAGS=" " zlib_LIBS="-lz"
%else
-%configure %{?@PACKAGE_NAME at _options}
+%configure %{?@PACKAGE_NAME at _options} %{!?_without_xmlsec: --with-xmlsec}
%endif
%endif
%{__make}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list