diff --git a/libSM.spec b/libSM.spec index 25815ef0042328a5d261e4cd7082f4a69f36a8e3..eb7d4d87ea1b42dffbc10e30058c85f23ad7102f 100644 --- a/libSM.spec +++ b/libSM.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Summary: X.Org X11 SM runtime library Name: libSM Version: 1.2.3 @@ -20,6 +20,14 @@ BuildRequires: xmlto %description The X.Org X11 SM (Session Management) runtime library. +%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 devel Summary: X.Org X11 SM development package Requires: %{name} = %{version}-%{release} @@ -51,10 +59,13 @@ rm -rf $RPM_BUILD_ROOT%{_docdir} %ldconfig_postun %files -%doc AUTHORS COPYING ChangeLog +%doc COPYING %{_libdir}/libSM.so.6 %{_libdir}/libSM.so.6.* +%files doc +%doc AUTHORS ChangeLog + %files devel %dir %{_includedir}/X11/SM %{_includedir}/X11/SM/SM.h @@ -64,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT%{_docdir} %{_libdir}/pkgconfig/sm.pc %changelog +* Fri Sep 30 2022 mgb01105731 - 1.2.3-2 +- add doc package + * Wed Apr 06 2022 mgb01105731 - 1.2.3-1 - Init from upstream version 1.2.3