Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
biosdevname.19075
biosdevname.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File biosdevname.spec of Package biosdevname.19075
# # spec file for package biosdevname # # Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d Name: biosdevname Version: 0.7.2 Release: 0 Summary: Udev helper for naming devices per BIOS names License: GPL-2.0-only Group: System/Base URL: http://linux.dell.com/files/biosdevname/ 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 Patch5: biosdevname-dom0.patch Patch6: biosdevname_only_ethernet.patch Patch7: biosdevname/biosdevname_avoid_duplicates.patch Patch8: dmidecode-prevent-infinite-recursion.patch Patch9: biosdevname-Fix-use-after-free-of-fd.patch Patch10: biosdevname-Add-buffer-read-helper-using-read-explicitly.patch Patch11: biosdevname-Read-DMI-entries-from-sys-firmware-dmi-tables-DMI.patch Patch12: Add-support-for-ExaNIC-network-cards-5.patch BuildRequires: automake # to figure out how to name/location of the rules file BuildRequires: libudev-devel BuildRequires: pciutils-devel BuildRequires: pkg-config BuildRequires: sed BuildRequires: suse-module-tools BuildRequires: zlib-devel BuildRequires: pkgconfig(udev) Requires(post): coreutils Requires(postun):coreutils # for ownership of /usr/lib/udev/rules.d Requires: udev BuildRequires: pkgconfig(udev) Supplements: modalias(dmi:*svnDell*) 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 argument, and returns the BIOS-given name it "should" be. This is necessary on systems where the BIOS name for a given device (e.g. the label on the chassis is "Gb1") doesn't map directly and obviously to the kernel name (e.g. eth0). You can enable/disable usage of biosdevname with boot option "biosdevname=[0|1]" %prep %setup -q %autopatch -p1 %build sed -i -e 's#@@BIOSDEVNAME_RULEDEST@@#'%{_udevrulesdir}'/71-biosdevname.rules#' configure.ac autoreconf -fi %configure \ --disable-rpath \ --prefix=/ \ --bindir=/bin \ --sbindir=/sbin make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %{?_smp_mflags} rm %{buildroot}/sbin/%{name}S || : %files %defattr(-,root,root,-) %doc README %license COPYING /sbin/%{name} %{_udevrulesdir}/*%{name}.rules %{_mandir}/man1/* %post /sbin/ldconfig %{?regenerate_initrd_post} %postun /sbin/ldconfig %{?regenerate_initrd_post} %posttrans %{?regenerate_initrd_posttrans} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor