Accepting request 140315 from home:jluce2:branches:security
parceque OBS-URL: https://build.opensuse.org/request/show/140315 OBS-URL: https://build.opensuse.org/package/show/security/ufw?expand=0&rev=10
This commit is contained in:
parent
b037bfdecf
commit
aef197f8bd
9
ufw.spec
9
ufw.spec
@ -31,8 +31,11 @@ BuildArch: noarch
|
|||||||
BuildRequires: iptables
|
BuildRequires: iptables
|
||||||
BuildRequires: python-base >= 2.7
|
BuildRequires: python-base >= 2.7
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1140
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
%systemd_requires
|
%systemd_requires
|
||||||
|
%endif
|
||||||
|
|
||||||
#Requires:
|
#Requires:
|
||||||
%description
|
%description
|
||||||
@ -74,9 +77,10 @@ install -m 644 $RPM_SOURCE_DIR/ufw.service $RPM_BUILD_ROOT/lib/systemd/system/uf
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post
|
%post
|
||||||
#insserv /etc/init.d/ufw
|
|
||||||
%if 0%{?suse_version} > 1140
|
%if 0%{?suse_version} > 1140
|
||||||
%service_add_post ufw.service
|
%service_add_post ufw.service
|
||||||
|
%else
|
||||||
|
insserv /etc/init.d/ufw
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
@ -86,10 +90,11 @@ install -m 644 $RPM_SOURCE_DIR/ufw.service $RPM_BUILD_ROOT/lib/systemd/system/uf
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
#%insserv_cleanup /etc/init.d/ufw
|
|
||||||
%restart_on_update
|
%restart_on_update
|
||||||
%if 0%{?suse_version} > 1140
|
%if 0%{?suse_version} > 1140
|
||||||
%service_del_postun ufw.service
|
%service_del_postun ufw.service
|
||||||
|
%else
|
||||||
|
%insserv_cleanup /etc/init.d/ufw
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
Loading…
Reference in New Issue
Block a user