Resolves: rhbz#226239 - incorporate specfile fixes from package review.

This commit is contained in:
Robin Norwood 2007-02-19 21:37:19 +00:00
parent 2454c48ffd
commit 3a64ccaa73

View File

@ -1,6 +1,6 @@
Name: perl-Archive-Tar
Version: 1.30
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A module for Perl manipulation of .tar files
Group: Development/Libraries
@ -10,7 +10,6 @@ Source0: http://www.cpan.org/authors/id/K/KA/KANE/Archive-Tar-%{version}.
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl >= 1:5.6.1
BuildRequires: perl(IO::String), perl(IO::Zlib)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(Compress::Zlib), perl(IO::Zlib)
@ -34,10 +33,10 @@ 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 || :
%check
make test
%clean
@ -54,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Feb 19 2007 Robin Norwood <rnorwood@redhat.com> - 1.30-3
- Incorporate specfile improvements from Jose Oliveira.
* Fri Feb 16 2007 Robin Norwood <rnorwood@redhat.com> - 1.30-2
- Resolves: rhbz#226239 - Remove tabs from spec file for package review