Author: kasal Update of /cvs/extras/rpms/perl-PAR-Packer/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2369 Modified Files: perl-PAR-Packer.spec Log Message: - patch to use $RPM_OPT_FLAGS - patch to submit the third parameter to open() Index: perl-PAR-Packer.spec =================================================================== RCS file: /cvs/extras/rpms/perl-PAR-Packer/devel/perl-PAR-Packer.spec,v retrieving revision 1.2 retrieving revision 1.3 diff -u -p -r1.2 -r1.3 --- perl-PAR-Packer.spec 26 Jul 2009 13:53:42 -0000 1.2 +++ perl-PAR-Packer.spec 21 Sep 2009 17:29:29 -0000 1.3 @@ -1,11 +1,13 @@ Name: perl-PAR-Packer Version: 0.991 -Release: 2%{?dist} +Release: 3%{?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/S/SM/SMUELLER/PAR-Packer-%{version}.tar.gz +Patch0: perl-PAR-Packer-cflags.patch +Patch1: perl-PAR-Packer-open.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(Archive::Zip) >= 1 BuildRequires: perl(Compress::Zlib) >= 1.3 @@ -23,10 +25,14 @@ stand-alone executables, perl scripts an %prep %setup -q -n PAR-Packer-%{version} +%patch0 -p1 -b.cflags +%patch1 -p1 -b.open %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" -make +# 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 @@ -40,7 +46,10 @@ find $RPM_BUILD_ROOT -depth -type d -exe %{_fixperms} $RPM_BUILD_ROOT/* %check -#make test +export PAR_GLOBAL_TEMP=/var/tmp +export PAR_GLOBAL_TMPDIR=/var/tmp +## does not pass +# make test PERL_TEST_POD=1 || : %clean rm -rf $RPM_BUILD_ROOT @@ -48,7 +57,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog README TODO -/usr/lib/perl5/vendor_perl/5.10.0/* +%{perl_vendorlib}/* %{_bindir}/par.pl %{_bindir}/parl %{_bindir}/parldyn @@ -58,6 +67,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Mon Sep 21 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 0.991-3 +- patch to use $RPM_OPT_FLAGS +- patch to submit the third parameter to open() + * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.991-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list