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)