You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-Test-DistManifest/perl-Test-DistManifest.spec

116 lines
3.7 KiB

14 years ago
Name: perl-Test-DistManifest
10 years ago
Version: 1.014
10 years ago
Release: 2%{?dist}
14 years ago
Summary: Author test that validates a package MANIFEST
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Test-DistManifest/
13 years ago
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/Test-DistManifest-%{version}.tar.gz
14 years ago
BuildArch: noarch
10 years ago
BuildRequires: perl
13 years ago
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
10 years ago
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
13 years ago
# Run-time:
BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::Manifest)
10 years ago
BuildRequires: perl(File::Find)
14 years ago
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Spec::Unix)
BuildRequires: perl(Module::Manifest) >= 0.07
14 years ago
BuildRequires: perl(Test::Builder)
14 years ago
# Tests only:
10 years ago
BuildRequires: perl(if)
14 years ago
BuildRequires: perl(Test::Builder::Tester)
10 years ago
BuildRequires: perl(Test::More)
14 years ago
BuildRequires: perl(Test::NoWarnings) >= 0.084
10 years ago
# Test::Warnings not used
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
14 years ago
Requires: perl(Module::Manifest) >= 0.07
14 years ago
Requires: perl(Test::Builder)
14 years ago
# Filter underspecifed dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\((Module::Manifest|Test::Builder)\\)$
14 years ago
%description
10 years ago
This Perl module provides a simple method of testing that a MANIFEST matches
the distribution.
14 years ago
%prep
%setup -q -n Test-DistManifest-%{version}
%build
10 years ago
PERL_MM_FALLBACK_SILENCE_WARNING=1 perl Makefile.PL INSTALLDIRS=perl OPTIMIZE="$RPM_OPT_FLAGS"
14 years ago
make %{?_smp_mflags}
14 years ago
%install
10 years ago
make pure_install DESTDIR=$RPM_BUILD_ROOT
14 years ago
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
14 years ago
%{_fixperms} $RPM_BUILD_ROOT/*
%check
# post-install rpmbuild scripts contaminates RPM_BUILD_ROOT (bug #672538).
rm *.list
14 years ago
make test
14 years ago
%files
10 years ago
%license LICENSE
%doc Changes CONTRIBUTING examples README
14 years ago
%{perl_privlib}/*
%{_mandir}/man3/*
%changelog
10 years ago
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.014-2
- Perl 5.22 rebuild
10 years ago
* Wed Feb 11 2015 Petr Pisar <ppisar@redhat.com> - 1.014-1
- 1.014 bump
10 years ago
* Mon Feb 09 2015 Petr Pisar <ppisar@redhat.com> - 1.013-1
- 1.013 bump
11 years ago
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.012-8
- Perl 5.20 rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.012-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
12 years ago
* Fri Aug 02 2013 Petr Pisar <ppisar@redhat.com> - 1.012-6
- Perl 5.18 rebuild
- Remove more debuginfo remnants
12 years ago
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.012-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Tue Nov 20 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.012-4
- Remove doubled requires
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.012-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
13 years ago
* Thu Jun 14 2012 Petr Pisar <ppisar@redhat.com> - 1.012-2
- Perl 5.16 rebuild
13 years ago
* Mon Apr 23 2012 Petr Pisar <ppisar@redhat.com> - 1.012-1
- 1.012 bump
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.011-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Jul 25 2011 Iain Arnell <iarnell@gmail.com> 1.011-3
- update filtering for rpm 4.9
14 years ago
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.011-2
- Perl mass rebuild
14 years ago
* Wed Apr 27 2011 Petr Pisar <ppisar@redhat.com> - 1.011-1
- 1.011 bump
- Move to ExtUtils::MakeMaker
14 years ago
* Tue Jan 25 2011 Petr Pisar <ppisar@redhat.com> 1.009-1
- Specfile autogenerated by cpanspec 1.78.
- Remove BuildRoot stuff
- Install into perl core directory
- Hack %%check for rpmbuild bug #672538