From 0f0ab3258987c0846b1bf73d8bcee489a207ce03 Mon Sep 17 00:00:00 2001 From: dogsheng <960055655@qq.com> Date: Wed, 25 Dec 2019 16:09:25 +0800 Subject: [PATCH] Package init --- trousers.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/trousers.spec b/trousers.spec index 7d2c62f..b31cc66 100644 --- a/trousers.spec +++ b/trousers.spec @@ -1,6 +1,6 @@ Name: trousers Version: 0.3.14 -Release: 1 +Release: 2 Summary: The open-source TCG Software Stack License: BSD Url: http://trousers.sourceforge.net @@ -9,7 +9,10 @@ Source0: https://sourceforge.net/projects/trousers/files/trousers/0.3.14/tr Source1: tcsd.service BuildRequires: libtool openssl-devel systemd -Requires: shadow systemd +Requires(pre): shadow-utils +Requires(post): systemd-units +Requires(preun): systemd-units +Requires(postun): systemd-units Provides: trousers-lib Obsoletes: trousers-lib @@ -84,6 +87,9 @@ install -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/ %changelog +* Sat Dec 21 2019 openEuler Buildteam - 1.9.8-2 +- Modify requires + * Mon Oct 14 2019 openEuler Buildteam - 1.9.8-1 - update to 0.3.13