SHA256
1
0
forked from pool/tpm2-0-tss

Accepting request 386130 from home:dimstar:branches:REQUEST_383973

- Fix rpm group of library package: libs belong, per definition, to
  the group "System/Libraries".

OBS-URL: https://build.opensuse.org/request/show/386130
OBS-URL: https://build.opensuse.org/package/show/security/tpm2-0-tss?expand=0&rev=17
This commit is contained in:
Marcus Meissner 2016-04-08 09:42:06 +00:00 committed by Git OBS Bridge
parent 17360ffe84
commit 7c573c699f
2 changed files with 13 additions and 9 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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".
-------------------------------------------------------------------
Wed Feb 24 10:22:38 UTC 2016 - meissner@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package trousers
# spec file for package tpm2-0-tss
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -23,16 +23,16 @@ Summary: TSS (TCG Software Stack) access library for TPM 2.0 chips
License: BSD-2-Clause
Group: Productivity/Security
Url: https://github.com/01org/TPM2.0-TSS
Source0: %name-%version.tar.gz
Source0: %{name}-%{version}.tar.gz
Source2: baselibs.conf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: pkg-config
BuildRequires: systemd-rpm-macros
%{?systemd_requires}
Requires(pre): pwdutils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires}
%description
The tpm2-0-tss package provides a TPM 2.0 TSS implementation.
@ -49,7 +49,7 @@ for accessing TPM 2.0 chips.
%package -n libtss2
Summary: TSS (TCG Software Stack) access library for TPM 2.0 chip
Group: Productivity/Security
Group: System/Libraries
Requires: trousers
%description -n libtss2
@ -66,16 +66,15 @@ make %{?_smp_mflags} PTHREAD_LDFLAGS=-pthread
%install
%make_install
rm %{buildroot}/%{_libdir}/lib*.la
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libtss2 -p /sbin/ldconfig
%postun -n libtss2 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc *.md ChangeLog LICENSE *.png
/usr/sbin/resourcemgr
%{_sbindir}/resourcemgr
%files devel
%defattr(-,root,root)
@ -91,5 +90,4 @@ rm %{buildroot}/%{_libdir}/lib*.la
/%{_libdir}/libtctidevice.so.*
/%{_libdir}/libtctisocket.so.*
%changelog