[polipo] replace tabs with spaces
Bernard Johnson
bjohnson at fedoraproject.org
Tue Sep 27 02:42:52 UTC 2011
commit 8c5ebab05976a63d6fa0951b303065f10ba8500b
Author: Bernard Johnson <bjohnson at symetrix.com>
Date: Mon Sep 26 19:53:43 2011 -0600
replace tabs with spaces
polipo.spec | 70 +++++++++++++++++++++++++++++-----------------------------
1 files changed, 35 insertions(+), 35 deletions(-)
---
diff --git a/polipo.spec b/polipo.spec
index 6fed9d6..09b69b7 100644
--- a/polipo.spec
+++ b/polipo.spec
@@ -1,28 +1,28 @@
-Name: polipo
-Version: 1.0.4.1
-Release: 4%{?dist}
-Summary: Lightweight caching web proxy
-License: MIT
-Source0: http://freehaven.net/~chrisd/%{name}/%{name}-%{version}.tar.gz
-Source1: %{name}.init
-Source2: %{name}.config
-Source3: %{name}.forbidden
-Source4: %{name}.logrotate
-Source5: %{name}.nm
-#Patch0:
-BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-Group: System Environment/Daemons
-URL: http://www.pps.jussieu.fr/~jch/software/%{name}/
-BuildRequires: texinfo
-Requires: logrotate
-Requires(post): info
-Requires(preun): info
-Requires(pre): shadow-utils
-Requires(post): chkconfig
-Requires(preun): chkconfig
+Name: polipo
+Version: 1.0.4.1
+Release: 4%{?dist}
+Summary: Lightweight caching web proxy
+License: MIT
+Source0: http://freehaven.net/~chrisd/%{name}/%{name}-%{version}.tar.gz
+Source1: %{name}.init
+Source2: %{name}.config
+Source3: %{name}.forbidden
+Source4: %{name}.logrotate
+Source5: %{name}.nm
+#Patch0:
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+Group: System Environment/Daemons
+URL: http://www.pps.jussieu.fr/~jch/software/%{name}/
+BuildRequires: texinfo
+Requires: logrotate
+Requires(post): info
+Requires(preun):info
+Requires(pre): shadow-utils
+Requires(post): chkconfig
+Requires(preun):chkconfig
# This is for /sbin/service
-Requires(preun): initscripts
-Requires(postun): initscripts
+Requires(preun):initscripts
+Requires(postun):initscripts
@@ -41,7 +41,7 @@ make %{?_smp_mflags} PREFIX=%{_prefix} BINDIR=%{_bindir} CDEBUGFLAGS="%{optflags
%install
rm -rf %{buildroot}
make install PREFIX=%{_prefix} BINDIR=%{_bindir} MANDIR=%{_mandir} \
- INFODIR=%{_infodir} TARGET=%{buildroot}
+ INFODIR=%{_infodir} TARGET=%{buildroot}
install -m 0755 -d %{buildroot}%{_sysconfdir}/%{name}
install -m 0755 -d %{buildroot}%{_localstatedir}/run/%{name}
install -m 0750 -d %{buildroot}%{_localstatedir}/cache/%{name}
@@ -62,12 +62,12 @@ getent group %{name} >/dev/null || groupadd -r %{name}
getent passwd %{name} >/dev/null || \
useradd -r -g %{name} -d %{_localstatedir}/cache/%{name} -s /sbin/nologin -c "Polipo Web Proxy" %{name}
for i in %{_localstatedir}/run/%{name} %{_localstatedir}/cache/%{name} ; do
- if [ -d $i ] ; then
- for adir in `find $i -maxdepth 0 \! -user %{name}`; do
- /bin/chown -Rf %{name}:%{name} $adir
- /bin/chmod -Rf u+rwX $adir
- done
- fi
+ if [ -d $i ] ; then
+ for adir in `find $i -maxdepth 0 \! -user %{name}`; do
+ /bin/chown -Rf %{name}:%{name} $adir
+ /bin/chmod -Rf u+rwX $adir
+ done
+ fi
done
exit 0
@@ -81,14 +81,14 @@ exit 0
%preun
if [ $1 = 0 ] ; then
- /sbin/service %{name} stop >/dev/null 2>&1
- /sbin/chkconfig --del %{name}
- /sbin/install-info --quiet --info-dir=%{_infodir} --delete %{_infodir}/%{name}.info.gz || :
+ /sbin/service %{name} stop >/dev/null 2>&1
+ /sbin/chkconfig --del %{name}
+ /sbin/install-info --quiet --info-dir=%{_infodir} --delete %{_infodir}/%{name}.info.gz || :
fi
%postun
if [ "$1" -ge "1" ] ; then
- /sbin/service %{name} condrestart >/dev/null 2>&1
+ /sbin/service %{name} condrestart >/dev/null 2>&1
fi
%files
More information about the scm-commits
mailing list