auto-import changelog data from perl-BSD-Resource-1.15-2.src.rpm

Tue Jun 04 2002 Chip Turner <cturner@redhat.com>
- properly claim directories owned by package so they are removed when
    package is removed
This commit is contained in:
cvsdist 2004-09-09 10:01:26 +00:00
parent 4fe0365b29
commit cf95e64218
3 changed files with 20 additions and 17 deletions

View File

@ -1 +1 @@
BSD-Resource-1.14.tar.gz
BSD-Resource-1.15.tar.gz

View File

@ -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 <timp@redhat.com>
- remove packager tag from specfile
* Tue Jun 4 2002 Chip Turner <cturner@redhat.com>
- properly claim directories owned by package so they are removed when package is removed
* Wed Jan 30 2002 cturner@redhat.com
- Specfile autogenerated

View File

@ -1 +1 @@
b71c452b44e4d998904519b349fd8baa BSD-Resource-1.14.tar.gz
1a9a64ab0a20d809f4a14c6b5fa31f0f BSD-Resource-1.15.tar.gz