|
|
aab7ba |
%{?scl:%scl_package perl-Package-Generator}
|
|
|
aab7ba |
|
|
|
aab7ba |
# Run extra test
|
|
|
aab7ba |
%bcond_without perl_Package_Generator_enables_extra_test
|
|
|
aab7ba |
|
|
|
aab7ba |
Name: %{?scl_prefix}perl-Package-Generator
|
|
|
aab7ba |
Version: 1.106
|
|
|
aab7ba |
Release: 12%{?dist}
|
|
|
aab7ba |
Summary: Generate new packages quickly and easily
|
|
|
aab7ba |
License: GPL+ or Artistic
|
|
|
aab7ba |
Group: Development/Libraries
|
|
|
aab7ba |
URL: http://search.cpan.org/dist/Package-Generator/
|
|
|
aab7ba |
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Package-Generator-%{version}.tar.gz
|
|
|
aab7ba |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|
|
aab7ba |
BuildArch: noarch
|
|
|
aab7ba |
# Module Build
|
|
|
aab7ba |
BuildRequires: %{?scl_prefix}perl-generators
|
|
|
aab7ba |
BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
aab7ba |
# Module
|
|
|
aab7ba |
BuildRequires: %{?scl_prefix}perl(Carp)
|
|
|
aab7ba |
BuildRequires: %{?scl_prefix}perl(Scalar::Util)
|
|
|
aab7ba |
# Test Suite
|
|
|
aab7ba |
BuildRequires: %{?scl_prefix}perl(Params::Util) >= 0.11
|
|
|
aab7ba |
BuildRequires: %{?scl_prefix}perl(Test::More) >= 0.47
|
|
|
aab7ba |
%if %{with perl_Package_Generator_enables_extra_test}
|
|
|
aab7ba |
# Extra Tests
|
|
|
aab7ba |
BuildRequires: %{?scl_prefix}perl(Test::Pod)
|
|
|
aab7ba |
%endif
|
|
|
aab7ba |
# Runtime
|
|
|
aab7ba |
Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
|
|
|
aab7ba |
|
|
|
aab7ba |
%description
|
|
|
aab7ba |
This module lets you quickly and easily construct new packages. It gives
|
|
|
aab7ba |
them unused names and sets up their package data, if provided.
|
|
|
aab7ba |
|
|
|
aab7ba |
%prep
|
|
|
aab7ba |
%setup -q -n Package-Generator-%{version}
|
|
|
aab7ba |
|
|
|
aab7ba |
%build
|
|
|
aab7ba |
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'}
|
|
|
aab7ba |
|
|
|
aab7ba |
%install
|
|
|
aab7ba |
rm -rf %{buildroot}
|
|
|
aab7ba |
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=%{buildroot}%{?scl:'}
|
|
|
aab7ba |
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
aab7ba |
%{_fixperms} %{buildroot}
|
|
|
aab7ba |
|
|
|
aab7ba |
%check
|
|
|
aab7ba |
%{?scl:scl enable %{scl} '}make test%{?scl:'}
|
|
|
aab7ba |
%if %{with perl_Package_Generator_enables_extra_test}
|
|
|
aab7ba |
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
|
|
|
aab7ba |
%endif
|
|
|
aab7ba |
|
|
|
aab7ba |
%clean
|
|
|
aab7ba |
rm -rf %{buildroot}
|
|
|
aab7ba |
|
|
|
aab7ba |
%files
|
|
|
aab7ba |
%doc Changes LICENSE README
|
|
|
aab7ba |
%{perl_vendorlib}/Package/
|
|
|
aab7ba |
%{_mandir}/man3/Package::Generator.3pm*
|
|
|
aab7ba |
%{_mandir}/man3/Package::Reaper.3pm*
|
|
|
aab7ba |
|
|
|
aab7ba |
%changelog
|
|
|
aab7ba |
* Wed Dec 20 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.106-12
|
|
|
aab7ba |
- Remove unused patch
|
|
|
aab7ba |
|
|
|
aab7ba |
* Mon Dec 18 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.106-11
|
|
|
aab7ba |
- SCL
|
|
|
aab7ba |
|
|
|
aab7ba |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.106-10
|
|
|
aab7ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
aab7ba |
|
|
|
aab7ba |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.106-9
|
|
|
aab7ba |
- Perl 5.26 rebuild
|
|
|
aab7ba |
|
|
|
aab7ba |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.106-8
|
|
|
aab7ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
aab7ba |
|
|
|
aab7ba |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.106-7
|
|
|
aab7ba |
- Perl 5.24 rebuild
|
|
|
aab7ba |
|
|
|
aab7ba |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.106-6
|
|
|
aab7ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
aab7ba |
|
|
|
aab7ba |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.106-5
|
|
|
aab7ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
aab7ba |
|
|
|
aab7ba |
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.106-4
|
|
|
aab7ba |
- Perl 5.22 rebuild
|
|
|
aab7ba |
|
|
|
aab7ba |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.106-3
|
|
|
aab7ba |
- Perl 5.20 rebuild
|
|
|
aab7ba |
|
|
|
aab7ba |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.106-2
|
|
|
aab7ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
aab7ba |
|
|
|
aab7ba |
* Sun Dec 29 2013 Paul Howarth <paul@city-fan.org> - 1.106-1
|
|
|
aab7ba |
- Update to 1.106
|
|
|
aab7ba |
- Update github links
|
|
|
aab7ba |
- Typo fix
|
|
|
aab7ba |
- Update patch for building with Test::More < 0.88
|
|
|
aab7ba |
|
|
|
aab7ba |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.105-3
|
|
|
aab7ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
aab7ba |
|
|
|
aab7ba |
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.105-2
|
|
|
aab7ba |
- Perl 5.18 rebuild
|
|
|
aab7ba |
|
|
|
aab7ba |
* Mon Jul 8 2013 Paul Howarth <paul@city-fan.org> - 1.105-1
|
|
|
aab7ba |
- Update to 1.105
|
|
|
aab7ba |
- Repackage, update bug tracker
|
|
|
aab7ba |
- Drop pod tests
|
|
|
aab7ba |
- Add patch to support building with Test::More < 0.88
|
|
|
aab7ba |
- Classify buildreqs by usage
|
|
|
aab7ba |
- Explicitly run the extra tests
|
|
|
aab7ba |
|
|
|
aab7ba |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-15
|
|
|
aab7ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
aab7ba |
|
|
|
aab7ba |
* Fri Aug 24 2012 Paul Howarth <paul@city-fan.org> - 0.103-14
|
|
|
aab7ba |
- Drop EPEL-4 support
|
|
|
aab7ba |
- Drop %%defattr, redundant since rpm 4.4
|
|
|
aab7ba |
- Don't need to remove empty directories from the buildroot
|
|
|
aab7ba |
- BR: perl(File::Spec)
|
|
|
aab7ba |
|
|
|
aab7ba |
* Tue Aug 14 2012 Petr Pisar <ppisar@redhat.com> - 0.103-13
|
|
|
aab7ba |
- Specify all dependencies
|
|
|
aab7ba |
- Package LICENSE
|
|
|
aab7ba |
|
|
|
aab7ba |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-12
|
|
|
aab7ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
aab7ba |
|
|
|
aab7ba |
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 0.103-11
|
|
|
aab7ba |
- Perl 5.16 re-rebuild of bootstrapped packages
|
|
|
aab7ba |
|
|
|
aab7ba |
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.103-10
|
|
|
aab7ba |
- Perl 5.16 rebuild
|
|
|
aab7ba |
|
|
|
aab7ba |
* Tue Feb 7 2012 Paul Howarth <paul@city-fan.org> - 0.103-9
|
|
|
aab7ba |
- Don't BR: perl(Test::Perl::Critic) if we're bootstrapping
|
|
|
aab7ba |
|
|
|
aab7ba |
* Wed Feb 1 2012 Paul Howarth <paul@city-fan.org> - 0.103-8
|
|
|
aab7ba |
- Run Perl::Critic test in %%check too
|
|
|
aab7ba |
- BR: perl(Test::Perl::Critic)
|
|
|
aab7ba |
- BR: perl(Carp) and perl(Symbol), which might be dual-lived
|
|
|
aab7ba |
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
|
|
aab7ba |
- Drop version requirement for perl(ExtUtils::MakeMaker); older versions work
|
|
|
aab7ba |
without problems, e.g. version 6.17 on EL-4
|
|
|
aab7ba |
- Make %%files list more explicit
|
|
|
aab7ba |
- Don't use macros for commands
|
|
|
aab7ba |
- Use tabs
|
|
|
aab7ba |
|
|
|
aab7ba |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-7
|
|
|
aab7ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
aab7ba |
|
|
|
aab7ba |
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.103-6
|
|
|
aab7ba |
- Perl mass rebuild
|
|
|
aab7ba |
|
|
|
aab7ba |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-5
|
|
|
aab7ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
aab7ba |
|
|
|
aab7ba |
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.103-4
|
|
|
aab7ba |
- Rebuild to fix problems with vendorarch/lib (#661697)
|
|
|
aab7ba |
|
|
|
aab7ba |
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.103-3
|
|
|
aab7ba |
- Mass rebuild with perl-5.12.0
|
|
|
aab7ba |
|
|
|
aab7ba |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.103-2
|
|
|
aab7ba |
- Rebuild against perl 5.10.1
|
|
|
aab7ba |
|
|
|
aab7ba |
* Tue Aug 11 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.103-1
|
|
|
aab7ba |
- Auto-update to 0.103 (by cpan-spec-update 0.01)
|
|
|
aab7ba |
- Added a new br on perl(ExtUtils::MakeMaker) (version 6.42)
|
|
|
aab7ba |
|
|
|
aab7ba |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.102-4
|
|
|
aab7ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
aab7ba |
|
|
|
aab7ba |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.102-3
|
|
|
aab7ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
aab7ba |
|
|
|
aab7ba |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.102-2
|
|
|
aab7ba |
- Rebuild for perl 5.10 (again)
|
|
|
aab7ba |
|
|
|
aab7ba |
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.102-1
|
|
|
aab7ba |
- Rebuild for new perl
|
|
|
aab7ba |
- Update to 0.102
|
|
|
aab7ba |
- Fix license tag
|
|
|
aab7ba |
|
|
|
aab7ba |
* Wed Sep 06 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.100-2
|
|
|
aab7ba |
- Bump
|
|
|
aab7ba |
|
|
|
aab7ba |
* Tue Sep 05 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.100-1
|
|
|
aab7ba |
- Specfile autogenerated by cpanspec 1.69.1
|