Mercurial > syslog2iptables
diff syslog2iptables.spec.in @ 12:c2a2e35a85ac
final documentation, rpm builds properly
author | carl |
---|---|
date | Sat, 17 Dec 2005 16:17:09 -0800 |
parents | a9b52f657f08 |
children | 91b26521effc |
line wrap: on
line diff
--- a/syslog2iptables.spec.in Thu Dec 15 16:20:17 2005 -0800 +++ b/syslog2iptables.spec.in Sat Dec 17 16:17:09 2005 -0800 @@ -52,7 +52,9 @@ includedir=$RPM_BUILD_ROOT%{_includedir} \ sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d +mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/@PACKAGE@-@VERSION@ mv -f $RPM_BUILD_ROOT%{_sysconfdir}/syslog2iptables $RPM_BUILD_ROOT/etc/rc.d/init.d +mv AUTHORS COPYING ChangeLog NEWS README $RPM_BUILD_ROOT%{_datadir}/doc/@PACKAGE@-@VERSION@ %clean @@ -64,8 +66,6 @@ %post /sbin/chkconfig --add @PACKAGE@ -/sbin/chkconfig @PACKAGE@ on -/sbin/service @PACKAGE@ start || : %preun @@ -77,13 +77,15 @@ %files -%doc AUTHORS COPYING ChangeLog NEWS README %defattr(-,root,root) %{_sbindir}/* -%{_mandir}/* +%doc %{_mandir}/* +%docdir %{_datadir}/doc/@PACKAGE@-@VERSION@ +%{_datadir}/doc/@PACKAGE@-@VERSION@ %config(noreplace) %{_sysconfdir}/@PACKAGE@.conf /etc/rc.d/init.d/@PACKAGE@ +# %doc AUTHORS COPYING ChangeLog NEWS README %changelog * Thu Dec 08 2005 Carl Byington 1.0