diff --git a/switcheroo-control.spec b/switcheroo-control.spec index c5d7286678116c78fd3753526058c185a122b5d5..cac860b45043e467fc85411d02154e91eba91bb6 100644 --- a/switcheroo-control.spec +++ b/switcheroo-control.spec @@ -1,6 +1,7 @@ +%define anolis_release .0.1 Name: switcheroo-control Version: 1.1 -Release: 5%{?dist} +Release: 5%{anolis_release}%{?dist} Summary: D-Bus service to check the availability of dual-GPU License: GPLv3 @@ -16,6 +17,13 @@ BuildRequires: systemd %description D-Bus service to check the availability of dual-GPU. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. %prep %autosetup @@ -42,13 +50,17 @@ D-Bus service to check the availability of dual-GPU. %files %license COPYING -%doc NEWS README.md %{_sysconfdir}/dbus-1/system.d/net.hadess.SwitcherooControl.conf %{_unitdir}/switcheroo-control.service %{_sbindir}/switcheroo-control +%files doc +%doc NEWS README.md %changelog +* Mon Jul 18 2022 Hangbo Fan - 1.1-5.0.1 +- Add doc sub package + * Fri Feb 09 2018 Fedora Release Engineering - 1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild