diff --git a/libtasn1.spec b/libtasn1.spec index 8701ddc9edcde370456aef171c485894c518c275..11d06747f71136be69aedb1af54f0302edbcf34c 100644 --- a/libtasn1.spec +++ b/libtasn1.spec @@ -1,7 +1,8 @@ +%define anolis_release .0.1 Summary: The ASN.1 library used in GNUTLS Name: libtasn1 Version: 4.13 -Release: 3%{?dist} +Release: 3%{anolis_release}%{?dist} # The libtasn1 library is LGPLv2+, utilities are GPLv3+ License: GPLv3+ and LGPLv2+ @@ -20,6 +21,8 @@ BuildRequires: valgrind-devel # Wildcard bundling exception https://fedorahosted.org/fpc/ticket/174 Provides: bundled(gnulib) = 20130324 +Requires: glibc + %package devel Summary: Files for development of applications which will use libtasn1 Group: Development/Libraries @@ -50,6 +53,13 @@ use libtasn1. This package contains simple tools that can decode and encode ASN.1 data. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. %prep gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} @@ -91,7 +101,6 @@ test "$1" = 0 -a -f %_infodir/%name.info.gz && \ %files %{!?_licensedir:%global license %%doc} %license COPYING* -%doc AUTHORS NEWS README THANKS %{_libdir}/*.so.6* %files tools @@ -99,15 +108,20 @@ test "$1" = 0 -a -f %_infodir/%name.info.gz && \ %{_mandir}/man1/asn1* %files devel -%doc doc/TODO doc/*.pdf %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_includedir}/* %{_infodir}/*.info.* %{_mandir}/man3/*asn1* +%files doc +%doc doc/TODO doc/*.pdf +%doc AUTHORS NEWS README THANKS %changelog +* Fri Jul 15 2022 Weisson - 4.13-3.0.1 +- Add doc sub package + * Fri Aug 3 2018 Florian Weimer - 4.13-3 - Honor %%{valgrind_arches}