diff --git a/ipcalc.spec b/ipcalc.spec index 2d0eb36577cd2dca876e027d4d9ddb7ba9dc59f4..0f32211d9040faf1327d5f17c19280760b7218ed 100644 --- a/ipcalc.spec +++ b/ipcalc.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: ipcalc Version: 1.0.1 @@ -26,6 +26,14 @@ the provided network address, multiple command line options per information to be printed, transparent IPv6 support, and in addition it will use libGeoIP if available to provide geographic information. +%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 @@ -40,11 +48,16 @@ will use libGeoIP if available to provide geographic information. %meson_test %files -%doc README.md %license COPYING %{_bindir}/ipcalc %{_mandir}/man1/ipcalc.1* +%files doc +%doc README.md + %changelog +* Mon Oct 10 2022 mgb01105731 - 1.0.1-2 +- add doc package + * Fri Mar 04 2022 Su Lifan - 1.0.1-1 - Initial packaging for Anolis 23