commit f878f261e42fe7c4f264fb11d09fe926b708b736
Author: Petr Písař <ppisar(a)redhat.com>
Date: Wed Apr 3 10:05:02 2013 +0200
1.48 bump
.gitignore | 1 +
perl-Filter.spec | 23 +++++++++++++----------
sources | 2 +-
3 files changed, 15 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9956532..3622934 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/Filter-1.39.tar.gz
/Filter-1.43.tar.gz
/Filter-1.45.tar.gz
+/Filter-1.48.tar.gz
diff --git a/perl-Filter.spec b/perl-Filter.spec
index e407c6d..7ccbbce 100644
--- a/perl-Filter.spec
+++ b/perl-Filter.spec
@@ -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(a)redhat.com> - 1.48-1
+- 1.48 bump
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.45-5
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/sources b/sources
index 5da2382..e90af31 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8c00f87bc872754a691719fa655f0167 Filter-1.45.tar.gz
+ab4be41bb08c7efcd9f3d47cc58ea05b Filter-1.48.tar.gz