- Update to 1.35.

- Spec cleanup (#153205)
This commit is contained in:
Warren Togami 2005-04-02 22:15:42 +00:00
parent 0e36e88239
commit c32dd7f94d
3 changed files with 42 additions and 40 deletions

View File

@ -1 +1,2 @@
URI-1.30.tar.gz
URI-1.35.tar.gz

View File

@ -1,61 +1,62 @@
%define _use_internal_dependency_generator 0
Name: perl-URI
Version: 1.35
Release: 1
Summary: A Perl module implementing URI parsing and manipulation
Summary: A Perl module implementing URI parsing and manipulation.
Name: perl-URI
Version: 1.30
Release: 5
License: distributable
Group: Applications/CPAN
Source0: URI-%{version}.tar.gz
Source1: filter-requires-perl-URI.sh
Url: http://search.cpan.org/search?query=URI
BuildRoot: %{_tmppath}/perl-URI-buildroot/
BuildRequires: perl >= 0:5.00503
BuildRequires: perl(MIME::Base64)
Requires: perl >= 0:5.00503
Provides: perl-URI
BuildArch: noarch
Group: Development/Libraries
License: Distributable
URL: http://search.cpan.org/dist/URI/
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/URI-%{version}.tar.gz
Source1: filter-requires-perl-URI.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl >= 1:5.6.1
BuildRequires: perl(MIME::Base64)
#BuildRequires: perl(Business::ISBN)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%define __find_requires %{SOURCE1}
%description
This module implements the URI class. Objects of this class represent
"Uniform Resource Identifier references" as specified in RFC 2396 (and
updated by RFC 2732).
%define __find_requires %{SOURCE1}
%prep
%setup -q -n URI-%{version}
%setup -q -n URI-%{version}
chmod 644 uri-test
%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
make
make test || /bin/true
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check || :
make test
%clean
rm -rf $RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
make install
find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
%files
%defattr(-,root,root,-)
%doc Changes README rfc2396.txt uri-test
%{perl_vendorlib}/URI*
%{_mandir}/man3/*.3*
find $RPM_BUILD_ROOT/usr -type f -print |
sed "s@^$RPM_BUILD_ROOT@@g" |
grep -v perllocal.pod |
grep -v "\.packlist" > URI-%{version}-filelist
if [ "$(cat URI-%{version}-filelist)X" = "X" ] ; then
echo "ERROR: EMPTY FILE LIST"
exit -1
fi
%files -f URI-%{version}-filelist
%defattr(-,root,root)
%dir /usr/lib/perl5/vendor_perl/%(perl -MConfig -e 'print $Config{version}')/URI
%changelog
* Wed Mar 30 2005 Warren Togami <wtogami@redhat.com>
- remove brp-compress
* Sat Apr 02 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.35-1
- Update to 1.35.
- Spec cleanup (#153205)
* Thu Sep 23 2004 Chip Turner <cturner@redhat.com> 1.30-3
- rebuild

View File

@ -1 +1 @@
4da2adaba686a9409fb1deba3f0bfa04 URI-1.30.tar.gz
1a933b1114c41a25587ee59ba8376f7c URI-1.35.tar.gz