commit 964a718fbc3ab2345c5233d68cd6cbedde73953d Author: Petr Sabata <psabata@xxxxxxxxxx> Date: Tue May 3 12:57:55 2011 +0200 2.034 bump, some cleanup and requirements fixes perl-Compress-Raw-Bzip2.spec | 48 ++++++++++++++++++++++------------------- 1 files changed, 26 insertions(+), 22 deletions(-) --- diff --git a/perl-Compress-Raw-Bzip2.spec b/perl-Compress-Raw-Bzip2.spec index 2eba790..e76adb2 100644 --- a/perl-Compress-Raw-Bzip2.spec +++ b/perl-Compress-Raw-Bzip2.spec @@ -1,17 +1,27 @@ Name: perl-Compress-Raw-Bzip2 Summary: Low-Level Interface to bzip2 compression library -Version: 2.033 -Release: 2%{?dist} +Version: 2.034 +Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Raw-Bzip2-%{version}.tar.gz URL: http://search.cpan.org/dist/Compress-Raw-Bzip2/ -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - +Requires: perl(Exporter) +Requires: perl(File::Temp) +# XSLoader or DynaLoader; choose wisely +Requires: perl(XSLoader) BuildRequires: bzip2-devel +BuildRequires: perl(AutoLoader) +BuildRequires: perl(bytes) +BuildRequires: perl(constant) +BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Temp) BuildRequires: perl(Test::Pod) +# see above +BuildRequires: perl(XSLoader) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} @@ -22,42 +32,36 @@ It is used by IO::Compress::Bzip2. %prep %setup -q -n Compress-Raw-Bzip2-%{version} - %build BUILD_BZIP2=0 BZIP2_LIB=%{_libdir} export BUILD_BZIP2 BZIP2_LIB -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} - %install -rm -rf $RPM_BUILD_ROOT -make pure_install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' -%{_fixperms} $RPM_BUILD_ROOT/* - +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name '*.bs' -a -size 0 -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 Changes README %{perl_vendorarch}/auto/Compress/ %{perl_vendorarch}/Compress/ %{_mandir}/man3/Compress::Raw::Bzip2.3pm* - %changelog +* Tue May 3 2011 Petr Sabata <psabata@xxxxxxxxxx> - 2.034-1 +- 2.034 bump +- Buildroot cleanup, defattr cleanup +- Correcting BRs/Rs + * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.033-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild -- 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