Name: perl-MooseX-Role-Cmd Version: 0.10 Release: 31%{?dist} Summary: Wrap system command binaries the Moose way License: GPL+ or Artistic URL: https://metacpan.org/release/MooseX-Role-Cmd Source0: https://cpan.metacpan.org/authors/id/E/ED/EDENC/MooseX-Role-Cmd-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl(inc::Module::Install) # Run-time BuildRequires: perl(Carp) BuildRequires: perl(IPC::Cmd) >= 0.42 BuildRequires: perl(Moose::Role) BuildRequires: perl(Moose::Util::TypeConstraints) # Tests BuildRequires: perl(Data::Dumper) BuildRequires: perl(lib) BuildRequires: perl(Moose) >= 0.24 BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description MooseX::Role::Cmd is a Moose role intended to ease the task of building command-line wrapper modules. It automatically maps Moose objects into command strings which are passed to IPC::Cmd. %prep %setup -q -n MooseX-Role-Cmd-%{version} # Unbundle modules rm -rf inc sed -i -e '/^inc$/d' MANIFEST # Filter requires cat << \EOF > %{name}-req #!/bin/sh %{__perl_requires} $* |\ sed -e '/perl(MooseX::Role::Cmd::Meta::Attribute::Trait)/d' EOF %define __perl_requires %{_builddir}/MooseX-Role-Cmd-%{version}/%{name}-req chmod +x %{__perl_requires} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=$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/* %check make test %files %doc Changes %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.10-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.10-30 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.10-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.10-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat May 22 2021 Jitka Plesnikova - 0.10-27 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.10-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.10-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.10-24 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.10-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.10-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.10-21 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.10-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.10-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 0.10-18 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.10-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.10-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 06 2017 Jitka Plesnikova - 0.10-15 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.10-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 0.10-13 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.10-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.10-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jun 08 2015 Jitka Plesnikova - 0.10-10 - Perl 5.22 rebuild * Mon Sep 01 2014 Jitka Plesnikova - 0.10-9 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.10-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.10-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Aug 02 2013 Petr Pisar - 0.10-6 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.10-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 22 2012 Petr Pisar - 0.10-3 - Perl 5.16 rebuild - Specify all dependencies * Fri Jan 13 2012 Fedora Release Engineering - 0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sat Oct 01 2011 Iain Arnell 0.10-1 - update to latest upstream version - clean up spec for modern rpmbuild * Tue Jul 19 2011 Petr Sabata - 0.09-5 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.09-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Dec 21 2010 Marcela Maslanova - 0.09-3 - 661697 rebuild for fixing problems with vendorach/lib * Thu May 13 2010 Ralf Corsépius - 0.09-2 - perl-5.12.0 rebuild. * Thu May 13 2010 Ralf Corsépius - 0.09-1 - Upstream update (Fix perl-5.12.0 build breakdown). - Reflect Source0:-URL having changed. - Update BuildRequires. * Mon May 03 2010 Marcela Maslanova - 0.05-4 - Mass rebuild with perl-5.12.0 * Fri Dec 4 2009 Stepan Kasal - 0.05-3 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 0.05-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Jun 08 2009 Chris Weyl 0.05-1 - auto-update to 0.05 (by cpan-spec-update 0.01) * Thu Feb 26 2009 Fedora Release Engineering - 0.04-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Feb 02 2009 Allisson Azevedo 0.04-1 - initial rpm release.