auto-import perl-URI-1.21-7 from perl-URI-1.21-7.src.rpm

This commit is contained in:
cvsdist 2004-09-09 10:20:13 +00:00
parent c1c313d403
commit 9257e3356e

View File

@ -1,7 +1,9 @@
%define _use_internal_dependency_generator 0
Summary: A Perl module implementing URI parsing and manipulation. Summary: A Perl module implementing URI parsing and manipulation.
Name: perl-URI Name: perl-URI
Version: 1.21 Version: 1.21
Release: 3 Release: 7
License: distributable License: distributable
Group: Applications/CPAN Group: Applications/CPAN
Source0: URI-%{version}.tar.gz Source0: URI-%{version}.tar.gz
@ -37,6 +39,8 @@ make install
[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
find $RPM_BUILD_ROOT/usr -type f -print | find $RPM_BUILD_ROOT/usr -type f -print |
sed "s@^$RPM_BUILD_ROOT@@g" | sed "s@^$RPM_BUILD_ROOT@@g" |
grep -v perllocal.pod | grep -v perllocal.pod |
@ -48,7 +52,7 @@ fi
%files -f URI-%{version}-filelist %files -f URI-%{version}-filelist
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_libdir}/perl5/vendor_perl/%(perl -MConfig -e 'print $Config{version}')/URI %dir /usr/lib/perl5/vendor_perl/%(perl -MConfig -e 'print $Config{version}')/URI
%changelog %changelog
* Tue Aug 6 2002 Chip Turner <cturner@redhat.com> * Tue Aug 6 2002 Chip Turner <cturner@redhat.com>