This commit is contained in:
parent
be0496a39e
commit
dc8230ffa8
@ -4,7 +4,7 @@ Index: scripts/find-provides.ksyms
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ scripts/find-provides.ksyms
|
+++ scripts/find-provides.ksyms
|
||||||
@@ -0,0 +1,20 @@
|
@@ -0,0 +1,23 @@
|
||||||
+#! /bin/sh
|
+#! /bin/sh
|
||||||
+
|
+
|
||||||
+IFS=$'\n'
|
+IFS=$'\n'
|
||||||
@ -21,8 +21,11 @@ Index: scripts/find-provides.ksyms
|
|||||||
+fi
|
+fi
|
||||||
+
|
+
|
||||||
+for module in $(grep -E '/lib/modules/.+\.ko$'); do
|
+for module in $(grep -E '/lib/modules/.+\.ko$'); do
|
||||||
|
+ flavor=$(/sbin/modinfo -F vermagic "$module")
|
||||||
|
+ flavor=${flavor%% *}
|
||||||
|
+ flavor=${flavor##*-}
|
||||||
+ nm "$module" \
|
+ nm "$module" \
|
||||||
+ | sed -r -ne 's:^0*([0-9a-f]+) A __crc_(.+):ksym(\2) = \1:p'
|
+ | sed -r -ne "s:^0*([0-9a-f]+) A __crc_(.+):ksym($flavor:\\2) = \\1:p"
|
||||||
+done \
|
+done \
|
||||||
+| sort -u
|
+| sort -u
|
||||||
Index: scripts/find-requires.ksyms
|
Index: scripts/find-requires.ksyms
|
||||||
|
@ -24,7 +24,7 @@ License: GPL v2 or later
|
|||||||
Group: System/Packages
|
Group: System/Packages
|
||||||
Summary: Python Bindings for Manipulating RPM Packages
|
Summary: Python Bindings for Manipulating RPM Packages
|
||||||
Version: 4.4.2.3
|
Version: 4.4.2.3
|
||||||
Release: 11
|
Release: 12
|
||||||
Requires: rpm = %{version}
|
Requires: rpm = %{version}
|
||||||
%py_requires
|
%py_requires
|
||||||
Source99: rpm.spec
|
Source99: rpm.spec
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 13 18:16:14 CET 2008 - agruen@suse.de
|
||||||
|
|
||||||
|
- Fix the ksym(...) provides to also include the kernel flavor
|
||||||
|
(bnc#444698).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 7 15:03:25 CET 2008 - ro@suse.de
|
Fri Nov 7 15:03:25 CET 2008 - ro@suse.de
|
||||||
|
|
||||||
|
9
rpm.spec
9
rpm.spec
@ -27,7 +27,7 @@ PreReq: %insserv_prereq %fillup_prereq permissions
|
|||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Summary: The RPM Package Manager
|
Summary: The RPM Package Manager
|
||||||
Version: 4.4.2.3
|
Version: 4.4.2.3
|
||||||
Release: 11
|
Release: 12
|
||||||
Source: rpm-%{version}.tar.bz2
|
Source: rpm-%{version}.tar.bz2
|
||||||
Source1: RPM-HOWTO.tar.bz2
|
Source1: RPM-HOWTO.tar.bz2
|
||||||
Source2: RPM-Tips.html.tar.bz2
|
Source2: RPM-Tips.html.tar.bz2
|
||||||
@ -324,7 +324,7 @@ Summary: A C library for parsing command line parameters
|
|||||||
License: LGPL v2.1 or later
|
License: LGPL v2.1 or later
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Version: 1.7
|
Version: 1.7
|
||||||
Release: 459
|
Release: 460
|
||||||
#
|
#
|
||||||
|
|
||||||
%description -n popt
|
%description -n popt
|
||||||
@ -347,7 +347,7 @@ Summary: C Library for Parsing Command Line Parameters
|
|||||||
License: LGPL v2.1 or later
|
License: LGPL v2.1 or later
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Version: 1.7
|
Version: 1.7
|
||||||
Release: 459
|
Release: 460
|
||||||
Requires: popt = 1.7
|
Requires: popt = 1.7
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
|
|
||||||
@ -382,6 +382,9 @@ Authors:
|
|||||||
%doc %{_mandir}/man3/popt.3*
|
%doc %{_mandir}/man3/popt.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 13 2008 agruen@suse.de
|
||||||
|
- Fix the ksym(...) provides to also include the kernel flavor
|
||||||
|
(bnc#444698).
|
||||||
* Fri Nov 07 2008 ro@suse.de
|
* Fri Nov 07 2008 ro@suse.de
|
||||||
- update gcc flags to current set
|
- update gcc flags to current set
|
||||||
* Fri Oct 31 2008 coolo@suse.de
|
* Fri Oct 31 2008 coolo@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user