|
|
8ca3e9 |
%{?scl:%scl_package perl-version}
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
Name: %{?scl_prefix}perl-version
|
|
|
8ca3e9 |
Epoch: 4
|
|
|
8ca3e9 |
Version: 0.99.09
|
|
|
8ca3e9 |
%global module_version 0.9909
|
|
|
8ca3e9 |
Release: 3%{?dist}
|
|
|
8ca3e9 |
Summary: Perl extension for Version Objects
|
|
|
8ca3e9 |
License: GPL+ or Artistic
|
|
|
8ca3e9 |
Group: Development/Libraries
|
|
|
8ca3e9 |
URL: http://search.cpan.org/dist/version/
|
|
|
8ca3e9 |
Source0: http://www.cpan.org/authors/id/J/JP/JPEACOCK/version-%{module_version}.tar.gz
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(B)
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(base)
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(Carp)
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(Config)
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(constant)
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(Data::Dumper)
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(ExtUtils::CBuilder)
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker)
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(File::Basename)
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(File::Temp) >= 0.13
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(if)
|
|
|
8ca3e9 |
# IO::Handle is optional
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(lib)
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(List::Util)
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(locale)
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(overload)
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(parent)
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(POSIX)
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(strict)
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(Test::Harness)
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(Test::More) >= 0.45
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(UNIVERSAL)
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(vars)
|
|
|
8ca3e9 |
BuildRequires: %{?scl_prefix}perl(XSLoader)
|
|
|
8ca3e9 |
Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
|
|
|
8ca3e9 |
Requires: %{?scl_prefix}perl(B)
|
|
|
8ca3e9 |
Requires: %{?scl_prefix}perl(Carp)
|
|
|
8ca3e9 |
Requires: %{?scl_prefix}perl(UNIVERSAL)
|
|
|
8ca3e9 |
Requires: %{?scl_prefix}perl(XSLoader)
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
%{?perl_default_filter}
|
|
|
8ca3e9 |
# RPM 4.8 style
|
|
|
8ca3e9 |
%{?filter_setup:
|
|
|
8ca3e9 |
%filter_from_provides /^%{?scl_prefix}perl(version::vxs)/d
|
|
|
8ca3e9 |
%?perl_default_filter
|
|
|
8ca3e9 |
}
|
|
|
8ca3e9 |
# RPM 4.9 style
|
|
|
8ca3e9 |
# version::vxs is private module (see bug #633775)
|
|
|
8ca3e9 |
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(version::vxs\\)
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
%description
|
|
|
8ca3e9 |
Version objects were added to Perl in 5.10. This module implements version
|
|
|
8ca3e9 |
objects for older version of Perl and provides the version object API for
|
|
|
8ca3e9 |
all versions of Perl. All previous releases before 0.74 are deprecated and
|
|
|
8ca3e9 |
should not be used due to incompatible API changes. Version 0.77 introduces
|
|
|
8ca3e9 |
the new 'parse' and 'declare' methods to standardize usage. You are
|
|
|
8ca3e9 |
strongly urged to set 0.77 as a minimum in your code.
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
%prep
|
|
|
8ca3e9 |
%setup -q -n version-%{module_version}
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
%build
|
|
|
8ca3e9 |
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" && make %{?_smp_mflags}%{?scl:'}
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
%install
|
|
|
8ca3e9 |
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=%{buildroot}%{?scl:'}
|
|
|
8ca3e9 |
find %{buildroot} -type f -name .packlist -exec rm -f {} +
|
|
|
8ca3e9 |
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
|
|
|
8ca3e9 |
%{_fixperms} %{buildroot}/*
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
%check
|
|
|
8ca3e9 |
%{?scl:scl enable %{scl} '}make test%{?scl:'}
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
%files
|
|
|
8ca3e9 |
%doc Changes README
|
|
|
8ca3e9 |
%doc %{perl_vendorarch}/version.pod
|
|
|
8ca3e9 |
%dir %{perl_vendorarch}/version/
|
|
|
8ca3e9 |
%doc %{perl_vendorarch}/version/Internals.pod
|
|
|
8ca3e9 |
%{perl_vendorarch}/auto/version/
|
|
|
8ca3e9 |
%{perl_vendorarch}/version.pm
|
|
|
8ca3e9 |
%{perl_vendorarch}/version/vpp.pm
|
|
|
8ca3e9 |
%{perl_vendorarch}/version/vxs.pm
|
|
|
8ca3e9 |
%{perl_vendorarch}/version/regex.pm
|
|
|
8ca3e9 |
%{_mandir}/man3/version.3pm*
|
|
|
8ca3e9 |
%{_mandir}/man3/version::Internals.3pm*
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
%changelog
|
|
|
8ca3e9 |
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 4:0.99.09-3
|
|
|
8ca3e9 |
- Increase Epoch to favour standalone package
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3:0.99.09-2
|
|
|
8ca3e9 |
- Perl 5.20 rebuild
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Wed Aug 20 2014 Petr Šabata <contyk@redhat.com> - 3:0.99.09-1
|
|
|
8ca3e9 |
- 0.9909 bump
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:0.99.08-3
|
|
|
8ca3e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:0.99.08-2
|
|
|
8ca3e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Thu Feb 27 2014 Petr Šabata <contyk@redhat.com> - 3:0.99.08-1
|
|
|
8ca3e9 |
- 0.9908 bump
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Mon Jan 27 2014 Petr Pisar <ppisar@redhat.com> - 3:0.99.07-2
|
|
|
8ca3e9 |
- Specify all dependencies
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Wed Jan 15 2014 Petr Šabata <contyk@redhat.com> - 3:0.99.07-1
|
|
|
8ca3e9 |
- 0.9907 bugfix bump
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Tue Jan 07 2014 Petr Šabata <contyk@redhat.com> - 3:0.99.06-1
|
|
|
8ca3e9 |
- 0.9906 bump
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Tue Sep 10 2013 Petr Šabata <contyk@redhat.com> - 3:0.99.04-2
|
|
|
8ca3e9 |
- Release bump to (hopefully) fix the build
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Tue Sep 10 2013 Petr Šabata <contyk@redhat.com> - 3:0.99.04-1
|
|
|
8ca3e9 |
- 0.9904 bump
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Mon Aug 26 2013 Petr Šabata <contyk@redhat.com> - 3:0.99.03-1
|
|
|
8ca3e9 |
- 0.9903 bump
|
|
|
8ca3e9 |
- Prefer %%global over %%define
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:0.99.02-291
|
|
|
8ca3e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 3:0.99.02-290
|
|
|
8ca3e9 |
- Increase release to favour standalone package
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 3:0.99.02-3
|
|
|
8ca3e9 |
- Perl 5.18 rebuild
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Tue Jul 02 2013 Jitka Plesnikova <jplesnik@redhat.com> - 3:0.99.02-2
|
|
|
8ca3e9 |
- Specify all dependencies
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Thu Mar 7 2013 Jitka Plesnikova <jplesnik@redhat.com> - 3:0.99.02-1
|
|
|
8ca3e9 |
- 0.9902 bump
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:0.99.01-2
|
|
|
8ca3e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Mon Sep 17 2012 Jitka Plesnikova <jplesnik@redhat.com> - 3:0.99.01-1
|
|
|
8ca3e9 |
- 0.9901 bump
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Tue Aug 28 2012 Jitka Plesnikova <jplesnik@redhat.com> - 3:0.99-241
|
|
|
8ca3e9 |
- Add test BR perl(Test::Harness)
|
|
|
8ca3e9 |
- Remove %%defattr
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Fri Aug 17 2012 Petr Pisar <ppisar@redhat.com> - 3:0.99-240
|
|
|
8ca3e9 |
- Increase release to replace perl sub-package (bug #848961)
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Fri Aug 17 2012 Petr Pisar <ppisar@redhat.com> - 3:0.99-1
|
|
|
8ca3e9 |
- 0.99 bump
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:0.88-10
|
|
|
8ca3e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 3:0.88-9
|
|
|
8ca3e9 |
- Perl 5.16 rebuild
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Thu May 31 2012 Petr Pisar <ppisar@redhat.com> - 3:0.88-8
|
|
|
8ca3e9 |
- Fix dependencies
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:0.88-7
|
|
|
8ca3e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Tue Aug 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3:0.88-6
|
|
|
8ca3e9 |
- change path on vendor, so our debuginfo are not conflicting with
|
|
|
8ca3e9 |
perl core debuginfos
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Sun Jul 24 2011 Iain Arnell <iarnell@gmail.com> 3:0.88-5
|
|
|
8ca3e9 |
- update filtering for rpm 4.9
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3:0.88-4
|
|
|
8ca3e9 |
- Perl mass rebuild
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Fri Apr 08 2011 Petr Pisar <ppisar@redhat.com> - 3:0.88-3
|
|
|
8ca3e9 |
- Unexport private version::vxs module (bug #633775)
|
|
|
8ca3e9 |
- Remove BuildRoot stuff
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:0.88-2
|
|
|
8ca3e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Wed Jan 26 2011 Paul Howarth <paul@city-fan.org> 3:0.88-1
|
|
|
8ca3e9 |
- Update to 0.88
|
|
|
8ca3e9 |
- Revert to Makefile.PL flow as upstream dropped Build.PL to avoid circular
|
|
|
8ca3e9 |
dependencies
|
|
|
8ca3e9 |
- Install into perl directories rather than vendor directories
|
|
|
8ca3e9 |
- Mark Pod files as %%doc
|
|
|
8ca3e9 |
|
|
|
8ca3e9 |
* Tue Mar 09 2010 Marcela Mašláňová <mmaslano@redhat.com> 3:0.82-1
|
|
|
8ca3e9 |
- Specfile autogenerated by cpanspec 1.78.
|