139 lines
4.7 KiB
RPMSpec
139 lines
4.7 KiB
RPMSpec
Name: perl-Perl-Version
|
|
Version: 1.013
|
|
Release: 9%{?dist}
|
|
Summary: Parse and manipulate Perl version strings
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/Perl-Version/
|
|
Source0: http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Perl-Version-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: perl-generators
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(Carp)
|
|
BuildRequires: perl(constant)
|
|
BuildRequires: perl(overload)
|
|
BuildRequires: perl(Scalar::Util)
|
|
BuildRequires: perl(strict)
|
|
BuildRequires: perl(warnings)
|
|
# Tests
|
|
BuildRequires: perl(Data::Dumper)
|
|
BuildRequires: perl(File::Path)
|
|
BuildRequires: perl(File::Slurp::Tiny)
|
|
BuildRequires: perl(File::Spec)
|
|
BuildRequires: perl(File::Temp)
|
|
BuildRequires: perl(FileHandle)
|
|
BuildRequires: perl(Test::More)
|
|
# Optional tests
|
|
BuildRequires: perl(ExtUtils::Manifest)
|
|
BuildRequires: perl(Test::Pod) >= 1.14
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%description
|
|
Perl::Version provides a simple interface for parsing, manipulating and
|
|
formatting Perl version strings.
|
|
|
|
%prep
|
|
%setup -q -n Perl-Version-%{version}
|
|
|
|
%build
|
|
PERL_MM_USE_DEFAULT=true perl Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%doc Changes Notes.txt README
|
|
%{perl_vendorlib}/*
|
|
%{_bindir}/*
|
|
%{_mandir}/man1/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.013-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.013-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.013-7
|
|
- Perl 5.26 rebuild
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.013-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.013-5
|
|
- Perl 5.24 rebuild
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.013-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.013-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.013-2
|
|
- Perl 5.22 rebuild
|
|
|
|
* Mon Nov 24 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.013-1
|
|
- 1.013 bump; Update BRs
|
|
|
|
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.011-10
|
|
- Perl 5.20 rebuild
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.011-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.011-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 1.011-7
|
|
- Perl 5.18 rebuild
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.011-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.011-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Thu Jun 14 2012 Petr Pisar <ppisar@redhat.com> - 1.011-4
|
|
- Perl 5.16 rebuild
|
|
- Specify all dependencies
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.011-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.011-2
|
|
- Perl mass rebuild
|
|
|
|
* Sat Feb 26 2011 Iain Arnell <iarnell@gmail.com> 1.011-1
|
|
- update to latest upstream version
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.010-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.010-2
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
* Sun Sep 26 2010 Iain Arnell <iarnell@gmail.com> 1.010-1
|
|
- update to latest upstream
|
|
- clean up spec for modern rpmbuild
|
|
|
|
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.009-3
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
* Sun Apr 04 2010 Iain Arnell <iarnell@gmail.com> 1.009-2
|
|
- install perl-reversion script
|
|
|
|
* Fri Apr 02 2010 Iain Arnell <iarnell@gmail.com> 1.009-1
|
|
- Specfile autogenerated by cpanspec 1.78.
|
|
- use perl_default_filter and DESTDIR
|
|
- avoid EU::MM prompt
|