diff --git a/SPECS/facter.spec b/SPECS/facter.spec index caa9077..ced3f32 100644 --- a/SPECS/facter.spec +++ b/SPECS/facter.spec @@ -1,7 +1,7 @@ ## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: - release_number = 1; + release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} @@ -67,7 +67,7 @@ key off the values returned by facts. %package doc Summary: Documentation for %{name} -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{?has_epoch:1:}%{version}-%{release} BuildArch: noarch %description doc @@ -111,6 +111,9 @@ GEM_HOME="%{buildroot}%{gem_dir}" %{buildroot}%{_bindir}/facter %doc %{gem_docdir} %changelog +* Tue Apr 26 2022 Alfredo Moralejo 4.2.8-2 +- Fix epoch in requirement of doc subpackage + * Wed Apr 20 2022 Ewoud Kohl van Wijngaarden 4.2.8-1 - Update to 4.2.8