Search
j0ke.net Open Build Service
>
Projects
>
ha
:
firewall
>
barnyard2
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
barnyard2.spec
@@ -125,7 +125,6 @@ %__make DESTDIR=%{buildroot} install %{__install} -d -p $RPM_BUILD_ROOT%{_sysconfdir}/snort -%{__install} -d -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/contrib %{__install} -d -p $RPM_BUILD_ROOT%{_mandir}/man8 %{__install} -m 644 etc/barnyard2.conf $RPM_BUILD_ROOT%{_sysconfdir}/snort/ %if 0%{?suse_version} @@ -146,15 +145,19 @@ %fillup_and_insserv %endif -%postun +%preun %if 0%{?suse_version} %stop_on_removal +%endif + +%postun +%if 0%{?suse_version} %insserv_cleanup %endif %files %defattr(-,root,root) -%doc LICENSE doc/README* doc/ +%doc LICENSE doc/README* %attr(755,root,root) %{_bindir}/barnyard2 %dir %{_sysconfdir}/snort %attr(640,root,root) %config %{_sysconfdir}/snort/barnyard2.conf