diff --git a/sysfsutils.spec b/sysfsutils.spec index 16452b71c4304262d6314ad843339b5d70e529e0..5722187b1e813b48adf6a4f74fac74f15511499f 100644 --- a/sysfsutils.spec +++ b/sysfsutils.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %global so_major_version 2 %global so_minor_version 0 @@ -23,6 +23,14 @@ BuildRequires: gcc This package's purpose is to provide a set of utilities for interfacing with sysfs. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %package -n libsysfs Summary: Shared library for interfacing with sysfs License: LGPLv2+ @@ -55,10 +63,13 @@ find %{buildroot} -type f -name "*.la" -delete %files %license COPYING cmd/GPL -%doc AUTHORS README CREDITS docs/libsysfs.txt +%doc CREDITS docs/libsysfs.txt %{_bindir}/systool %{_mandir}/man1/systool.1.gz +%files doc +%doc AUTHORS README + %files -n libsysfs %license COPYING lib/LGPL /%{_libdir}/libsysfs.so.%{so_major_version} @@ -73,5 +84,8 @@ find %{buildroot} -type f -name "*.la" -delete %changelog +* Fri Sep 30 2022 mgb01105731 - 2.1.1-2 +- add doc package + * Wed Mar 09 2022 Chunmei Xu - 2.1.1-1 - init from upstream 2.1.1