Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package biosdevname for openSUSE:Factory checked in at 2024-03-05 18:47:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/biosdevname (Old) and /work/SRC/openSUSE:Factory/.biosdevname.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "biosdevname" Tue Mar 5 18:47:13 2024 rev:51 rq:1154679 version:0.7.3.7.g495ab76 Changes: -------- --- /work/SRC/openSUSE:Factory/biosdevname/biosdevname.changes 2021-07-13 22:36:58.650349692 +0200 +++ /work/SRC/openSUSE:Factory/.biosdevname.new.1770/biosdevname.changes 2024-03-05 18:47:19.089758551 +0100 @@ -1,0 +2,7 @@ +Tue Feb 27 21:56:34 UTC 2024 - Thomas Renninger <[email protected]> + +- Binary is in /usr/sbin not /sbin + (cmp with install to /usr below) (bsc#1220125) +M udev-rule-path.patch + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ biosdevname.spec ++++++ --- /var/tmp/diff_new_pack.2Jz1qb/_old 2024-03-05 18:47:19.813784839 +0100 +++ /var/tmp/diff_new_pack.2Jz1qb/_new 2024-03-05 18:47:19.817784985 +0100 @@ -1,7 +1,7 @@ # # spec file for package biosdevname # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,20 +32,18 @@ Patch5: biosdevname-dom0.patch BuildRequires: automake BuildRequires: pciutils-devel -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: sed BuildRequires: suse-module-tools BuildRequires: zlib-devel # to figure out how to name/location of the rules file BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(udev) -Requires(post): coreutils -Requires(postun):coreutils # for ownership of /usr/lib/udev/rules.d Requires: udev -BuildRequires: pkgconfig(udev) +Requires(post): coreutils +Requires(postun): coreutils 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 @@ -68,6 +66,7 @@ %build sed -i -e 's#@@BIOSDEVNAME_RULEDEST@@#'%{_udevrulesdir}'/71-biosdevname.rules#' configure.ac +sed -i -e 's#@@BIOSDEVNAME_SBINDIR@@#'%{_sbindir}'#' configure.ac autoreconf -fi %configure \ --disable-rpath ++++++ biosdevname-0.7.3.7.g495ab76.obscpio ++++++ ++++++ biosdevname.obsinfo ++++++ --- /var/tmp/diff_new_pack.2Jz1qb/_old 2024-03-05 18:47:19.973790649 +0100 +++ /var/tmp/diff_new_pack.2Jz1qb/_new 2024-03-05 18:47:19.977790794 +0100 @@ -3,4 +3,3 @@ mtime: 1599238290 commit: 495ab76e0d5f0eba83f9c86baf779a244ea1b60d - ++++++ udev-rule-path.patch ++++++ --- /var/tmp/diff_new_pack.2Jz1qb/_old 2024-03-05 18:47:19.993791375 +0100 +++ /var/tmp/diff_new_pack.2Jz1qb/_new 2024-03-05 18:47:19.997791520 +0100 @@ -1,8 +1,8 @@ -Index: biosdevname-0.7.1/configure.ac +Index: biosdevname-0.7.3.7.g495ab76/configure.ac =================================================================== ---- biosdevname-0.7.1.orig/configure.ac -+++ biosdevname-0.7.1/configure.ac -@@ -66,20 +66,9 @@ AC_FUNC_STAT +--- biosdevname-0.7.3.7.g495ab76.orig/configure.ac ++++ biosdevname-0.7.3.7.g495ab76/configure.ac +@@ -66,27 +66,18 @@ AC_FUNC_STAT AC_FUNC_VPRINTF AC_CHECK_FUNCS([dup2 gettimeofday memset munmap select socket strcasecmp strchr strdup strerror strncasecmp strpbrk strrchr strstr strtol strtoul]) @@ -22,8 +22,51 @@ -fi +# Only way to make this robust: Replace for each distro with the correct path +# /lib/udev/rules.d/71-biosdevname.rules ++SBINDIR=@@BIOSDEVNAME_SBINDIR@@ +RULEDEST=@@BIOSDEVNAME_RULEDEST@@ RULEDIR=$(dirname $RULEDEST) AC_SUBST(RULEDEST, $RULEDEST) AC_SUBST(RULEDIR, $RULEDIR) ++AC_SUBST(SBINDIR, $SBINDIR) + + echo "PACKAGE_NAME='$PACKAGE_NAME'" > version + echo "PACKAGE_VERSION='$PACKAGE_VERSION'" >> version + echo "PACKAGE_STRING='$PACKAGE_STRING'" >> version + +-AC_CONFIG_FILES([Makefile biosdevname.spec.fedora biosdevname.spec.suse src/bios_dev_name.h]) ++AC_CONFIG_FILES([Makefile biosdevname.spec.fedora biosdevname.spec.suse src/bios_dev_name.h biosdevname.rules]) + AC_OUTPUT +Index: biosdevname-0.7.3.7.g495ab76/biosdevname.rules.in +=================================================================== +--- biosdevname-0.7.3.7.g495ab76.orig/biosdevname.rules.in ++++ biosdevname-0.7.3.7.g495ab76/biosdevname.rules.in +@@ -22,6 +22,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. +-SUBSYSTEMS=="pci", PROGRAM="/sbin/biosdevname --policy physical --smbios 2.6 --nopirq -i %k", NAME="%c", OPTIONS+="string_escape=replace" ++SUBSYSTEMS=="pci", PROGRAM="@SBINDIR@/biosdevname --policy physical --smbios 2.6 --nopirq -i %k", NAME="%c", OPTIONS+="string_escape=replace" + + LABEL="netdevicename_end" +Index: biosdevname-0.7.3.7.g495ab76/Makefile.am +=================================================================== +--- biosdevname-0.7.3.7.g495ab76.orig/Makefile.am ++++ biosdevname-0.7.3.7.g495ab76/Makefile.am +@@ -2,14 +2,14 @@ AUTOMAKE_OPTIONS = subdir-objects + SUBDIRS = + EXTRA_DIST = + +-dist_noinst_DATA = biosdevname.rules.in biosdevname.spec.fedora biosdevname.spec.suse biosdevname.1 ++dist_noinst_DATA = biosdevname.rules biosdevname.spec.fedora biosdevname.spec.suse biosdevname.1 + + + + CLEANFILES = version src/bios_dev_name.h + install-data-local: + mkdir -p $(DESTDIR)@RULEDIR@ +- $(INSTALL_DATA) $(top_srcdir)/biosdevname.rules.in $(DESTDIR)@RULEDEST@ ++ $(INSTALL_DATA) $(top_srcdir)/biosdevname.rules $(DESTDIR)@RULEDEST@ + + uninstall-local: + rm -f $(DESTDIR)@RULEDEST@
