diff --git a/perl-BSD-Resource.spec b/perl-BSD-Resource.spec index a019a42..dc89aa1 100644 --- a/perl-BSD-Resource.spec +++ b/perl-BSD-Resource.spec @@ -1,13 +1,13 @@ Name: perl-BSD-Resource Version: 1.15 -Release: 2 +Release: 4 Summary: BSD process resource limit and priority functions License: distributable Group: Development/Libraries URL: http://search.cpan.org/search?mode=module&query=BSD%3a%3aResource BuildRoot: %{_tmppath}/%{name}-root BuildRequires: perl >= 0:5.00503 -Source0: BSD-Resource-1.15.tar.gz +Source0: BSD-Resource-%{version}.tar.gz %description A module providing an interface for testing and setting process limits @@ -33,19 +33,22 @@ make install find $RPM_BUILD_ROOT/usr -type f -print | \ sed "s@^$RPM_BUILD_ROOT@@g" | \ grep -v perllocal.pod | \ - grep -v "\.packlist" > BSD-Resource-1.15-filelist -if [ "$(cat BSD-Resource-1.15-filelist)X" = "X" ] ; then + grep -v "\.packlist" > BSD-Resource-%{version}-filelist +if [ "$(cat BSD-Resource-%{version}-filelist)X" = "X" ] ; then echo "ERROR: EMPTY FILE LIST" exit -1 fi -%files -f BSD-Resource-1.15-filelist +%files -f BSD-Resource-%{version}-filelist %defattr(-,root,root) %dir %{_libdir}/perl5/vendor_perl/%(perl -MConfig -le 'print "$Config{version}/$Config{archname}"')/BSD %dir %{_libdir}/perl5/vendor_perl/%(perl -MConfig -le 'print "$Config{version}/$Config{archname}"')/auto/BSD %changelog +* Tue Aug 6 2002 Chip Turner +- automated release bump and build + * Tue Jun 4 2002 Chip Turner - properly claim directories owned by package so they are removed when package is removed