@ -2,7 +2,7 @@
%global debug_package %{nil}
%global debug_package %{nil}
Name: perl-Test-Version
Name: perl-Test-Version
Version: 1.002000
Version: 1.002001
Release: 1%{?dist}
Release: 1%{?dist}
Summary: Check to see that versions in modules are sane
Summary: Check to see that versions in modules are sane
License: Artistic 2.0
License: Artistic 2.0
@ -82,24 +82,32 @@ make %{?_smp_mflags}
%install
%install
rm -rf %{buildroot}
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT =%{buildroot}
make pure_install DESTDIR =%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
%{_fixperms} %{buildroot}
chmod -R u+w %{buildroot}
%check
%check
make test AUTHOR_TESTING=1 RELEASE_TESTING=1
make test %{!?perl_bootstrap: AUTHOR_TESTING=1 RELEASE_TESTING=1}
%clean
%clean
rm -rf %{buildroot}
rm -rf %{buildroot}
%files
%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
%doc Changes LICENSE README
%{perl_vendorlib}/Test/
%{perl_vendorlib}/Test/
%{_mandir}/man3/Test::Version.3pm*
%{_mandir}/man3/Test::Version.3pm*
%changelog
%changelog
* Wed Mar 14 2012 Paul Howarth <paul@city-fan.org> - 1.002001-1
- Update to 1.002001:
- Fix metadata caused by a bug in DZP::GitHub after asking repo to be
unlinked from gitpan
- Don't need to remove empty directories from buildroot
- Use %%{_fixperms} macro rather than our own chmod incantation
- Use DESTDIR rather than PERL_INSTALL_ROOT
- Drop %%defattr, redundant since rpm 4.4
- Don't attempt to run author/release tests when bootstrapping
* Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 1.002000-1
* Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 1.002000-1
- Update to 1.002000:
- Update to 1.002000:
- Use Module::Metadata - apparently it's closer to how Perl works than
- Use Module::Metadata - apparently it's closer to how Perl works than