From 202369ab4c94b89a794df6c7dd5c4391cefcf162549d930f3c42907c21d44b4a Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sat, 9 May 2015 17:24:31 +0000 Subject: [PATCH] Accepting request 306106 from home:jengelh:branches:hardware - Drop unnecessary ldconfig call: there are no libraries shipped in the standard search paths. - Pacify rpmlint warning about devel-file-in-non-devel-package OBS-URL: https://build.opensuse.org/request/show/306106 OBS-URL: https://build.opensuse.org/package/show/hardware/fwts?expand=0&rev=7 --- fwts.changes | 7 +++++++ fwts.spec | 18 ++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/fwts.changes b/fwts.changes index 35cb1c6..342ccbd 100644 --- a/fwts.changes +++ b/fwts.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat May 9 17:08:55 UTC 2015 - jengelh@inai.de + +- Drop unnecessary ldconfig call: there are no libraries shipped + in the standard search paths. +- Pacify rpmlint warning about devel-file-in-non-devel-package + ------------------------------------------------------------------- Wed Apr 22 10:37:52 UTC 2015 - mpluskal@suse.com diff --git a/fwts.spec b/fwts.spec index 5061cf1..3d12894 100644 --- a/fwts.spec +++ b/fwts.spec @@ -24,18 +24,18 @@ License: GPL-2.0+ Group: Development/Tools/Other Url: https://wiki.ubuntu.com/Kernel/Reference/fwts Source0: http://fwts.ubuntu.com/release/%{name}-v%{version}.tar.gz -Patch0: json-c-includes.patch -BuildRequires: automake +Patch0: json-c-includes.patch BuildRequires: autoconf +BuildRequires: automake BuildRequires: bison BuildRequires: flex BuildRequires: libtool -BuildRequires: pkgconfig(libpci) -BuildRequires: pkgconfig(libpcre) -BuildRequires: pkgconfig(json) +BuildRequires: pkg-config BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(glib-2.0) -BuildRequires: pkg-config +BuildRequires: pkgconfig(json) +BuildRequires: pkgconfig(libpci) +BuildRequires: pkgconfig(libpcre) Requires: acpica Requires: dmidecode Requires: pciutils @@ -64,10 +64,8 @@ make %{?_smp_mflags} find %{buildroot} -type f -name "*.la" -delete -print install -D -m 0644 data/klog.json %{buildroot}%{_datadir}/%{name}/klog.json install -D -m 0644 data/syntaxcheck.json %{buildroot}%{_datadir}/%{name}/syntaxcheck.json - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +# There are no headers, so drop remaining development files +rm -f "%buildroot/%_libdir/%name"/*.so %files %defattr(-,root,root)