diff options
author | Jeremy Hinegardner <jeremy@hinegardner.org> | 2008-05-01 19:47:58 +0530 |
---|---|---|
committer | Mukund Sivaraman <muks@banu.com> | 2008-05-01 19:47:58 +0530 |
commit | fa7ecaca6d1b36c5315d0974e305d31a0d5d51ed (patch) | |
tree | 01b21d92a9ac46df082aed5bcd0aef9e552739d0 /packaging/fedora/tinyproxy.spec.in | |
parent | b110332ed3ba89bb4d4c9e9864b9765d2e6e0431 (diff) |
Sync Fedora initscript and specfile
Diffstat (limited to 'packaging/fedora/tinyproxy.spec.in')
-rw-r--r-- | packaging/fedora/tinyproxy.spec.in | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/packaging/fedora/tinyproxy.spec.in b/packaging/fedora/tinyproxy.spec.in index 8932b50..3874510 100644 --- a/packaging/fedora/tinyproxy.spec.in +++ b/packaging/fedora/tinyproxy.spec.in @@ -3,7 +3,7 @@ Name: tinyproxy Version: @VERSION@ -Release: 1%{?dist} +Release: 2%{?dist} Summary: A small, efficient HTTP/SSL proxy daemon Group: System Environment/Daemons @@ -15,6 +15,10 @@ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar. Source1: %{name}.init Source2: %{name}.conf +Requires(post): chkconfig +Requires(preun): chkconfig +Requires(preun): initscripts + %description tinyproxy is a small, efficient HTTP/SSL proxy daemon released under the GNU General Public License (GPL). tinyproxy is very useful in a small @@ -31,8 +35,8 @@ make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT -make install-exec DESTDIR=$RPM_BUILD_ROOT +rm -rf %{buildroot} +make install-exec DESTDIR=%{buildroot} # The default 'make install' installs too many items, so we trim it down # and install manually @@ -47,7 +51,7 @@ do done %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %post @@ -62,7 +66,7 @@ fi %postun -if [ $1 -ge 1 ]; then +if [ "$1" -ge "1" ]; then /sbin/service %{name} condrestart > /dev/null 2>&1 || : fi @@ -80,5 +84,9 @@ fi %config(noreplace) %{tinyproxy_confdir}/%{name}.conf %changelog +* Wed Apr 16 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 1.6.3-2 +- fix spec review issues +- fix initscript + * Sun Mar 09 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 1.6.3-1 - Initial rpm configuration |