diff --git a/setup.spec b/setup.spec index daa5db9ace9b62ffa4865fbb428effdb95f6203f..5bbf1731118ca68cafea5af2b3d03ee3dd9bd8f9 100644 --- a/setup.spec +++ b/setup.spec @@ -1,7 +1,9 @@ +%define anolis_release .0.1 + Summary: A set of system configuration and setup files Name: setup Version: 2.12.2 -Release: 6%{?dist} +Release: 6%{anolis_release}%{?dist} License: Public Domain Group: System Environment/Base URL: https://pagure.io/setup/ @@ -24,6 +26,14 @@ Patch6: setup-2.12.2-nrpe-services.patch The setup package contains a set of important system configuration and setup files, such as passwd, group, and profile. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q @@ -89,7 +99,6 @@ end %files %license COPYING -%doc uidgid %verify(not md5 size mtime) %config(noreplace) /etc/passwd %verify(not md5 size mtime) %config(noreplace) /etc/group %verify(not md5 size mtime) %attr(0000,root,root) %config(noreplace,missingok) /etc/shadow @@ -122,7 +131,13 @@ end %ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/fstab /etc/dnf/protected.d/%{name}.conf +%files doc +%doc uidgid + %changelog +* Sun Jul 17 2022 Xiaoping Liu - 2.12.2-6.0.1 +- Add doc sub package + * Wed Apr 15 2020 Pavel Zhukov - 2.12.2-6 - make setup protected package (#1755997)