From cf95e64218be7e15620d1a22ac3515ddea16c730 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 10:01:26 +0000 Subject: [PATCH] auto-import changelog data from perl-BSD-Resource-1.15-2.src.rpm Tue Jun 04 2002 Chip Turner - properly claim directories owned by package so they are removed when package is removed --- .cvsignore | 2 +- perl-BSD-Resource.spec | 33 ++++++++++++++++++--------------- sources | 2 +- 3 files changed, 20 insertions(+), 17 deletions(-) diff --git a/.cvsignore b/.cvsignore index deeccb8..7010de3 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -BSD-Resource-1.14.tar.gz +BSD-Resource-1.15.tar.gz diff --git a/perl-BSD-Resource.spec b/perl-BSD-Resource.spec index 3db8e89..a019a42 100644 --- a/perl-BSD-Resource.spec +++ b/perl-BSD-Resource.spec @@ -1,50 +1,53 @@ Name: perl-BSD-Resource -Version: 1.14 -Release: 11 -Summary: BSD-Resource Perl module +Version: 1.15 +Release: 2 +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.14.tar.gz +Source0: BSD-Resource-1.15.tar.gz %description -BSD-Resource Perl module +A module providing an interface for testing and setting process limits +and priorities. + %prep %setup -q -n BSD-Resource-%{version} %build -CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL +CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor make - +make test || /bin/true %clean rm -rf $RPM_BUILD_ROOT %install rm -rf $RPM_BUILD_ROOT -eval `perl '-V:installarchlib'` -mkdir -p $RPM_BUILD_ROOT/$installarchlib -make PREFIX=$RPM_BUILD_ROOT/usr install +make install [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress find $RPM_BUILD_ROOT/usr -type f -print | \ sed "s@^$RPM_BUILD_ROOT@@g" | \ grep -v perllocal.pod | \ - grep -v "\.packlist" > BSD-Resource-1.14-filelist -if [ "$(cat BSD-Resource-1.14-filelist)X" = "X" ] ; then + grep -v "\.packlist" > BSD-Resource-1.15-filelist +if [ "$(cat BSD-Resource-1.15-filelist)X" = "X" ] ; then echo "ERROR: EMPTY FILE LIST" exit -1 fi -%files -f BSD-Resource-1.14-filelist +%files -f BSD-Resource-1.15-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 -* Thu Apr 11 2002 Tim Powers -- remove packager tag from specfile +* Tue Jun 4 2002 Chip Turner +- properly claim directories owned by package so they are removed when package is removed * Wed Jan 30 2002 cturner@redhat.com - Specfile autogenerated diff --git a/sources b/sources index d46bef5..e46c63c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b71c452b44e4d998904519b349fd8baa BSD-Resource-1.14.tar.gz +1a9a64ab0a20d809f4a14c6b5fa31f0f BSD-Resource-1.15.tar.gz