commit a607d9daf429e6822c1ebf22316004f257d7c1d3 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Tue Sep 14 18:39:20 2010 +0200 1.63 bump .gitignore | 1 + perl-Devel-CheckOS-dontask.patch | 44 -------------------------------------- perl-Devel-CheckOS.spec | 23 ++++++++++++++----- sources | 2 +- 4 files changed, 19 insertions(+), 51 deletions(-) --- diff --git a/.gitignore b/.gitignore index b79cf29..5b2f2c2 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Devel-CheckOS-1.50.tar.gz +/Devel-CheckOS-1.63.tar.gz diff --git a/perl-Devel-CheckOS.spec b/perl-Devel-CheckOS.spec index ed791f6..cc60ea3 100644 --- a/perl-Devel-CheckOS.spec +++ b/perl-Devel-CheckOS.spec @@ -1,22 +1,29 @@ Name: perl-Devel-CheckOS -Version: 1.50 -Release: 7%{?dist} +Version: 1.63 +Release: 1%{?dist} Summary: Check what OS we're running on License: GPLv2 or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Devel-CheckOS/ Source0: http://www.cpan.org/authors/id/D/DC/DCANTRELL/Devel-CheckOS-%{version}.tar.gz -Patch0: perl-Devel-CheckOS-dontask.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Find::Rule) >= 0.28 BuildRequires: perl(Test::More) >= 0.62 +# Tests only: +BuildRequires: perl(Data::Compare) >= 1.21 +BuildRequires: perl(File::Temp) >= 0.19 +BuildRequires: perl(Test::More) >= 0.62 +BuildRequires: perl(Test::Pod) >= 1.00 +Requires: perl(Data::Compare) >= 1.21 Requires: perl(File::Find::Rule) >= 0.28 -Requires: perl(Test::More) >= 0.62 -Requires: perl(Data::Compare) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# Remove unversioned requires +%filter_from_requires /perl(Data::Compare)$/d /perl(File::Find::Rule)$/d +%filter_setup + %description Devel::CheckOS provides a more friendly interface to $^O, and also lets you check for various OS "families" such as "Unix", which includes things like @@ -24,7 +31,6 @@ Linux, Solaris, AIX etc. %prep %setup -q -n Devel-CheckOS-%{version} -%patch0 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -61,6 +67,11 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Tue Sep 14 2010 Petr Pisar <ppisar@xxxxxxxxxx> - 1.63-1 +- 1.63 bump +- Remove `dontask' patch as interactive code is not run anymore +- Add versioned Requires, filter unversioned ones out + * Fri Apr 30 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 1.50-7 - Mass rebuild with perl-5.12.0 diff --git a/sources b/sources index 5b60fc9..d537825 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -78f4fb75af0fef9ae7b974285e03f8a3 Devel-CheckOS-1.50.tar.gz +c6a555cb7c289b70642e7b573d9acdee Devel-CheckOS-1.63.tar.gz -- 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