The package rpms/biosdevname.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/biosdevname.git/commit/?id=b0f915....
Change:
+ExclusiveArch: %{ix86} x86_64
Thanks.
Full change:
============
commit b0f915a57570dac710f3fe5d29e081fbfa44c1cc
Author: Michal Sekletar <msekleta(a)redhat.com>
Date: Wed Mar 21 18:54:22 2018 +0100
Rebase to 0.7.2
- cleanup in BuildRequires
- we no longer depend on autotools during build
- patches are now applied using %autosetup
diff --git a/0001-Disable-biosdevname-by-default.patch
b/0001-Disable-biosdevname-by-default.patch
new file mode 100644
index 0000000..0026ac7
--- /dev/null
+++ b/0001-Disable-biosdevname-by-default.patch
@@ -0,0 +1,33 @@
+From db1371e4d22465c27b5ed8d851cea6e72f0176f7 Mon Sep 17 00:00:00 2001
+From: rpm-build <rpm-build>
+Date: Wed, 21 Mar 2018 18:10:08 +0100
+Subject: [PATCH 1/2] Disable biosdevname by default
+
+---
+ biosdevname.rules.in | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/biosdevname.rules.in b/biosdevname.rules.in
+index 0a32aa5..1dcca74 100644
+--- a/biosdevname.rules.in
++++ b/biosdevname.rules.in
+@@ -12,13 +12,13 @@ ENV{biosdevname}=="?*",
ENV{UDEV_BIOSDEVNAME}="$env{biosdevname}"
+ ENV{UDEV_BIOSDEVNAME}=="0", GOTO="netdevicename_end"
+ ENV{UDEV_BIOSDEVNAME}=="1", GOTO="netdevicename_start"
+
+-# uncomment the next line for biosdevname to be off by default
+-# GOTO="netdevicename_end"
++# off by default
++GOTO="netdevicename_end"
+
+ LABEL="netdevicename_start"
+
+ # using NAME= instead of setting INTERFACE_NAME, so that persistent
+ # names aren't generated for these devices, they are "named" on each
boot.
+-SUBSYSTEMS=="pci", PROGRAM="/sbin/biosdevname --policy physical -i
%k", NAME="%c", OPTIONS+="string_escape=replace"
++SUBSYSTEMS=="pci", PROGRAM="/sbin/biosdevname --smbios 2.6 --nopirq
--policy physical -i %k", NAME="%c"
OPTIONS+="string_escape=replace"
+
+ LABEL="netdevicename_end"
+--
+2.14.3
+
diff --git a/0002-Install-udev-rules-file-in-usr-lib-udev-rules.d-71-b.patch
b/0002-Install-udev-rules-file-in-usr-lib-udev-rules.d-71-b.patch
new file mode 100644
index 0000000..97ea583
--- /dev/null
+++ b/0002-Install-udev-rules-file-in-usr-lib-udev-rules.d-71-b.patch
@@ -0,0 +1,26 @@
+From 0b23cc14838c3385fa84a1b07ea6d476954c09ac Mon Sep 17 00:00:00 2001
+From: rpm-build <rpm-build>
+Date: Wed, 21 Mar 2018 18:40:10 +0100
+Subject: [PATCH 2/2] Install udev rules file in
+ /usr/lib/udev/rules.d/71-biosdevname.rules
+
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index bd8e5a3..161f732 100755
+--- a/configure
++++ b/configure
+@@ -10560,7 +10560,7 @@ done
+
+ # this is ugly, but accounts for SLES 10, Red Hat/Fedora, and Ubuntu
+ # handles default udev rules as of udev 114 or thereabouts
+-RULEDEST=/lib/udev/rules.d/71-biosdevname.rules
++RULEDEST=/usr/lib/udev/rules.d/71-biosdevname.rules
+
+ if [ -e /etc/udev/rules.d/60-net.rules ]; then
+ # RHEL 5 / Fedora
+--
+2.14.3
+
diff --git a/biosdevname-0.5.0-rules.patch b/biosdevname-0.5.0-rules.patch
deleted file mode 100644
index 61941c3..0000000
--- a/biosdevname-0.5.0-rules.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -up biosdevname-0.5.0/biosdevname.rules.in.new
biosdevname-0.5.0/biosdevname.rules.in
---- biosdevname-0.5.0/biosdevname.rules.in.new 2013-03-12 13:26:06.000000000 +0100
-+++ biosdevname-0.5.0/biosdevname.rules.in 2013-09-02 19:07:01.953956219 +0200
-@@ -1,7 +1,8 @@
- SUBSYSTEM!="net", GOTO="netdevicename_end"
--KERNEL!="eth*", GOTO="netdevicename_end"
- ACTION!="add", GOTO="netdevicename_end"
- NAME=="?*", GOTO="netdevicename_end"
-+ATTR{type}!="1", GOTO="netdevicename_end"
-+ENV{DEVTYPE}=="?*", GOTO="netdevicename_end"
-
- # kernel command line "biosdevname={0|1}" can turn off/on biosdevname
- IMPORT{cmdline}="biosdevname"
-@@ -18,6 +19,6 @@ LABEL="netdevicename_start"
-
- # using NAME= instead of setting INTERFACE_NAME, so that persistent
- # names aren't generated for these devices, they are "named" on each
boot.
--PROGRAM="/sbin/biosdevname --policy physical -i %k", NAME="%c",
OPTIONS+="string_escape=replace"
-+SUBSYSTEMS=="pci", PROGRAM="/sbin/biosdevname --policy physical -i
%k", NAME="%c", OPTIONS+="string_escape=replace"
-
- LABEL="netdevicename_end"
diff --git a/biosdevname-0.6.1-rules.patch b/biosdevname-0.6.1-rules.patch
deleted file mode 100644
index dd7d718..0000000
--- a/biosdevname-0.6.1-rules.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff --git a/biosdevname.rules.in b/biosdevname.rules.in
-index 0a32aa5..52aaea5 100644
---- a/biosdevname.rules.in
-+++ b/biosdevname.rules.in
-@@ -12,13 +15,13 @@ ENV{biosdevname}=="?*",
ENV{UDEV_BIOSDEVNAME}="$env{biosdevname}"
- ENV{UDEV_BIOSDEVNAME}=="0", GOTO="netdevicename_end"
- ENV{UDEV_BIOSDEVNAME}=="1", GOTO="netdevicename_start"
-
--# uncomment the next line for biosdevname to be off by default
--# GOTO="netdevicename_end"
-+# off by default
-+GOTO="netdevicename_end"
-
- LABEL="netdevicename_start"
-
- # using NAME= instead of setting INTERFACE_NAME, so that persistent
- # names aren't generated for these devices, they are "named" on each
boot.
--SUBSYSTEMS=="pci", PROGRAM="/sbin/biosdevname --policy physical -i
%k", NAME="%c", OPTIONS+="string_escape=replace"
-+SUBSYSTEMS=="pci", PROGRAM="/sbin/biosdevname --smbios 2.6 --nopirq
--policy physical -i %k", NAME="%c"
OPTIONS+="string_escape=replace"
-
- LABEL="netdevicename_end"
diff --git a/biosdevname.spec b/biosdevname.spec
index 944073b..5a9837d 100644
--- a/biosdevname.spec
+++ b/biosdevname.spec
@@ -1,28 +1,22 @@
Name: biosdevname
-Version: 0.6.2
-Release: 6%{?dist}
+Version: 0.7.2
+Release: 1%{?dist}
Summary: Udev helper for naming devices per BIOS names
-
Group: System Environment/Base
License: GPLv2
URL:
http://linux.dell.com/files/%{name}
# SMBIOS only exists 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 ia64
+ExclusiveArch: %{ix86} x86_64
Source0:
http://linux.dell.com/files/%{name}/%{name}-%{version}/%{name}-%{version}...
BuildRequires: pciutils-devel, zlib-devel
-# to figure out how to name the rules file
-BuildRequires: systemd
-#To generate the configure script
-BuildRequires: autoconf
-BuildRequires: automake
-# for ownership of /etc/udev/rules.d
-Requires: systemd
+BuildRequires: gcc
+BuildRequires: git
-Patch0: 0001-Place-udev-rules-to-usr-lib.patch
-Patch1: biosdevname-0.6.1-rules.patch
+Patch1: 0001-Disable-biosdevname-by-default.patch
+Patch2: 0002-Install-udev-rules-file-in-usr-lib-udev-rules.d-71-b.patch
%description
biosdevname in its simplest form takes a kernel device name as an
@@ -32,20 +26,12 @@ the chassis is "Gb1") doesn't map directly and obviously
to the kernel
name (e.g. eth0).
%prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
+%autosetup -S git_am
%build
-autoreconf -iv
-#If configure script doesn't exist generate it with autogen script
-[ -e ./configure ] || ./autogen.sh --no-configure
-
-# this is a udev rule, so it needs to live in / rather than /usr
-%configure --disable-rpath --prefix=%{_prefix} --sbindir=%{_prefix}/sbin
+%configure --prefix=%{_prefix}
make %{?_smp_mflags}
-
%install
make install install-data DESTDIR=%{buildroot}
@@ -56,8 +42,10 @@ make install install-data DESTDIR=%{buildroot}
%{_prefix}/lib/udev/rules.d/*.rules
%{_mandir}/man1/%{name}.1*
-
%changelog
+* Wed Mar 21 2018 Michal Sekletar <msekleta(a)redhat.com> - 0.7.2-1
+- rebase to biosdevname-0.7.2
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.2-6
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index 5b0f935..f825e2c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2a5f8f64dc19eef6cdcfb05a9cee4442 biosdevname-0.6.2.tar.gz
+SHA512 (biosdevname-0.7.2.tar.gz) =
2b71d33b3c7ab6c19f6129763a4c044f9cb4cbc43aec0e0d2a83177d8edb1440c17ffc4ab2eae448ae997dcb4b52315f8266c2e4010367f9690e4552cba89502