SHA256
1
0
forked from pool/biosdevname

Accepting request 509238 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/509238
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/biosdevname?expand=0&rev=42
This commit is contained in:
Dominique Leuenberger 2017-07-30 09:23:17 +00:00 committed by Git OBS Bridge
commit d1a06a44c9
7 changed files with 41 additions and 31 deletions

15
_service Normal file
View File

@ -0,0 +1,15 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/dell/biosdevname.git</param>
<param name="subdir"></param>
<param name="filename">biosdevname</param>
<param name="versionformat">0.7.2</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">biosdevname*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/dell/biosdevname.git</param>
<param name="changesrevision">02811d5165c2eeecf8797fe9b5088d6e78bd25db</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:954575f482ff5de2d49c335b563990859a3eb3506e8fa976f6915eba870d71f6
size 193926

3
biosdevname-0.7.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cfd7295af780ec212bedbebef34652fb1186796135917dc0ed86e57e568ed2df
size 81868

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Fri Jun 9 16:27:56 UTC 2017 - fschnizlein@suse.com
- Update to latest HEAD to 02811d5165c2eeecf8797fe9b5088d6e78bd25db
* Changed source to github
* Ignore naming of non-Ethernet network interfaces
* Prevent reading of VPD-DCM strings for SRIOV-vfs
- removed patch v0.7.2_to_HEAD_66eab208.patch
-------------------------------------------------------------------
Thu Jan 19 17:44:56 UTC 2017 - felix.gerling@suse.com
- Update to HEAD 66eab208d3c2abe947ba0a793094ee856e8fb3ee
* Fix use-after-free of fd
-------------------------------------------------------------------
Tue Aug 16 14:18:06 UTC 2016 - olaf@aepfle.de

View File

@ -1,7 +1,7 @@
#
# spec file for package biosdevname
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@ -23,8 +23,8 @@ Release: 0
Summary: Udev helper for naming devices per BIOS names
License: GPL-2.0
Group: System/Base
Url: http://linux.dell.com/files/biosdevname/
Source0: http://linux.dell.com/files/biosdevname/biosdevname-%{version}/%{name}-%{version}.tar.gz
Url: https://github.com/dell/%{name}
Source0: %{name}-%{version}.tar.xz
Patch1: ignore-broken-BIOSes
Patch2: whitelist-dell
Patch3: udev-rule-path.patch
@ -88,7 +88,7 @@ rm %{buildroot}/sbin/%{name}S || :
%defattr(-,root,root,-)
%doc COPYING README
/sbin/%{name}
%{_udevrulesdir}/*%{name}.rules
%{_udevrulesdir}/71-biosdevname.rules
%{_mandir}/man1/*

View File

@ -26,27 +26,3 @@ Index: biosdevname-0.7.1/configure.ac
RULEDIR=$(dirname $RULEDEST)
AC_SUBST(RULEDEST, $RULEDEST)
AC_SUBST(RULEDIR, $RULEDIR)
Index: biosdevname-0.7.1/configure
===================================================================
--- biosdevname-0.7.1.orig/configure
+++ biosdevname-0.7.1/configure
@@ -10560,18 +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
-
-if [ -e /etc/udev/rules.d/60-net.rules ]; then
- # RHEL 5 / Fedora
- RULEDEST=/etc/udev/rules.d/60-biosdevname.rules
-elif [ -e /etc/udev/rules.d/31-network.rules ]; then
- # SLES 10
- RULEDEST=/etc/udev/rules.d/31-biosdevname.rules
-elif [ -e /etc/udev/rules.d/25-iftab.rules ]; then
- # older Ubuntu
- RULEDEST=/etc/udev/rules.d/25-biosdevname.rules
-fi
+RULEDEST=@@BIOSDEVNAME_RULEDEST@@
RULEDIR=$(dirname $RULEDEST)
RULEDEST=$RULEDEST