[kmod] add temporary fake-provides

Kay Sievers kay at fedoraproject.org
Tue Feb 7 03:33:27 UTC 2012


commit 4cd3a5301390e3cfbde0248bf15e7708ab7894ad
Author: Kay Sievers <kay.sievers at vrfy.org>
Date:   Tue Feb 7 04:31:23 2012 +0100

    add temporary fake-provides

 kmod.spec |   20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)
---
diff --git a/kmod.spec b/kmod.spec
index d1af3ec..340768a 100644
--- a/kmod.spec
+++ b/kmod.spec
@@ -1,6 +1,6 @@
 Name:		kmod
 Version:	5
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Linux kernel module management utilities
 
 Group:		System Environment/Kernel
@@ -31,6 +31,16 @@ examples of loaded and unloaded modules.
 Summary:	Libraries to handle kernel module loading and unloading
 License:	LGPLv2+
 Group:		System Environment/Libraries
+# temporary fake-provides to be able to bootstrap the new udev with the old udev
+%ifarch sparc64 ppc64 s390x x86_64
+Provides:	libkmod.so.1(LIBKMOD_3)(64bit)
+Provides:	libkmod.so.1(LIBKMOD_1)(64bit)
+Provides:	libkmod.so.1()(64bit)
+%else
+Provides:	libkmod.so.1(LIBKMOD_3)
+Provides:	libkmod.so.1(LIBKMOD_1)
+Provides:	libkmod.so.1()
+%endif
 
 %description libs
 The kmod-libs package provides runtime libraries for any application that
@@ -97,12 +107,16 @@ mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/modprobe.d
 %{_libdir}/libkmod.so
 
 %changelog
-* Tue Feb  7 2012 Kay Sievers <kay at redhat.com>
+* Tue Feb  7 2012 Kay Sievers <kay at redhat.com> - 5-2
+- temporarily add fake provides to be able to bootstrap
+  the new udev which pulls the old udev into the buildroot
+
+* Tue Feb  7 2012 Kay Sievers <kay at redhat.com> - 5-1
 - Update to version 5
 - replace the module-init-tools package and provide all tools
   as compatibility symlinks
 
-* Mon Jan 16 2012 Kay Sievers <kay at redhat.com>
+* Mon Jan 16 2012 Kay Sievers <kay at redhat.com> - 4-1
 - Update to version 4
 - set --with-rootprefix=
 - enable zlib and xz support


More information about the scm-commits mailing list