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:
parent
4fe0365b29
commit
cf95e64218
@ -1 +1 @@
|
||||
BSD-Resource-1.14.tar.gz
|
||||
BSD-Resource-1.15.tar.gz
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user