- update subpackage tests macros to handle packages with an epoch properly

This commit is contained in:
Chris Weyl 2010-02-24 18:34:07 +00:00
parent fddc494088
commit 2851e615b1
2 changed files with 5 additions and 2 deletions

View File

@ -114,7 +114,7 @@ popd \
%package tests\
Summary: Test suite for package %{name}\
Group: Development/Debug\
Requires: %{name} = %{version}-%{release}\
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}\
Requires: /usr/bin/prove \
%{?__tests_spkg_req:Requires: %__tests_spkg_req}\
%{?__tests_spkg_prov:Provides: %__tests_spkg_prov}\

View File

@ -7,7 +7,7 @@
Name: perl
Version: %{perl_version}
Release: 110%{?dist}
Release: 111%{?dist}
Epoch: %{perl_epoch}
Summary: Practical Extraction and Report Language
Group: Development/Languages
@ -1870,6 +1870,9 @@ make test
# Old changelog entries are preserved in CVS.
%changelog
* Wed Feb 24 2010 Chris Weyl <cweyl@alumni.drew.edu> - 4:5.10.1-111
- update subpackage tests macros to handle packages with an epoch properly
* Fri Feb 05 2010 Chris Weyl <cweyl@alumni.drew.edu> - 4:5.10.1-110
- add initial EXPERIMENTAL tests subpackage rpm macros to macros.perl