diff --git a/json-glib.spec b/json-glib.spec index 8ba9fdca332fb14cc5bda6f03b1ed7ad36874050..b000e6be23454fb1ac1daed630c29c8a8b5cf877 100644 --- a/json-glib.spec +++ b/json-glib.spec @@ -1,8 +1,10 @@ +%define anolis_release .0.1 + %define glib2_version 2.44.0 Name: json-glib Version: 1.4.4 -Release: 1%{?dist} +Release: 1%{anolis_release}%{?dist} Summary: Library for JavaScript Object Notation format License: LGPLv2+ @@ -41,6 +43,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release} The json-glib-tests package contains tests that can be used to verify the functionality of the installed json-glib package. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q -n %{name}-%{version} @@ -61,7 +71,6 @@ the functionality of the installed json-glib package. %files -f json-glib-1.0.lang -%doc NEWS %license COPYING %{_libdir}/lib%{name}*.so.* %{_libdir}/girepository-1.0/Json-1.0.typelib @@ -81,8 +90,14 @@ the functionality of the installed json-glib package. %{_libexecdir}/installed-tests/ %{_datadir}/installed-tests/ +%files doc +%doc NEWS + %changelog +* Sun Jul 17 2022 Zhao Hang - 1.4.4-1.0.1 +- Add doc sub package + * Tue Sep 18 2018 Kalev Lember - 1.4.4-1 - Update to 1.4.4