diff --git a/trousers.spec b/trousers.spec index f3502d4232323c0103c7c3d1fe9fbc44c5b55632..b8ecea04c96dbc6fe14f22e39844cfb54ef8e617 100644 --- a/trousers.spec +++ b/trousers.spec @@ -1,7 +1,8 @@ +%define anolis_release .0.1 Name: trousers Summary: TCG's Software Stack v1.2 Version: 0.3.15 -Release: 1%{?dist} +Release: 1%{anolis_release}%{?dist} License: BSD Group: System Environment/Libraries Url: http://trousers.sourceforge.net @@ -21,6 +22,9 @@ Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units Requires: %{name}-lib%{?_isa} = %{version}-%{release} +Requires: glibc + +Provides: /usr/sbin/tcsd %description TrouSerS is an implementation of the Trusted Computing Group's Software Stack @@ -58,6 +62,14 @@ Requires: %{name}-lib%{?_isa} = %{version}-%{release} Header files and man pages for use in creating Trusted Computing enabled applications. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %autosetup -p1 # fix man page paths @@ -101,7 +113,6 @@ exit 0 %postun lib -p /sbin/ldconfig %files -%doc README ChangeLog %{_sbindir}/tcsd %config(noreplace) %attr(0640, root, tss) %{_sysconfdir}/tcsd.conf %{_mandir}/man5/* @@ -126,7 +137,13 @@ exit 0 # The only static library shipped by trousers, the TDDL %{_libdir}/libtddl.a +%files doc +%doc README ChangeLog + %changelog +* Mon Jul 18 2022 Hangbo Fan - 0.3.15-1.0.1 +- Add doc sub package + * Fri Nov 06 2020 Jerry Snitselaar - 0.3.15-1 - Rebase to 0.3.15 - Fix CVE-2020-24330 CVE-2020-24331 CVE-2020-24332