diff --git a/os-prober.spec b/os-prober.spec index eca42e0d419351a3cbbd4c7b50afb28970ac7389..23449c601dc078aeebdf04a76308078ccc15d90d 100644 --- a/os-prober.spec +++ b/os-prober.spec @@ -1,6 +1,7 @@ +%define anolis_release 2 Name: os-prober Version: 1.79 -Release: 1%{?dist} +Release: %{anolis_release}%{?dist} Summary: Probes disks on the system for installed operating systems License: GPLv2+ and GPL+ @@ -15,6 +16,14 @@ This package detects other OSes available on a system and outputs the results in a generic machine-readable format. Support for new OSes and Linux distributions can be added easily. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %autosetup -n %{name} @@ -53,15 +62,23 @@ if [ "$ARCH" = x86 ]; then %{buildroot}%{_libexecdir}/os-probes/mounted fi +%generate_compatibility_deps + %files -%doc README TODO debian/changelog +%dir %{abidir} %license debian/copyright %{_bindir}/* +%{abidir}/*-option.list %{_libexecdir}/* %{_datadir}/%{name} %{_var}/lib/%{name} +%files doc +%doc README TODO debian/changelog %changelog +* Tue Oct 18 2022 mgb01105731 - 1.79-2 +- optimise spec file & add doc package + * Mon Mar 14 2022 forrest_ly - 1.79-1 - Init for Anolis OS 23