diff --git a/openssl-pkcs11.spec b/openssl-pkcs11.spec index d16f40d8ebfdcdf44947c91dc7c1997340a0c7ac..4da4482d2033310f574f2bc88d2890e9d185324c 100644 --- a/openssl-pkcs11.spec +++ b/openssl-pkcs11.spec @@ -1,5 +1,7 @@ +%define anolis_release .0.1 + Version: 0.4.10 -Release: 2%{?dist} +Release: 2%{anolis_release}%{?dist} # Define the directory where the OpenSSL engines are installed %global enginesdir %{_libdir}/engines-1.1 @@ -62,6 +64,14 @@ developing applications that use libp11. %endif +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %autosetup -p 1 -n libp11-%{version} @@ -100,7 +110,6 @@ make check %{?_smp_mflags} || if [ $? -ne 0 ]; then cat tests/*.log; exit 1; fi; %files %license COPYING -%doc NEWS %{_libdir}/libp11.so.* %{enginesdir}/*.so @@ -112,7 +121,13 @@ make check %{?_smp_mflags} || if [ $? -ne 0 ]; then cat tests/*.log; exit 1; fi; %{_includedir}/*.h %endif +%files doc +%doc NEWS README.md INSTALL.md + %changelog +* Wed Jul 20 2022 Zhao Hang - 0.4.10-2.0.1 +- Add doc sub package + * Thu Nov 28 2019 Anderson Sasaki - 0.4.10-2 - Set RSA_FLAG_FIPS_METHOD for RSA methods (#1777892)