Blame SPECS/perl-Module-Signature.spec

4bf7e9
Name:           perl-Module-Signature
4bf7e9
Version:        0.73
4bf7e9
Release:        2%{?dist}
4bf7e9
Summary:        CPAN signature management utilities and modules
4bf7e9
Group:          Development/Libraries
4bf7e9
# script/cpansign:  GPL+ or Artistic (bug #965126)
4bf7e9
License:        CC0 and (GPL+ or Artistic)
4bf7e9
URL:            http://search.cpan.org/dist/Module-Signature/
4bf7e9
Source0:        http://search.cpan.org/CPAN/authors/id/A/AU/AUDREYT/Module-Signature-%{version}.tar.gz
4bf7e9
Source1:        AKOENIG.pub
4bf7e9
BuildArch:      noarch
4bf7e9
# Module build
4bf7e9
BuildRequires:  perl
4bf7e9
BuildRequires:  perl(base)
4bf7e9
BuildRequires:  perl(Config)
4bf7e9
BuildRequires:  perl(Cwd)
4bf7e9
BuildRequires:  perl(ExtUtils::MakeMaker)
4bf7e9
BuildRequires:  perl(ExtUtils::MM_Unix)
4bf7e9
BuildRequires:  perl(Fcntl)
4bf7e9
BuildRequires:  perl(File::Find)
4bf7e9
BuildRequires:  perl(FindBin)
4bf7e9
BuildRequires:  perl(strict)
4bf7e9
BuildRequires:  perl(vars)
4bf7e9
BuildRequires:  perl(warnings)
4bf7e9
# Module runtime
4bf7e9
BuildRequires:  gnupg
4bf7e9
BuildRequires:  perl(constant)
4bf7e9
BuildRequires:  perl(Digest::SHA)
4bf7e9
BuildRequires:  perl(Digest::SHA1)
4bf7e9
BuildRequires:  perl(Exporter)
4bf7e9
BuildRequires:  perl(ExtUtils::Manifest)
4bf7e9
BuildRequires:  perl(File::Spec)
4bf7e9
BuildRequires:  perl(IO::Socket::INET)
4bf7e9
BuildRequires:  perl(Text::Diff)
4bf7e9
# Test suite
4bf7e9
BuildRequires:  perl(Data::Dumper)
4bf7e9
BuildRequires:  perl(File::Basename)
4bf7e9
BuildRequires:  perl(File::Path)
4bf7e9
BuildRequires:  perl(Getopt::Long)
4bf7e9
BuildRequires:  perl(IPC::Run)
4bf7e9
BuildRequires:  perl(lib)
4bf7e9
BuildRequires:  perl(Pod::Usage)
4bf7e9
BuildRequires:  perl(Test::More)
4bf7e9
# Module runtime
4bf7e9
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
4bf7e9
Requires:       gnupg
4bf7e9
Requires:       perl(Digest::SHA)
4bf7e9
Requires:       perl(Digest::SHA1)
4bf7e9
Requires:       perl(IO::Socket::INET)
4bf7e9
Requires:       perl(PAR::Dist)
4bf7e9
Requires:       perl(Text::Diff)
4bf7e9
4bf7e9
%description
4bf7e9
This package contains a command line tool and module for checking and creating
4bf7e9
SIGNATURE files for Perl CPAN distributions.
4bf7e9
4bf7e9
%prep
4bf7e9
%setup -q -c -n Module-Signature
4bf7e9
4bf7e9
# Copy up documentation for convenience with %%doc
4bf7e9
cp -a Module-Signature-%{version}/{AUTHORS,Changes,README,*.pub} .
4bf7e9
4bf7e9
# Create a GPG directory for testing, to avoid using ~/.gnupg
4bf7e9
mkdir --mode=0700 gnupghome
4bf7e9
4bf7e9
# Import AKOENIG key so we don't try to download it later
4bf7e9
export GNUPGHOME=$(pwd)/gnupghome
4bf7e9
gpg --import %{SOURCE1}
4bf7e9
4bf7e9
%build
4bf7e9
export GNUPGHOME=$(pwd)/gnupghome
4bf7e9
cd Module-Signature-%{version}
4bf7e9
perl Makefile.PL INSTALLDIRS=vendor --skipdeps 
4bf7e9
make %{?_smp_mflags}
4bf7e9
cd -
4bf7e9
4bf7e9
%install
4bf7e9
make -C Module-Signature-%{version} pure_install DESTDIR=%{buildroot}
4bf7e9
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
4bf7e9
%{_fixperms} %{buildroot}
4bf7e9
4bf7e9
%check
4bf7e9
export GNUPGHOME=$(pwd)/gnupghome
4bf7e9
make -C Module-Signature-%{version} test TEST_SIGNATURE=1
4bf7e9
4bf7e9
%files
4bf7e9
%doc AUTHORS Changes README *.pub
4bf7e9
%{_bindir}/cpansign
4bf7e9
%{perl_vendorlib}/Module/
4bf7e9
%{_mandir}/man1/cpansign.1*
4bf7e9
%{_mandir}/man3/Module::Signature.3pm*
4bf7e9
4bf7e9
%changelog
4bf7e9
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.73-2
4bf7e9
- Mass rebuild 2013-12-27
4bf7e9
4bf7e9
* Mon Jul 29 2013 Petr Pisar <ppisar@redhat.com> - 0.73-1.2
4bf7e9
- Specify all dependencies
4bf7e9
4bf7e9
* Wed Jun 26 2013 Petr Pisar <ppisar@redhat.com> - 0.73-1.1
4bf7e9
- Correct the license and modernize the spec file
4bf7e9
4bf7e9
* Fri Jun  7 2013 Paul Howarth <paul@city-fan.org> - 0.73-1
4bf7e9
- Update to 0.73
4bf7e9
  - Constrain the user-specified digest name to /^\w+\d+$/
4bf7e9
  - Only allow loading Digest::* from absolute paths in @INC (CVE-2013-2145)
4bf7e9
4bf7e9
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.70-2
4bf7e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4bf7e9
4bf7e9
* Wed Nov 28 2012 Paul Howarth <paul@city-fan.org> - 0.70-1
4bf7e9
- Update to 0.70
4bf7e9
  - Don't check gpg version if gpg does not exist
4bf7e9
4bf7e9
* Fri Nov  2 2012 Paul Howarth <paul@city-fan.org> - 0.69-1
4bf7e9
- Update to 0.69
4bf7e9
  - Support for gpg under these alternate names: gpg gpg2 gnupg gnupg2
4bf7e9
- This release by AUDREYT -> update source URL
4bf7e9
- BR:/R: perl(Text::Diff)
4bf7e9
- Include Andreas Koenig's GPG key in the SRPM and import it in %%prep so
4bf7e9
  that we don't need to get it from a keyserver in %%check
4bf7e9
4bf7e9
* Thu Nov  1 2012 Petr Pisar <ppisar@redhat.com> - 0.68-7
4bf7e9
- Make building non-interactive
4bf7e9
- Specify all dependencies
4bf7e9
4bf7e9
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.68-6
4bf7e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4bf7e9
4bf7e9
* Tue Jun 12 2012 Paul Howarth <paul@city-fan.org> - 0.68-5
4bf7e9
- BR: perl(constant), perl(Data::Dumper) and perl(lib)
4bf7e9
- Don't need to remove empty directories from the buildroot
4bf7e9
- Drop %%defattr, redundant since rpm 4.4
4bf7e9
4bf7e9
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.68-4
4bf7e9
- Perl 5.16 rebuild
4bf7e9
4bf7e9
* Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> - 0.68-3
4bf7e9
- BR: perl(Exporter) and perl(ExtUtils::Manifest)
4bf7e9
- Use %%{_fixperms} macro rather than our own chmod incantation
4bf7e9
4bf7e9
* Fri Jun 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.68-2
4bf7e9
- Perl mass rebuild
4bf7e9
4bf7e9
* Fri May 13 2011 Paul Howarth <paul@city-fan.org> - 0.68-1
4bf7e9
- Update to 0.68
4bf7e9
  - Fix breakage introduced by 0.67 (CPAN RT#68150)
4bf7e9
4bf7e9
* Thu Apr 21 2011 Paul Howarth <paul@city-fan.org> - 0.67-3
4bf7e9
- Pseudo-merge EPEL-5/EPEL-6/Fedora versions
4bf7e9
4bf7e9
* Tue Apr 19 2011 Ville Skyttä <ville.skytta@iki.fi> - 0.67-2
4bf7e9
- Appease rpmbuild >= 4.9
4bf7e9
4bf7e9
* Tue Apr 19 2011 Ville Skyttä <ville.skytta@iki.fi> - 0.67-1
4bf7e9
- Update to 0.67
4bf7e9
4bf7e9
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
4bf7e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
4bf7e9
4bf7e9
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.66-2
4bf7e9
- Rebuild to fix problems with vendorarch/lib (#661697)
4bf7e9
4bf7e9
* Tue Sep  7 2010 Ville Skyttä <ville.skytta@iki.fi> - 0.66-1
4bf7e9
- Update to 0.66 (#630714)
4bf7e9
4bf7e9
* Tue Sep  7 2010 Ville Skyttä <ville.skytta@iki.fi> - 0.65-1
4bf7e9
- Update to 0.65 (#630714)
4bf7e9
4bf7e9
* Wed Jun 30 2010 Ville Skyttä <ville.skytta@iki.fi> - 0.64-2
4bf7e9
- Rebuild
4bf7e9
4bf7e9
* Sun May  9 2010 Ville Skyttä <ville.skytta@iki.fi> - 0.64-1
4bf7e9
- Update to 0.64 (#590385)
4bf7e9
4bf7e9
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.63-2
4bf7e9
- Mass rebuild with perl-5.12.0
4bf7e9
4bf7e9
* Fri Apr 23 2010 Ville Skyttä <ville.skytta@iki.fi> - 0.63-1
4bf7e9
- Update to 0.63
4bf7e9
- Sync with current rpmdevtools spec template
4bf7e9
4bf7e9
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.61-2
4bf7e9
- Rebuild against perl 5.10.1
4bf7e9
4bf7e9
* Thu Nov 19 2009 Ville Skyttä <ville.skytta@iki.fi> - 0.61-1
4bf7e9
- Update to 0.61 (#538780)
4bf7e9
4bf7e9
* Tue Nov 17 2009 Ville Skyttä <ville.skytta@iki.fi> - 0.60-1
4bf7e9
- Update to 0.60 (#538043); license changed from MIT to CC0
4bf7e9
4bf7e9
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.55-5
4bf7e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
4bf7e9
4bf7e9
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.55-4
4bf7e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4bf7e9
4bf7e9
* Wed Mar  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.55-3
4bf7e9
- Rebuild for new perl
4bf7e9
4bf7e9
* Tue Apr 17 2007 Ville Skyttä <ville.skytta@iki.fi> - 0.55-2
4bf7e9
- BuildRequire perl(ExtUtils::MakeMaker) and perl(Test::More)
4bf7e9
4bf7e9
* Tue Aug 22 2006 Ville Skyttä <ville.skytta@iki.fi> - 0.55-1
4bf7e9
- 0.55
4bf7e9
- Make PAR::Dist dependency a Requires(hint)
4bf7e9
4bf7e9
* Fri May 12 2006 Ville Skyttä <ville.skytta@iki.fi> - 0.54-1
4bf7e9
- 0.54, license changed to MIT
4bf7e9
4bf7e9
* Wed Feb  1 2006 Ville Skyttä <ville.skytta@iki.fi> - 0.53-1
4bf7e9
- 0.53
4bf7e9
4bf7e9
* Fri Jan 20 2006 Ville Skyttä <ville.skytta@iki.fi> - 0.52-1
4bf7e9
- 0.52
4bf7e9
- Run non-live tests during build and make live ones optional, enabled
4bf7e9
  when building with "--with livetests"
4bf7e9
4bf7e9
* Mon Jan  2 2006 Ville Skyttä <ville.skytta@iki.fi> - 0.51-1
4bf7e9
- 0.51
4bf7e9
4bf7e9
* Mon Aug 22 2005 Ville Skyttä <ville.skytta@iki.fi> - 0.50-1
4bf7e9
- 0.50
4bf7e9
4bf7e9
* Wed Aug 10 2005 Ville Skyttä <ville.skytta@iki.fi> - 0.45-1
4bf7e9
- 0.45
4bf7e9
4bf7e9
* Thu Apr  7 2005 Ville Skyttä <ville.skytta@iki.fi> - 0.44-2
4bf7e9
- Drop Epoch: 0 and 0.fdr. release prefix
4bf7e9
4bf7e9
* Fri Dec 17 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:0.44-0.fdr.1
4bf7e9
- Update to 0.44
4bf7e9
4bf7e9
* Sun Nov 21 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:0.42-0.fdr.1
4bf7e9
- Update to 0.42
4bf7e9
4bf7e9
* Tue Jul  6 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:0.41-0.fdr.2
4bf7e9
- Require perl(Digest::SHA1) (bug 1606)
4bf7e9
4bf7e9
* Mon Jul  5 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:0.41-0.fdr.1
4bf7e9
- Update to 0.41
4bf7e9
4bf7e9
* Fri Jul  2 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:0.40-0.fdr.1
4bf7e9
- Update to 0.40
4bf7e9
4bf7e9
* Fri Jun 18 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:0.39-0.fdr.1
4bf7e9
- Update to 0.39
4bf7e9
4bf7e9
* Mon May 31 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:0.38-0.fdr.4
4bf7e9
- Really use pure_install (bug 1606)
4bf7e9
- Fix build with older mktemp versions which require a template (bug 1606)
4bf7e9
4bf7e9
* Mon May 31 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:0.38-0.fdr.3
4bf7e9
- Fix build in setups which do not generate debug packages (bug 1606)
4bf7e9
- Require perl >= 1:5.6.1 for vendor install dir support
4bf7e9
- Use pure_install to avoid perllocal.pod workarounds
4bf7e9
4bf7e9
* Sun Apr 25 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:0.38-0.fdr.2
4bf7e9
- Require perl(:MODULE_COMPAT_*)
4bf7e9
4bf7e9
* Sat Mar 27 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:0.38-0.fdr.1
4bf7e9
- First build