Accepting request 294294 from home:pluskalm:branches:Base:System
- Use url for source - Cleanup spec file with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/294294 OBS-URL: https://build.opensuse.org/package/show/Base:System/biosdevname?expand=0&rev=48
This commit is contained in:
parent
546512e1ee
commit
bc40ac0526
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a295b8d876bb0d75be1b575c414197c629ef132c00b386e2226a7b6324f0bf51
|
|
||||||
size 160908
|
|
3
biosdevname-0.6.1.tar.gz
Normal file
3
biosdevname-0.6.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b43580589a3f40afc836afbff9bcd837224c710b75a4d0b576f2e4d44ec158cc
|
||||||
|
size 195604
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 3 08:56:16 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Use url for source
|
||||||
|
- Cleanup spec file with spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Feb 21 22:49:47 UTC 2015 - meissner@suse.com
|
Sat Feb 21 22:49:47 UTC 2015 - meissner@suse.com
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
|
||||||
Name: biosdevname
|
Name: biosdevname
|
||||||
Version: 0.6.1
|
Version: 0.6.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -23,30 +24,28 @@ Summary: Udev helper for naming devices per BIOS names
|
|||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
Url: http://linux.dell.com/files/biosdevname/
|
Url: http://linux.dell.com/files/biosdevname/
|
||||||
# SMBIOS and PCI IRQ Routing Tables only exist on these arches. It's
|
Source0: http://linux.dell.com/files/biosdevname/biosdevname-%{version}/%{name}-%{version}.tar.gz
|
||||||
# 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
|
|
||||||
Patch1: ignore-broken-BIOSes
|
Patch1: ignore-broken-BIOSes
|
||||||
Patch2: whitelist-dell
|
Patch2: whitelist-dell
|
||||||
Patch3: udev-rule-path.patch
|
Patch3: udev-rule-path.patch
|
||||||
Patch4: biosdevname-pic.patch
|
Patch4: biosdevname-pic.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
|
# to figure out how to name/location of the rules file
|
||||||
|
BuildRequires: libudev-devel
|
||||||
BuildRequires: pciutils-devel
|
BuildRequires: pciutils-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: sed
|
BuildRequires: sed
|
||||||
BuildRequires: zlib-devel
|
|
||||||
# to figure out how to name/location of the rules file
|
|
||||||
BuildRequires: libudev-devel
|
|
||||||
BuildRequires: suse-module-tools
|
BuildRequires: suse-module-tools
|
||||||
|
BuildRequires: zlib-devel
|
||||||
# for ownership of /usr/lib/udev/rules.d
|
# for ownership of /usr/lib/udev/rules.d
|
||||||
Requires: udev
|
Requires: udev
|
||||||
Supplements: modalias(dmi:*svnDell*)
|
Supplements: modalias(dmi:*svnDell*)
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
|
# 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
|
%description
|
||||||
biosdevname in its simplest form takes an kernel name name as an
|
biosdevname in its simplest form takes an kernel name name as an
|
||||||
@ -67,12 +66,16 @@ You can enable/disable usage of biosdevname with boot option
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
sed -i -e 's#@@BIOSDEVNAME_RULEDEST@@#'%{_udevrulesdir}'/71-biosdevname.rules#' configure.ac
|
sed -i -e 's#@@BIOSDEVNAME_RULEDEST@@#'%{_udevrulesdir}'/71-biosdevname.rules#' configure.ac
|
||||||
autoreconf
|
autoreconf -fi
|
||||||
%configure --disable-rpath --prefix=/ --bindir=/bin --sbindir=/sbin
|
%configure \
|
||||||
|
--disable-rpath \
|
||||||
|
--prefix=/ \
|
||||||
|
--bindir=/bin \
|
||||||
|
--sbindir=/sbin
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
rm %{buildroot}/sbin/%{name}S || :
|
rm %{buildroot}/sbin/%{name}S || :
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -87,8 +90,7 @@ rm %{buildroot}/sbin/%{name}S || :
|
|||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%{?regenerate_initrd_post}
|
%{?regenerate_initrd_post}
|
||||||
|
|
||||||
%postun
|
%postun -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
%{?regenerate_initrd_posttrans}
|
%{?regenerate_initrd_posttrans}
|
||||||
|
Loading…
Reference in New Issue
Block a user