Add package review patch from jpo.

This commit is contained in:
Robin Norwood 2007-06-28 15:19:06 +00:00
parent 6438853e8d
commit b87e5672f8

View File

@ -1,7 +1,7 @@
Name: perl-XML-NamespaceSupport
Version: 1.09
Release: 1.2.1
Summary: XML-NamespaceSupport Perl module
Release: 2%{?dist}
Summary: A simple generic namespace support class
Group: Development/Libraries
License: GPL or Artistic
@ -10,8 +10,7 @@ Source0: http://www.cpan.org/authors/id/R/RB/RBERJON/XML-NamespaceSupport
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl >= 1:5.6.1
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
%{summary}.
@ -19,7 +18,7 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%prep
%setup -q -n XML-NamespaceSupport-%{version}
chmod 644 Changes README *.pm
chmod -c 644 Changes README *.pm
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@ -29,7 +28,7 @@ make %{?_smp_mflags}
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 ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
@ -47,7 +46,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
* Sat Feb 17 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.09-2
- Minor specfile cleanups.
- Dist tag.
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.09-1.2.1
- rebuild
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 1.09-1.2