Summary: Udev helper for naming devices per BIOS names
Summary(pl.UTF-8): Program pomocniczy udev do nazywania urządzeń zgodnie z nazwami BIOS-u
Name: biosdevname
-Version: 0.4.1
+Version: 0.7.3
Release: 1
License: GPL v2
Group: Base
-Source0: https://linux.dell.com/files/biosdevname/%{name}-%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: a9da18946dc50b06439818767d0a9be0
-URL: http://linux.dell.com/files/biosdevname/
+#Source0Download: https://github.com/dell/biosdevname/releases
+#TODO: switch to named sources:
+#Source0: https://github.com/dell/biosdevname/archive/v%{version}/%{name}-%{version}.tar.gz
+Source0: https://github.com/dell/biosdevname/archive/v%{version}.tar.gz
+# Source0-md5: e7e76fd8e4b72e7364b10655a9e5f716
+URL: https://github.com/dell/biosdevname
BuildRequires: autoconf >= 2.59
BuildRequires: automake
BuildRequires: pciutils-devel
BuildRequires: zlib-devel
Requires: udev-core
# 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
+# arches don't expect the PCI bus to be sorted breadth-first, or if
# so, there haven't been any comments about that on LKML.
-ExclusiveArch: %{ix86} %{x8664} ia64
+ExclusiveArch: %{ix86} %{x8664} x32
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install install-data \
DESTDIR=$RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README TODO
-%attr(755,root,root) /sbin/%{name}
+%doc AUTHORS README TODO
+%attr(755,root,root) /sbin/biosdevname
/lib/udev/rules.d/*-biosdevname.rules
-%{_mandir}/man1/%{name}.1*
+%{_mandir}/man1/biosdevname.1*