diff --git a/.gitignore b/.gitignore index 37055bf..fff5586 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ PAR-1.000.tar.gz /PAR-1.002.tar.gz +/PAR-1.003.tar.gz diff --git a/perl-PAR.spec b/perl-PAR.spec index 1c98bed..3a379ea 100644 --- a/perl-PAR.spec +++ b/perl-PAR.spec @@ -1,12 +1,11 @@ Name: perl-PAR -Version: 1.002 -Release: 4%{?dist} +Version: 1.003 +Release: 1%{?dist} Summary: Perl Archive Toolkit License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/PAR/ -Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/PAR-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: http://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/PAR-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(Archive::Zip) >= 1 BuildRequires: perl(Compress::Zlib) >= 1.3 @@ -29,28 +28,25 @@ libraries from which Perl modules can be loaded. 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 -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; +%{_fixperms} %{buildroot}/* %check make test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) %doc AUTHORS ChangeLog README TODO %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Tue Nov 29 2011 Petr Ĺ abata - 1.003-1 +- 1.003 bump +- Update Source URL +- It's time to drop Buildroot and defattr here as well + * Tue Jul 19 2011 Petr Sabata - 1.002-4 - Perl mass rebuild diff --git a/sources b/sources index 5d6290f..151cf43 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -789a0768881cd051ad7bc2b9d89a56fb PAR-1.002.tar.gz +bfdb92cd2c1b507e5704859469ce9a4e PAR-1.003.tar.gz