Hello community, here is the log from the commit of package biosdevname for openSUSE:Factory checked in at 2015-04-10 09:48:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/biosdevname (Old) and /work/SRC/openSUSE:Factory/.biosdevname.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "biosdevname" Changes: -------- --- /work/SRC/openSUSE:Factory/biosdevname/biosdevname.changes 2015-02-25 02:16:18.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.biosdevname.new/biosdevname.changes 2015-04-10 09:48:59.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Apr 3 08:56:16 UTC 2015 - mpluskal@suse.com + +- Use url for source +- Cleanup spec file with spec-cleaner + +------------------------------------------------------------------- Old: ---- biosdevname-0.6.1.tar.bz2 New: ---- biosdevname-0.6.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ biosdevname.spec ++++++ --- /var/tmp/diff_new_pack.6OGw0g/_old 2015-04-10 09:49:00.000000000 +0200 +++ /var/tmp/diff_new_pack.6OGw0g/_new 2015-04-10 09:49:00.000000000 +0200 @@ -16,6 +16,7 @@ # +%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d Name: biosdevname Version: 0.6.1 Release: 0 @@ -23,30 +24,28 @@ License: GPL-2.0 Group: System/Base Url: http://linux.dell.com/files/biosdevname/ -# SMBIOS and PCI IRQ Routing Tables only exist on these arches. It's -# also likely that other arches don't expect the PCI bus to be sorted -# breadth-first, or of so, there haven't been any comments about that -# on LKML. -ExclusiveArch: %{ix86} x86_64 -Source0: %{name}-%{version}.tar.bz2 +Source0: http://linux.dell.com/files/biosdevname/biosdevname-%{version}/%{name}-%{version}.tar.gz Patch1: ignore-broken-BIOSes Patch2: whitelist-dell Patch3: udev-rule-path.patch Patch4: biosdevname-pic.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: automake +# to figure out how to name/location of the rules file +BuildRequires: libudev-devel BuildRequires: pciutils-devel BuildRequires: pkgconfig BuildRequires: sed -BuildRequires: zlib-devel -# to figure out how to name/location of the rules file -BuildRequires: libudev-devel BuildRequires: suse-module-tools +BuildRequires: zlib-devel # for ownership of /usr/lib/udev/rules.d Requires: udev Supplements: modalias(dmi:*svnDell*) - -%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d +BuildRoot: %{_tmppath}/%{name}-%{version}-build +# SMBIOS and PCI IRQ Routing Tables only exist on these arches. It's +# also likely that other arches don't expect the PCI bus to be sorted +# breadth-first, or of so, there haven't been any comments about that +# on LKML. +ExclusiveArch: %ix86 x86_64 %description biosdevname in its simplest form takes an kernel name name as an @@ -67,12 +66,16 @@ %build sed -i -e 's#@@BIOSDEVNAME_RULEDEST@@#'%{_udevrulesdir}'/71-biosdevname.rules#' configure.ac -autoreconf -%configure --disable-rpath --prefix=/ --bindir=/bin --sbindir=/sbin +autoreconf -fi +%configure \ + --disable-rpath \ + --prefix=/ \ + --bindir=/bin \ + --sbindir=/sbin make %{?_smp_mflags} %install -make install DESTDIR=$RPM_BUILD_ROOT +make DESTDIR=%{buildroot} install %{?_smp_mflags} rm %{buildroot}/sbin/%{name}S || : %files @@ -87,8 +90,7 @@ /sbin/ldconfig %{?regenerate_initrd_post} -%postun -/sbin/ldconfig +%postun -p /sbin/ldconfig %posttrans %{?regenerate_initrd_posttrans}