diff --git a/libproxy.spec b/libproxy.spec index e53bb840aebcdc3868b8f0ca7307b44b4be82ce7..7845159324a0d60b6f604b83afac852bb525f997 100644 --- a/libproxy.spec +++ b/libproxy.spec @@ -1,10 +1,11 @@ +%define anolis_release .0.1 # When we are bootstrapping, we drop some dependencies. # Set this to 0 after bootstrapping. %{!?_with_bootstrap: %global bootstrap 0} Name: libproxy Version: 0.4.15 -Release: 5.2%{?dist} +Release: 5.2%{anolis_release}%{?dist} Summary: A library handling all the details of proxy configuration Group: System Environment/Libraries @@ -104,6 +105,15 @@ Requires: %{name}%{?_isa} = %{version}-%{release} The %{name}-devel package contains libraries and header files for developing applications that use %{name}. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + + +%description doc +Doc pages for %{name} + %prep %autosetup -p1 @@ -146,7 +156,6 @@ make test %files -%doc AUTHORS README %license COPYING %{_libdir}/*.so.* %dir %{_libdir}/%{name} @@ -180,7 +189,13 @@ make test %{_datadir}/cmake/Modules/Findlibproxy.cmake +%files doc +%doc AUTHORS README + %changelog +* Fri Jul 15 2022 Chang Gao - 0.4.15-5.2.0.1 +- Add doc sub package + * Thu May 31 2018 Dan Winship - 0.4.15-5.2 - Drop pacrunner-mozjs (#1571640)