OBS User unknown 2008-11-17 15:33:54 +00:00 committed by Git OBS Bridge
parent 473bbbb464
commit e2d5e1342a
4 changed files with 18 additions and 6 deletions

View File

@ -4,7 +4,7 @@ Index: scripts/find-provides.ksyms
===================================================================
--- /dev/null
+++ scripts/find-provides.ksyms
@@ -0,0 +1,20 @@
@@ -0,0 +1,23 @@
+#! /bin/sh
+
+IFS=$'\n'
@ -21,8 +21,11 @@ Index: scripts/find-provides.ksyms
+fi
+
+for module in $(grep -E '/lib/modules/.+\.ko$'); do
+ flavor=$(/sbin/modinfo -F vermagic "$module")
+ flavor=${flavor%% *}
+ flavor=${flavor##*-}
+ 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 \
+| sort -u
Index: scripts/find-requires.ksyms

View File

@ -24,7 +24,7 @@ License: GPL v2 or later
Group: System/Packages
Summary: Python Bindings for Manipulating RPM Packages
Version: 4.4.2.3
Release: 11
Release: 12
Requires: rpm = %{version}
%py_requires
Source99: rpm.spec

View File

@ -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

View File

@ -27,7 +27,7 @@ PreReq: %insserv_prereq %fillup_prereq permissions
AutoReqProv: on
Summary: The RPM Package Manager
Version: 4.4.2.3
Release: 11
Release: 12
Source: rpm-%{version}.tar.bz2
Source1: RPM-HOWTO.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
Group: System/Libraries
Version: 1.7
Release: 459
Release: 460
#
%description -n popt
@ -347,7 +347,7 @@ Summary: C Library for Parsing Command Line Parameters
License: LGPL v2.1 or later
Group: System/Libraries
Version: 1.7
Release: 459
Release: 460
Requires: popt = 1.7
Requires: glibc-devel
@ -382,6 +382,9 @@ Authors:
%doc %{_mandir}/man3/popt.3*
%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
- update gcc flags to current set
* Fri Oct 31 2008 coolo@suse.de