Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
managed
:
testing
>
ix-firewall-plesk
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Problem getting expanded diff: service tar_scm failed:
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 50
[-]
[+]
Changed
ix-firewall-plesk.spec
@@ -25,7 +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} >= 12.1 +%__install -D -m644 firewall.serivice %{buildroot}/usr/lib/systemd/system/firewall.service +%__install -D -m644 firewall6.serivice %{buildroot}/usr/lib/systemd/system/firewall6.service +%endif %post if [ -f /etc/init.d/firewall.custom ] ; then mv /etc/init.d/firewall.custom /etc/firewall.custom @@ -41,5 +44,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} >= 12.1 +/usr/lib/systemd/system/firewall.service +/usr/lib/systemd/system/firewall6.service +%endif %changelog