Accepting request 417296 from security
- added a systemd unit service file (FATE#315631) (FATE#315631) the group "System/Libraries". (FATE#315631) OBS-URL: https://build.opensuse.org/request/show/417296 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2-0-tss?expand=0&rev=3
This commit is contained in:
commit
d41c758973
9
resourcemgr.service
Normal file
9
resourcemgr.service
Normal file
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=TPM 2.0 Core Services Daemon
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/sbin/resourcemgr
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,14 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 6 19:28:27 UTC 2016 - meissner@suse.com
|
||||
|
||||
- added a systemd unit service file (FATE#315631)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 6 19:45:29 UTC 2016 - jengelh@inai.de
|
||||
|
||||
- Correct package naming to be in line with shared library guideline
|
||||
- Remove unused systemd build and runtime dependencies
|
||||
(FATE#315631)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 8 07:54:36 UTC 2016 - dimstar@opensuse.org
|
||||
|
||||
- Fix rpm group of library package: libs belong, per definition, to
|
||||
the group "System/Libraries".
|
||||
the group "System/Libraries". (FATE#315631)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 24 10:22:38 UTC 2016 - meissner@suse.com
|
||||
|
@ -24,11 +24,13 @@ License: BSD-2-Clause
|
||||
Group: Productivity/Security
|
||||
Url: https://github.com/01org/TPM2.0-TSS
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source1: resourcemgr.service
|
||||
Source2: baselibs.conf
|
||||
BuildRequires: automake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: systemd-rpm-macros
|
||||
Requires(pre): pwdutils
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@ -68,14 +70,30 @@ make %{?_smp_mflags} PTHREAD_LDFLAGS=-pthread
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
install -D -m 0644 %{SOURCE1} %{buildroot}/%{_unitdir}/resourcemgr.service
|
||||
ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcresourcemgr
|
||||
|
||||
%post -n libtss2-0 -p /sbin/ldconfig
|
||||
%postun -n libtss2-0 -p /sbin/ldconfig
|
||||
|
||||
%pre
|
||||
%service_add_pre resourcemgr.service
|
||||
|
||||
%post
|
||||
%service_add_post resourcemgr.service
|
||||
|
||||
%postun
|
||||
%service_del_postun resourcemgr.service
|
||||
|
||||
%preun
|
||||
%service_del_preun resourcemgr.service
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc *.md ChangeLog LICENSE *.png
|
||||
%{_sbindir}/resourcemgr
|
||||
/%{_unitdir}/resourcemgr.service
|
||||
%{_sbindir}/rcresourcemgr
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
x
Reference in New Issue
Block a user