From 7c573c699f1f2c0bba4b77471561acd51083833d3f4148fabec0c96caacbf809 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 8 Apr 2016 09:42:06 +0000 Subject: [PATCH] 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 --- tpm2-0-tss.changes | 6 ++++++ tpm2-0-tss.spec | 16 +++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/tpm2-0-tss.changes b/tpm2-0-tss.changes index 15dd81f..6507a4f 100644 --- a/tpm2-0-tss.changes +++ b/tpm2-0-tss.changes @@ -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 diff --git a/tpm2-0-tss.spec b/tpm2-0-tss.spec index f2f8147..d85d6d5 100644 --- a/tpm2-0-tss.spec +++ b/tpm2-0-tss.spec @@ -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