1.48 bump

This commit is contained in:
Petr Písař 2013-04-03 10:05:02 +02:00
parent e2bed9ba47
commit f878f261e4
3 changed files with 15 additions and 11 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/Filter-1.39.tar.gz
/Filter-1.43.tar.gz
/Filter-1.45.tar.gz
/Filter-1.48.tar.gz

View File

@ -1,17 +1,22 @@
Name: perl-Filter
Version: 1.45
Release: 5%{?dist}
Version: 1.48
Release: 1%{?dist}
Summary: Perl source filters
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Filter/
Source0: http://www.cpan.org/modules/by-module/Filter/Filter-%{version}.tar.gz
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(strict)
# Run-time
BuildRequires: perl(Carp)
BuildRequires: perl(Config)
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Tests
BuildRequires: perl(Cwd)
# Optional tests
@ -19,7 +24,7 @@ BuildRequires: perl(Test::More)
%if !%{defined perl_bootstrap}
BuildRequires: perl(Test::Pod) >= 1.00
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
@ -35,17 +40,14 @@ find examples -type f -exec chmod -x -- {} +
sed -i -e '1 s|.*|#!%{__perl}|' examples/filtdef
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$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' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
# Clean examples
find examples -name '*.bak' -exec rm -f {} +
%check
make test
@ -54,11 +56,12 @@ make test
%doc examples Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Filter*
%{perl_vendorarch}/filter-util.pl
%{perl_vendorarch}/perlfilter.pod
%{_mandir}/man3/*
%changelog
* Wed Apr 03 2013 Petr Pisar <ppisar@redhat.com> - 1.48-1
- 1.48 bump
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.45-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

View File

@ -1 +1 @@
8c00f87bc872754a691719fa655f0167 Filter-1.45.tar.gz
ab4be41bb08c7efcd9f3d47cc58ea05b Filter-1.48.tar.gz