diff --git a/libsrtp.spec b/libsrtp.spec index 9e96e84298682e690fe66cae9435ce287a994889..403322547e8a0b768de0f5251464b8aa2c3874aa 100644 --- a/libsrtp.spec +++ b/libsrtp.spec @@ -1,4 +1,4 @@ -%define anolis_release .0.1 +%define anolis_release .0.2 %global shortname srtp Name: libsrtp @@ -20,6 +20,9 @@ Patch4: 0001-Changes-for-OpenSSL-1.1.0-compatibility.patch BuildRequires: openssl-devel >= 1.1.0 +Requires: glibc +Requires: openssl-libs + %description This package provides an implementation of the Secure Real-time Transport Protocol (SRTP), the Universal Security Transform (UST), and @@ -35,6 +38,14 @@ Requires: pkgconfig 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 %setup -q -n %{name}-%{version} %patch0 -p1 -b .sharedfix @@ -67,7 +78,6 @@ cp -a %{SOURCE2} %{buildroot}%{_includedir}/%{shortname}/config.h %files %license LICENSE -%doc CHANGES README TODO VERSION doc/*.txt doc/*.pdf %{_libdir}/*.so.* %files devel @@ -75,7 +85,13 @@ cp -a %{SOURCE2} %{buildroot}%{_includedir}/%{shortname}/config.h %{_libdir}/pkgconfig/libsrtp.pc %{_libdir}/*.so +%files doc +%doc CHANGES README TODO VERSION doc/*.txt doc/*.pdf + %changelog +* Fri Jul 15 2022 Weisson - 1.5.4-8.0.1 +- Add doc sub package + * Wed Nov 24 2021 Liwei Ge - 1.5.4-8.0.1 - Support loongarch64 platform