|
|
4c2d5b |
Name: perl-CPAN-DistnameInfo
|
|
|
4c2d5b |
Version: 0.12
|
|
|
4c2d5b |
Release: 23%{?dist}
|
|
|
4c2d5b |
Summary: Extract distribution name and version from a distribution filename
|
|
|
4c2d5b |
License: GPL+ or Artistic
|
|
|
4c2d5b |
URL: https://metacpan.org/release/CPAN-DistnameInfo
|
|
|
4c2d5b |
Source0: https://cpan.metacpan.org/authors/id/G/GB/GBARR/CPAN-DistnameInfo-%{version}.tar.gz
|
|
|
4c2d5b |
BuildArch: noarch
|
|
|
4c2d5b |
BuildRequires: make
|
|
|
4c2d5b |
BuildRequires: perl-generators
|
|
|
4c2d5b |
BuildRequires: perl-interpreter
|
|
|
4c2d5b |
BuildRequires: perl(:VERSION) >= 5.4
|
|
|
4c2d5b |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
4c2d5b |
BuildRequires: perl(strict)
|
|
|
4c2d5b |
BuildRequires: perl(warnings)
|
|
|
4c2d5b |
# Tests:
|
|
|
4c2d5b |
BuildRequires: perl(Data::Dumper)
|
|
|
4c2d5b |
BuildRequires: perl(Test::More)
|
|
|
4c2d5b |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
4c2d5b |
|
|
|
4c2d5b |
%description
|
|
|
4c2d5b |
Many online services that are centered around CPAN attempt to
|
|
|
4c2d5b |
associate multiple uploads by extracting a distribution name from the
|
|
|
4c2d5b |
filename of the upload. For most distributions this is easy as they
|
|
|
4c2d5b |
have used ExtUtils::MakeMaker or Module::Build to create the
|
|
|
4c2d5b |
distribution, which results in a uniform name. But sadly not all
|
|
|
4c2d5b |
uploads are created in this way.
|
|
|
4c2d5b |
|
|
|
4c2d5b |
CPAN::DistnameInfo uses heuristics that have been learnt by
|
|
|
4c2d5b |
http://search.cpan.org/ to extract the distribution name and version
|
|
|
4c2d5b |
from filenames and also report if the version is to be treated as a
|
|
|
4c2d5b |
developer release.
|
|
|
4c2d5b |
|
|
|
4c2d5b |
%prep
|
|
|
4c2d5b |
%setup -q -n CPAN-DistnameInfo-%{version}
|
|
|
4c2d5b |
|
|
|
4c2d5b |
%build
|
|
|
4c2d5b |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
4c2d5b |
%{make_build}
|
|
|
4c2d5b |
|
|
|
4c2d5b |
%install
|
|
|
4c2d5b |
%{make_install}
|
|
|
4c2d5b |
%{_fixperms} $RPM_BUILD_ROOT
|
|
|
4c2d5b |
|
|
|
4c2d5b |
%check
|
|
|
4c2d5b |
make test
|
|
|
4c2d5b |
|
|
|
4c2d5b |
%files
|
|
|
4c2d5b |
%doc Changes README
|
|
|
4c2d5b |
%{perl_vendorlib}/CPAN/
|
|
|
4c2d5b |
%{_mandir}/man3/CPAN::DistnameInfo.3pm*
|
|
|
4c2d5b |
|
|
|
4c2d5b |
%changelog
|
|
|
4c2d5b |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.12-23
|
|
|
4c2d5b |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
4c2d5b |
Related: rhbz#1991688
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.12-22
|
|
|
4c2d5b |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-21
|
|
|
4c2d5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-20
|
|
|
4c2d5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.12-19
|
|
|
4c2d5b |
- Perl 5.32 rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-18
|
|
|
4c2d5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-17
|
|
|
4c2d5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Thu Jul 04 2019 Petr Pisar <ppisar@redhat.com> - 0.12-16
|
|
|
4c2d5b |
- Modernize spec file
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.12-15
|
|
|
4c2d5b |
- Perl 5.30 rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-14
|
|
|
4c2d5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-13
|
|
|
4c2d5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.12-12
|
|
|
4c2d5b |
- Perl 5.28 rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-11
|
|
|
4c2d5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-10
|
|
|
4c2d5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.12-9
|
|
|
4c2d5b |
- Perl 5.26 rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-8
|
|
|
4c2d5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.12-7
|
|
|
4c2d5b |
- Perl 5.24 rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-6
|
|
|
4c2d5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-5
|
|
|
4c2d5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.12-4
|
|
|
4c2d5b |
- Perl 5.22 rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.12-3
|
|
|
4c2d5b |
- Perl 5.20 rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
|
|
|
4c2d5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Wed Oct 2 2013 Paul Howarth <paul@city-fan.org> - 0.12-1
|
|
|
4c2d5b |
- Update to 0.12
|
|
|
4c2d5b |
- Grok dist names ending with something numeric containing underscores
|
|
|
4c2d5b |
- Make %%files list more explicit
|
|
|
4c2d5b |
- Drop %%defattr, redundant since rpm 4.4
|
|
|
4c2d5b |
- Don't need to remove empty directories from the buildroot
|
|
|
4c2d5b |
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
|
|
4c2d5b |
- Don't use macros for commands
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-10
|
|
|
4c2d5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.11-9
|
|
|
4c2d5b |
- Perl 5.18 rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-8
|
|
|
4c2d5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-7
|
|
|
4c2d5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 0.11-6
|
|
|
4c2d5b |
- Perl 5.16 rebuild
|
|
|
4c2d5b |
- Specify all dependencies
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-5
|
|
|
4c2d5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.11-4
|
|
|
4c2d5b |
- Perl mass rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Thu Jun 09 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.11-3
|
|
|
4c2d5b |
- Perl 5.14 mass rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-2
|
|
|
4c2d5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Wed Dec 22 2010 Steven Pritchard <steve@kspei.com> 0.11-1
|
|
|
4c2d5b |
- Update to 0.11.
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.10-2
|
|
|
4c2d5b |
- Rebuild to fix problems with vendorarch/lib (#661697)
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Sun Dec 12 2010 Steven Pritchard <steve@kspei.com> 0.10-1
|
|
|
4c2d5b |
- Update to 0.10.
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.09-2
|
|
|
4c2d5b |
- Mass rebuild with perl-5.12.0
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Sat Feb 13 2010 Steven Pritchard <steve@kspei.com> 0.09-1
|
|
|
4c2d5b |
- Update to 0.09.
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.08-3
|
|
|
4c2d5b |
- rebuild against perl 5.10.1
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-2
|
|
|
4c2d5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Tue May 12 2009 Steven Pritchard <steve@kspei.com> 0.08-1
|
|
|
4c2d5b |
- Update to 0.08.
|
|
|
4c2d5b |
- BR Test::More.
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-2
|
|
|
4c2d5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Wed Jul 02 2008 Steven Pritchard <steve@kspei.com> 0.07-1
|
|
|
4c2d5b |
- Update to 0.07.
|
|
|
4c2d5b |
- Improve Summary.
|
|
|
4c2d5b |
- Drop our copies of COPYING and Artistic.
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.06-4
|
|
|
4c2d5b |
- rebuild for new perl
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 0.06-3
|
|
|
4c2d5b |
- Use fixperms macro instead of our own chmod incantation.
|
|
|
4c2d5b |
- BR ExtUtils::MakeMaker.
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.06-2
|
|
|
4c2d5b |
- Canonicalize Source0 URL.
|
|
|
4c2d5b |
- Fix find option order.
|
|
|
4c2d5b |
|
|
|
4c2d5b |
* Mon Sep 19 2005 Steven Pritchard <steve@kspei.com> 0.06-1
|
|
|
4c2d5b |
- Specfile autogenerated.
|