|
|
|
Name: perl-Test-CheckManifest
|
|
|
|
Version: 1.28
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: Check if your Manifest matches your distro
|
|
|
|
License: Artistic 2.0
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Test-CheckManifest/
|
|
|
|
Source0: http://www.cpan.org/authors/id/R/RE/RENEEB/Test-CheckManifest-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(Test::Builder)
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package checks whether the Manifest file matches the distro or not. To
|
|
|
|
match a distro the Manifest has to name all files that come along with the
|
|
|
|
distribution.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
# Unpackage tarball in a subdirectory, otherwise the testsuite will fail.
|
|
|
|
%setup -q -c -n %{name}-%{version}
|
|
|
|
%setup -q -T -D -n %{name}-%{version} -a0
|
|
|
|
|
|
|
|
%build
|
|
|
|
cd Test-CheckManifest-%{version}
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
%install
|
|
|
|
cd Test-CheckManifest-%{version}
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
%check
|
|
|
|
cd Test-CheckManifest-%{version}
|
|
|
|
make test
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Test-CheckManifest-%{version}/Changes Test-CheckManifest-%{version}/README Test-CheckManifest-%{version}/LICENSE
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.28-3
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jan 24 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.28-1
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 1.26-3
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Aug 05 2012 Ralf Corsépius <corsepiu@fedoraproject.org> 1.26-1
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 1.25-2
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
|
|
|
* Sun Feb 05 2012 Ralf Corsépius <corsepiu@fedoraproject.org> 1.25-1
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.24-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.24-2
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
|
|
|
* Sun Apr 17 2011 Ralf Corsépius <corsepiu@fedoraproject.org> 1.24-1
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
* Tue Mar 29 2011 Ralf Corsépius <corsepiu@fedoraproject.org> 1.23-1
|
|
|
|
- Upstream update.
|
|
|
|
- Add LICENSE file.
|
|
|
|
- Spec cleanup.
|
|
|
|
|
|
|
|
* Tue Mar 01 2011 Ralf Corsépius <corsepiu@fedoraproject.org> 1.22-2
|
|
|
|
- Extend %%description upon reviewer's request.
|
|
|
|
|
|
|
|
* Sat Feb 05 2011 Ralf Corsépius <corsepiu@fedoraproject.org> 1.22-1
|
|
|
|
- Initial Fedora package.
|