[cpp-linbuild] 07/15: Replace deprecated PreReq
John W. O'Brien
john at saltant.com
Sun Jun 18 15:00:42 UTC 2023
This is an automated email from the git hooks/post-receive script.
obrienjw pushed a commit to branch main
in repository cpp-linbuild.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-linbuild.git;a=commit;h=b0df971e16138bb4f7588a645733354be2924f7c
commit b0df971e16138bb4f7588a645733354be2924f7c
Author: John W. O'Brien <john at saltant.com>
AuthorDate: Fri Jun 16 12:18:26 2023 +0000
Replace deprecated PreReq
RPM 4.8.0 deprecated PreReq and mapped it to Requires(pre,preun) at
build time [0].
[0] https://github.com/rpm-software-management/rpm/commit/95c9e817ef6ed2cda5629f0c5edb6f7b19c209cf
---
common/SPECS/shibboleth.spec | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/common/SPECS/shibboleth.spec b/common/SPECS/shibboleth.spec
index da1d2ad..344b31b 100644
--- a/common/SPECS/shibboleth.spec
+++ b/common/SPECS/shibboleth.spec
@@ -10,15 +10,15 @@ Source: %{name}-sp-%{version}.tar.bz2
Obsoletes: shibboleth-sp = 2.5.0
Requires: openssl
%if 0%{?rhel} >= 6 || 0%{?amzn} == 1 || 0%{?amzn} == 2
-PreReq: xmltooling-schemas%{?_isa} >= 3.2.0
-PreReq: opensaml-schemas%{?_isa} >= 3.2.0
+Requires(pre,preun): xmltooling-schemas%{?_isa} >= 3.2.0
+Requires(pre,preun): opensaml-schemas%{?_isa} >= 3.2.0
%else
-PreReq: xmltooling-schemas >= 3.2.0
-PreReq: opensaml-schemas >= 3.2.0
+Requires(pre,preun): xmltooling-schemas >= 3.2.0
+Requires(pre,preun): opensaml-schemas >= 3.2.0
%endif
%if 0%{?suse_version} > 1030 && 0%{?suse_version} < 1130
-PreReq: %{insserv_prereq}
-PreReq: %{fillup_prereq}
+Requires(pre,preun): %{insserv_prereq}
+Requires(pre,preun): %{fillup_prereq}
%endif
%if 0%{?rhel} >= 7
Requires: hostname
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list