commit 31357b25ccb38a1241d29657cc41104a6a07ea0c Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Fri Oct 24 17:00:02 2014 +0200 Filter out private modules properly (#1155085) perl-Class-XSAccessor.spec | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) --- diff --git a/perl-Class-XSAccessor.spec b/perl-Class-XSAccessor.spec index 09854f3..6a720fb 100644 --- a/perl-Class-XSAccessor.spec +++ b/perl-Class-XSAccessor.spec @@ -1,6 +1,6 @@ Name: perl-Class-XSAccessor Version: 1.19 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Generate fast XS accessors without run-time compilation License: GPL+ or Artistic Group: Development/Libraries @@ -35,6 +35,15 @@ internal representation. %prep %setup -q -n Class-XSAccessor-%{version} +%if 0%{?rhel}%{?fedora} < 7 +cat << \EOF > %{name}-req +#!/bin/sh +%{__perl_requires} $* |\ +sed -e '/perl(Class::XSAccessor::Heavy)/d' +EOF +%global __perl_requires %{_builddir}/Class-XSAccessor-%{version}/%{name}-req +chmod +x %{__perl_requires} +%endif %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" @@ -56,6 +65,9 @@ make test %{_mandir}/man3/Class::* %changelog +* Fri Oct 24 2014 Petr Šabata <contyk@xxxxxxxxxx> - 1.19-5 +- Filter out private modules properly (#1155085) + * Tue Aug 26 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.19-4 - Perl 5.20 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