diff --git a/bluez-firmware.changes b/bluez-firmware.changes index 53fc1f3..740e7f9 100644 --- a/bluez-firmware.changes +++ b/bluez-firmware.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Apr 4 09:50:37 UTC 2015 - mpluskal@suse.com + +- Cleanup spec file with spec-cleaner + ------------------------------------------------------------------- Sat Mar 2 08:12:27 UTC 2013 - coolo@suse.com diff --git a/bluez-firmware.spec b/bluez-firmware.spec index bf9301a..5757ebb 100644 --- a/bluez-firmware.spec +++ b/bluez-firmware.spec @@ -1,7 +1,7 @@ # # spec file for package bluez-firmware # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,20 +17,20 @@ Name: bluez-firmware -Url: http://bluez.sourceforge.net Version: 1.2 Release: 0 Summary: Bluetooth(TM) Firmware License: GPL-2.0+ and GPL-2.0 and SUSE-Firmware Group: Hardware/Mobile -Source: http://bluez.sf.net/download/%{name}-%{version}.tar.gz +Url: http://bluez.sourceforge.net +Source0: http://bluez.sf.net/download/%{name}-%{version}.tar.gz Source1: bfusb.tar.bz2 BuildRequires: automake -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Obsoletes: bluez-bluefw # Modules: bcm203x.ko bfusb.ko Supplements: modalias(usb:v057Cp2200d*dc*dsc*dp*ic*isc*ip*) Supplements: modalias(usb:v0A5Cp2033d*dc*dsc*dp*ic*isc*ip*) +Obsoletes: bluez-bluefw +BuildRoot: %{_tmppath}/%{name}-%{version}-build # Generated with: extract-modaliases -i bcm203x -i bfusb kernel-default.rpm %description @@ -43,25 +43,22 @@ Bluetooth(TM) Firmware. Package contains firmware images for some The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., USA. %prep -%setup -b 1 +%setup -q -b 1 %build -%{?suse_update_config:%{suse_update_config -f . }} -autoreconf -f -CFLAGS="$RPM_OPT_FLAGS" ./configure --mandir=%{_mandir} -make +autoreconf -fi +%configure \ + --libdir=/lib +make %{?_smp_mflags} %install -make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install -rm $RPM_BUILD_ROOT/lib/firmware/BCM-LEGAL.txt -install -D -m 644 ../bfusb/bfubase.frm $RPM_BUILD_ROOT/lib/firmware/bfubase.frm - -%clean -rm -rf $RPM_BUILD_ROOT +make DESTDIR=%{buildroot} install +rm %{buildroot}/lib/firmware/BCM-LEGAL.txt +install -D -m 644 ../bfusb/bfubase.frm %{buildroot}/lib/firmware/bfubase.frm %files %defattr(-, root, root) /lib/firmware/* -%doc AUTHORS COPYING INSTALL ChangeLog NEWS README broadcom/BCM-LEGAL.txt +%doc AUTHORS COPYING INSTALL ChangeLog README broadcom/BCM-LEGAL.txt %changelog