commit 3fd60e6da86a5c9fe3236e087881a2f6f03101ff Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Mon Jan 28 10:56:00 2013 +0100 1.71 bump .gitignore | 1 + perl-Devel-CheckOS.spec | 53 ++++++++++++++++++++++------------------------ sources | 2 +- 3 files changed, 27 insertions(+), 29 deletions(-) --- diff --git a/.gitignore b/.gitignore index 479e644..05e202a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ Devel-CheckOS-1.50.tar.gz /Devel-CheckOS-1.63.tar.gz /Devel-CheckOS-1.64.tar.gz +/Devel-CheckOS-1.71.tar.gz diff --git a/perl-Devel-CheckOS.spec b/perl-Devel-CheckOS.spec index 818ddcb..eea6c75 100644 --- a/perl-Devel-CheckOS.spec +++ b/perl-Devel-CheckOS.spec @@ -1,71 +1,68 @@ Name: perl-Devel-CheckOS -Version: 1.64 -Release: 7%{?dist} +Version: 1.71 +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 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch +BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(File::Find::Rule) >= 0.28 -BuildRequires: perl(Test::More) >= 0.62 -# Tests only: +BuildRequires: perl(File::Spec) +BuildRequires: perl(lib) +BuildRequires: perl(strict) +# Run-time: BuildRequires: perl(Data::Compare) >= 1.21 +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Find::Rule) >= 0.28 +BuildRequires: perl(vars) +# Tests: +BuildRequires: perl(Cwd) BuildRequires: perl(File::Temp) >= 0.19 BuildRequires: perl(Test::More) >= 0.62 +# Optional tests: BuildRequires: perl(Test::Pod) >= 1.00 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Data::Compare) >= 1.21 Requires: perl(File::Find::Rule) >= 0.28 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # Remove unversioned requires -# RPM 4.8 style -%filter_from_requires /perl(Data::Compare)$/d /perl(File::Find::Rule)$/d -%filter_setup -# RPM 4.9 style -%global __requires_exclude %{?__requires_exclude:__requires_exclude|}perl\\(Data::Compare\\)$ -%global __requires_exclude %__requires_exclude|perl\\(File::Find::Rule\\)$ +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Data::Compare\\)$ +%global __requires_exclude %__requires_exclude|^perl\\(File::Find::Rule\\)$ %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 -Linux, Solaris, AIX etc. +check for various OS families such as Unix, which includes things like Linux, +*BSD, AIX, HPUX, Solaris etc. %prep %setup -q -n Devel-CheckOS-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor 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 -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} $RPM_BUILD_ROOT/* -# delete wrong tests, which breaks succesful build -# this wasn't written whole -rm -rf t/50-script.t -# this is testing installation, which can't pass -rm -rf t/XX-autodetected-linux-as-Y.t - %check make test %files -%defattr(-,root,root,-) -%doc ARTISTIC.txt CHANGES GPL2.txt README TODO +%doc ARTISTIC.txt CHANGELOG GPL2.txt README TODO %{_bindir}/use-devel-assertos %{perl_vendorlib}/* %{_mandir}/man1/use-devel-assertos.1.gz %{_mandir}/man3/* %changelog +* Mon Jan 28 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 1.71-1 +- 1.71 bump + * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.64-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild diff --git a/sources b/sources index 19803e9..7a7ab4a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -458d93207c4feaf2fbdcb14962be82e4 Devel-CheckOS-1.64.tar.gz +a7e007e1107533c2f265abdb2cf829c4 Devel-CheckOS-1.71.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