diff --git a/cachefilesd.spec b/cachefilesd.spec index 8b15bd3..4f4deaa 100644 --- a/cachefilesd.spec +++ b/cachefilesd.spec @@ -4,8 +4,10 @@ Release: 3%{?dist} Summary: CacheFiles userspace management daemon Group: System Environment/Daemons License: GPL +URL: http://www.redhat.com + BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n) -Source0: http://people.redhat.com/dhowells/cachefilesd/cachefilesd-0.3.tar.bz2 +Source0: http://people.redhat.com/dhowells/fscache/cachefilesd-0.3.tar.bz2 BuildRequires: automake, autoconf Requires(post): /usr/bin/chkconfig Requires(post): /usr/bin/chkconfig @@ -54,6 +56,7 @@ install -m 644 etc/cachefilesd.conf %{buildroot}%{_sysconfdir} install -m 755 etc/cachefilesd.initd %{buildroot}%{_sysconfdir}/rc.d/init.d/cachefilesd %clean +rm -rf $RPM_BUILD_ROOT %post /sbin/chkconfig --add %{name}