rpms/perl-URI/devel .cvsignore, 1.5, 1.6 perl-URI.spec, 1.9, 1.10 sources, 1.5, 1.6
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Sat Apr 2 22:15:44 UTC 2005
Update of /cvs/dist/rpms/perl-URI/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv10187
Modified Files:
.cvsignore perl-URI.spec sources
Log Message:
- Update to 1.35.
- Spec cleanup (#153205)
Index: .cvsignore
===================================================================
RCS file: /cvs/dist/rpms/perl-URI/devel/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- .cvsignore 9 Sep 2004 10:23:00 -0000 1.5
+++ .cvsignore 2 Apr 2005 22:15:42 -0000 1.6
@@ -1 +1,2 @@
URI-1.30.tar.gz
+URI-1.35.tar.gz
Index: perl-URI.spec
===================================================================
RCS file: /cvs/dist/rpms/perl-URI/devel/perl-URI.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- perl-URI.spec 31 Mar 2005 09:28:50 -0000 1.9
+++ perl-URI.spec 2 Apr 2005 22:15:42 -0000 1.10
@@ -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
+
+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))
-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
+%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}
-%clean
+%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/*
-%install
+%check || :
+make test
+
+%clean
rm -rf $RPM_BUILD_ROOT
-make install
-find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
-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
+%files
+%defattr(-,root,root,-)
+%doc Changes README rfc2396.txt uri-test
+%{perl_vendorlib}/URI*
+%{_mandir}/man3/*.3*
+
%changelog
-* Wed Mar 30 2005 Warren Togami <wtogami at 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 at redhat.com> 1.30-3
- rebuild
Index: sources
===================================================================
RCS file: /cvs/dist/rpms/perl-URI/devel/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources 9 Sep 2004 10:23:00 -0000 1.5
+++ sources 2 Apr 2005 22:15:42 -0000 1.6
@@ -1 +1 @@
-4da2adaba686a9409fb1deba3f0bfa04 URI-1.30.tar.gz
+1a933b1114c41a25587ee59ba8376f7c URI-1.35.tar.gz
More information about the fedora-cvs-commits
mailing list