SHA256
3
0
forked from pool/rpm
OBS User unknown 2008-05-16 19:47:05 +00:00 committed by Git OBS Bridge
parent fd5d96af53
commit 90bedfe8a9
6 changed files with 35 additions and 13 deletions

View File

@ -10,8 +10,8 @@ build the binary. The patches moves them into a separate package -debugsource.
Index: b/macros.in
===================================================================
--- a/macros.in
+++ b/macros.in
--- macros.in
+++ macros.in
@@ -179,6 +179,18 @@ Debug information is useful when develop
package or when debugging this package.\
%files debuginfo -f debugfiles.list\
@ -33,8 +33,8 @@ Index: b/macros.in
%_defaultdocdir %{_usr}/doc/packages
Index: b/scripts/find-debuginfo.sh
===================================================================
--- a/scripts/find-debuginfo.sh
+++ b/scripts/find-debuginfo.sh
--- scripts/find-debuginfo.sh
+++ scripts/find-debuginfo.sh
@@ -7,14 +7,16 @@ else BUILDDIR=$1
fi

16
remove-brp-strips.diff Normal file
View File

@ -0,0 +1,16 @@
Subject: remove references to removed brp scripts
Some brp-scripts are not used in openSUSE, remove references
to it
--- platform.in
+++ platform.in
@@ -55,8 +55,6 @@
%__os_install_post \
@RPMCONFIGDIR@/brp-compress \
@RPMCONFIGDIR@/brp-strip \
- @RPMCONFIGDIR@/brp-strip-static-archive \
- @RPMCONFIGDIR@/brp-strip-comment-note \
%{nil}
%__spec_install_post\

View File

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 15 14:31:51 CEST 2008 - dmueller@suse.de
- remove references to brp-strip-comment-note (bnc#390163)
-------------------------------------------------------------------
Tue May 6 18:01:34 CEST 2008 - mls@suse.de

View File

@ -21,7 +21,7 @@ PreReq: %insserv_prereq %fillup_prereq permissions
AutoReqProv: on
Summary: The RPM Package Manager
Version: 4.4.2
Release: 193
Release: 196
Source: rpm-%{version}.tar.bz2
Source1: RPM-HOWTO.tar.bz2
Source2: RPM-Tips.html.tar.bz2
@ -134,6 +134,7 @@ Patch104: lzma-payload.diff
Patch105: lzma-payload-2.diff
Patch106: debugsource-package.diff
Patch107: whatrequires-doc.diff
Patch108: remove-brp-strips.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#
# avoid bootstrapping problem
@ -206,10 +207,8 @@ rm -f rpmdb/db.h
%patch -P 70 -P 71 -P 72 -P 73 -P 74 -P 75 -P 76 -P 77 -P 78 -P 79
%patch -P 80 -P 81 -P 82 -P 83 -P 84 -P 85 -P 86 -P 87 -P 88 -P 89
%patch -P 90 -P 91 -P 92 -P 93 -P 94 -P 95 -P 96 -P 97 -P 98 -P 99
%patch -P 100 -P 101 -P 102 -P 103
%patch -P 100 -P 101 -P 102 -P 103 -P -P 106 -P 107 -P 108
%patch -P 104 -P 105 -b .lzma
%patch106 -p1
%patch107 -p1
chmod 755 scripts/find-supplements{,.ksyms}
chmod 755 scripts/find-provides.ksyms scripts/find-requires.ksyms
tar -xjvf %{SOURCE1}
@ -354,7 +353,7 @@ Summary: A C library for parsing command line parameters
License: LGPL v2.1 or later
Group: System/Libraries
Version: 1.7
Release: 421
Release: 424
#
%description -n popt
@ -377,7 +376,7 @@ Summary: C Library for Parsing Command Line Parameters
License: LGPL v2.1 or later
Group: System/Libraries
Version: 1.7
Release: 421
Release: 424
Requires: popt = 1.7
Requires: glibc-devel
@ -412,6 +411,8 @@ Authors:
%doc %{_mandir}/man3/popt.3*
%changelog
* Thu May 15 2008 dmueller@suse.de
- remove references to brp-strip-comment-note (bnc#390163)
* Tue May 06 2008 mls@suse.de
- enable all parts of the noprovides patch again, making our rpm
compatible to rpm4

View File

@ -1,5 +1,5 @@
--- rpm-4.4.2/doc/rpm.8.orig 2008-04-10 12:02:59.000000000 +0200
+++ rpm-4.4.2/doc/rpm.8 2008-04-10 12:30:16.923076000 +0200
--- doc/rpm.8.orig 2008-04-10 12:02:59.000000000 +0200
+++ doc/rpm.8 2008-04-10 12:30:16.923076000 +0200
@@ -584,6 +584,11 @@
.TP
\fB--whatrequires \fICAPABILITY\fB\fR