SHA256
6
0
forked from pool/rpm

Accepting request 19545 from Base:System

Copy from Base:System/rpm based on submit request 19545 from user mlschroe

OBS-URL: https://build.opensuse.org/request/show/19545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpm?expand=0&rev=86
This commit is contained in:
OBS User autobuild
2009-09-02 16:05:59 +00:00
committed by Git OBS Bridge
parent beccf7970e
commit 73d87ec7a2
7 changed files with 103 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ PreReq: %insserv_prereq %fillup_prereq permissions
AutoReqProv: on
Summary: The RPM Package Manager
Version: 4.7.1
Release: 2
Release: 3
Source: rpm-%{version}.tar.bz2
Source1: RPM-HOWTO.tar.bz2
Source2: RPM-Tips.html.tar.bz2
@@ -95,6 +95,10 @@ Patch59: disttag-macro.diff
Patch60: buildidprov.diff
Patch61: debugsubpkg.diff
Patch62: debuglink.diff
Patch63: debuginfo-mono.patch
Patch64: allowufdio.diff
Patch65: fixabsfilelists.diff
Patch66: fixqueryreturn.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#
# avoid bootstrapping problem
@@ -154,7 +158,7 @@ rm -f rpmdb/db.h
%patch -P 30 -P 31 -P 32 -P 33 -P 34 -P 35 -P 36 -P 37 -P 38 -P 39
%patch -P 40 -P 41 -P 42 -P 43 -P 44 -P 45 -P 46 -P 47 -P 48 -P 49
%patch -P 50 -P 51 -P 52 -P 53 -P 54 -P 55 -P 56 -P 57 -P 58 -P 59
%patch -P 60 -P 61 -P 62
%patch -P 60 -P 61 -P 62 -P 63 -P 64 -P 65 -P 66
#chmod 755 scripts/find-supplements{,.ksyms}
#chmod 755 scripts/find-provides.ksyms scripts/find-requires.ksyms
#chmod 755 scripts/firmware.prov
@@ -189,6 +193,7 @@ mkdir -p $RPM_BUILD_ROOT/usr/share/locale
ln -s ../share/locale $RPM_BUILD_ROOT/usr/lib/locale
make DESTDIR="$RPM_BUILD_ROOT" install
install -m 755 convertdb1 $RPM_BUILD_ROOT/usr/lib/rpm
install -m 644 db3/db.h $RPM_BUILD_ROOT/usr/include/rpm
# remove .la file and the static variant of libpopt
# have to remove the dependency from other .la files as well
for f in $RPM_BUILD_ROOT/%{_libdir}/*.la; do