commit 90619fdf5571bda8f771d8f10beecdf9fa62beca Author: Petr Sabata <psabata@xxxxxxxxxx> Date: Fri May 6 13:39:17 2011 +0200 1.009 bump, buildroot cleanup .gitignore | 1 + perl-PAR-Packer.spec | 29 +++++++++++++---------------- sources | 2 +- 3 files changed, 15 insertions(+), 17 deletions(-) --- diff --git a/.gitignore b/.gitignore index 6316665..ced6a46 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ PAR-Packer-1.005.tar.gz /PAR-Packer-1.007.tar.gz /PAR-Packer-1.008.tar.gz +/PAR-Packer-1.009.tar.gz diff --git a/perl-PAR-Packer.spec b/perl-PAR-Packer.spec index 011c121..2bd0035 100644 --- a/perl-PAR-Packer.spec +++ b/perl-PAR-Packer.spec @@ -1,18 +1,17 @@ Name: perl-PAR-Packer -Version: 1.008 -Release: 3%{?dist} +Version: 1.009 +Release: 1%{?dist} Summary: PAR Packager License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/PAR-Packer/ Source0: http://www.cpan.org/authors/id/R/RS/RSCHUPP/PAR-Packer-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(Archive::Zip) >= 1 BuildRequires: perl(Compress::Zlib) >= 1.3 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::Embed) BuildRequires: perl(Getopt::ArgvFile) >= 1.07 -BuildRequires: perl(Module::ScanDeps) >= 0.98 +BuildRequires: perl(Module::ScanDeps) >= 1.01 BuildRequires: perl(PAR) >= 1.000 BuildRequires: perl(PAR::Dist) >= 0.22 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -26,21 +25,18 @@ stand-alone executables, perl scripts and PAR files. %build # DEBUG variable needed to disable stripping binary -DEBUG=1 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +DEBUG=1 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" # The Makefile is not parallel-safe. # PAR_GLOBAL_TEMP seems to be needed for the build. make PAR_GLOBAL_TEMP=/var/tmp %install -rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; -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 f -name '*.bs' -size 0 -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* +%{_fixperms} %{buildroot}/* %check export PAR_GLOBAL_TEMP=/var/tmp @@ -48,9 +44,6 @@ export PAR_GLOBAL_TEMP=/var/tmp ## does not pass # make test PERL_TEST_POD=1 || : -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog README TODO @@ -64,6 +57,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Fri May 6 2011 Petr Sabata <psabata@xxxxxxxxxx> - 1.009-1 +- 1.009 bump +- Removing buildroot garbage + * Fri Feb 25 2011 Petr Pisar <ppisar@xxxxxxxxxx> - 1.008-3 - Do not strip binaries diff --git a/sources b/sources index c807c65..d6b6340 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3a0d6ec88d7c4f858145a9ee96d63bb0 PAR-Packer-1.008.tar.gz +bb6783239f9fdbe92371ed4655b4aa38 PAR-Packer-1.009.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel