Update to 1.23

- New upstream release 1.23
  - Silence "Statement unlikely to be reached" warning
  - Repository information fix, and typo fixes
  - Converted to using dzil
- Specify all dependencies
- Don't need to remove empty directories from the buildroot
- Restore EL-5 compatibility
This commit is contained in:
Paul Howarth 2013-10-09 16:44:15 +01:00
parent b935bce506
commit f62ffa171e
3 changed files with 29 additions and 13 deletions

3
.gitignore vendored
View File

@ -1,2 +1 @@
IPC-System-Simple-1.18.tar.gz
/IPC-System-Simple-1.21.tar.gz
/IPC-System-Simple-[0-9.]*.tar.gz

View File

@ -1,30 +1,35 @@
Name: perl-IPC-System-Simple
Version: 1.21
Release: 8%{?dist}
Version: 1.23
Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Summary: Run commands simply, with detailed diagnostics
Url: http://search.cpan.org/dist/IPC-System-Simple
Source: http://search.cpan.org/CPAN/authors/id/P/PJ/PJF/IPC-System-Simple-%{version}.tar.gz
URL: http://search.cpan.org/dist/IPC-System-Simple
Source0: http://search.cpan.org/CPAN/authors/id/P/PJ/PJF/IPC-System-Simple-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -un)
BuildArch: noarch
BuildRequires: perl(BSD::Resource)
BuildRequires: perl(Carp)
BuildRequires: perl(Config)
BuildRequires: perl(constant)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Spec)
BuildRequires: perl(List::Util)
BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(POSIX)
BuildRequires: perl(re)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(strict)
BuildRequires: perl(Test)
BuildRequires: perl(Test::Kwalitee)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::NoWarnings)
BuildRequires: perl(Test::Perl::Critic)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
Calling Perl's in-built 'system()' function is easy; determining if it
@ -50,13 +55,16 @@ perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
%{_fixperms} %{buildroot}
%check
make test TEST_AUTHOR=1
make test TEST_AUTHOR=1 AUTHOR_TESTING=1 RELEASE_TESTING=1
%clean
rm -rf %{buildroot}
%files
%doc Changes LICENSE README examples/
@ -64,6 +72,15 @@ make test TEST_AUTHOR=1
%{_mandir}/man3/IPC::System::Simple.3pm*
%changelog
* Wed Oct 9 2013 Paul Howarth <paul@city-fan.org> - 1.23-1
- Update to 1.23
- Silence "Statement unlikely to be reached" warning
- Repository information fix, and typo fixes
- Converted to using dzil
- Specify all dependencies
- Don't need to remove empty directories from the buildroot
- Restore EL-5 compatibility
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

View File

@ -1 +1 @@
8215b62fe1b8447b99e17861e2255288 IPC-System-Simple-1.21.tar.gz
9e8c9ad98aa04b39eb27f850eae700ad IPC-System-Simple-1.23.tar.gz