diff --git a/rootfiles.spec b/rootfiles.spec index cb2921c..07bcd27 100644 --- a/rootfiles.spec +++ b/rootfiles.spec @@ -1,7 +1,17 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 54; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + Summary: The basic required files for the root user's directory Name: rootfiles Version: 8.1 -Release: 41%{?dist} +Release: %autorelease License: LicenseRef-Not-Copyrightable # This is a Red Hat maintained package which is specific to @@ -49,13 +59,14 @@ done %dir %{ROOTFILES_DIR} %{ROOTFILES_DIR}/.[A-Za-z]* %{_tmpfilesdir}/rootfiles.conf -%ghost /root/.bash_logout -%ghost /root/.bash_profile -%ghost /root/.bashrc -%ghost /root/.cshrc -%ghost /root/.tcshrc +%ghost %verify(not md5 size mtime) %attr(0644,root,root) /root/.bash_logout +%ghost %verify(not md5 size mtime) %attr(0644,root,root) /root/.bash_profile +%ghost %verify(not md5 size mtime) %attr(0644,root,root) /root/.bashrc +%ghost %verify(not md5 size mtime) %attr(0644,root,root) /root/.cshrc +%ghost %verify(not md5 size mtime) %attr(0644,root,root) /root/.tcshrc %changelog +## START: Generated by rpmautospec * Wed Feb 12 2025 Martin Osvald - 8.1-41 - Comment out empty if clause to prevent shell error (RHEL-76497) @@ -258,3 +269,5 @@ done * Thu Mar 20 1997 Erik Troan - Removed .Xclients and .Xsession from package, added %%pre to back up old .Xclients if necessary. + +## END: Generated by rpmautospec