!30 change %systemd_requires to %{?systemd_requires}

From: @duyiwei7w 
Reviewed-by: @zengwefeng 
Signed-off-by: @zengwefeng
This commit is contained in:
openeuler-ci-bot 2022-03-02 11:29:52 +00:00 committed by Gitee
commit 1b07cc0d68
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
%global legacy_actions %{_libexecdir}/initscripts/legacy-actions %global legacy_actions %{_libexecdir}/initscripts/legacy-actions
Name: iptables Name: iptables
Version: 1.8.7 Version: 1.8.7
Release: 4 Release: 5
Summary: IP packet filter administration utilities Summary: IP packet filter administration utilities
License: GPLv2 and Artistic Licence 2.0 and ISC License: GPLv2 and Artistic Licence 2.0 and ISC
URL: https://www.netfilter.org/ URL: https://www.netfilter.org/
@ -23,7 +23,7 @@ Requires: %{name}-libs = %{version}-%{release}
Requires(post): %{_sbindir}/update-alternatives Requires(post): %{_sbindir}/update-alternatives
Requires(postun): %{_sbindir}/update-alternatives Requires(postun): %{_sbindir}/update-alternatives
%systemd_requires %{?systemd_requires}
Provides: iptables-utils iptables-services Provides: iptables-utils iptables-services
Obsoletes: iptables-utils iptables-services Obsoletes: iptables-utils iptables-services
@ -317,6 +317,9 @@ fi
%{_mandir}/man8/xtables-legacy* %{_mandir}/man8/xtables-legacy*
%changelog %changelog
* Wed Mar 02 2022 duyiwei <duyiwei@kylinos.cn> - 1.8.7-5
- change %systemd_requires to %{?systemd_requires}
* Wed Feb 23 2022 gaihuiying <eaglegai@163.com> - 1.8.7-4 * Wed Feb 23 2022 gaihuiying <eaglegai@163.com> - 1.8.7-4
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA