Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
managed
>
ix-firewall-plesk
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
_service:set_version:ix-firewall-plesk.spec
@@ -1,7 +1,7 @@ %define pkgname plesk-backup Name: ix-firewall-plesk Summary: InterNetX GmbH Plesk Firewall -Version: 0.1.1 +Version: 0.1.7 Release: 1 Url: http://www.internetx.de License: GPLv2 @@ -25,6 +25,10 @@ %install %__install -D -m755 firewall.plesk %{buildroot}%{_sysconfdir}/init.d/firewall %__install -D -m755 firewall6.plesk %{buildroot}%{_sysconfdir}/init.d/firewall6 +%if 0%{?centos_version} >= 7 || 0%{?rhel} >= 7 || 0%{?suse_version} >= 1210 +%__install -D -m644 firewall.service %{buildroot}/usr/lib/systemd/system/firewall.service +%__install -D -m644 firewall6.service %{buildroot}/usr/lib/systemd/system/firewall6.service +%endif %post if [ -f /etc/init.d/firewall.custom ] ; then @@ -41,5 +45,8 @@ %defattr(-,root,root) %config %{_sysconfdir}/init.d/firewall %config %{_sysconfdir}/init.d/firewall6 - +%if 0%{?centos_version} >= 7 || 0%{?rhel} >= 7 || 0%{?suse_version} >= 1210 +/usr/lib/systemd/system/firewall.service +/usr/lib/systemd/system/firewall6.service +%endif %changelog
Changed
_service:tar_scm:ix-firewall-0.1.7.tar
^