SHA256
6
0
forked from pool/rpm

- change disk usage handling to take hardlinks into account

[bnc#720150]

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=439
This commit is contained in:
2018-02-14 09:47:53 +00:00
committed by Git OBS Bridge
parent 6ba1111188
commit 87becdafd6
6 changed files with 187 additions and 118 deletions

View File

@@ -63,8 +63,6 @@ Source10: beecrypt-4.1.2.tar.bz2
Source11: db-4.8.30.tar.bz2
Source12: baselibs.conf
Source13: rpmconfigcheck.service
Source14: find-provides.ksyms
Source15: find-requires.ksyms
Patch1: beecrypt-4.1.2.diff
Patch2: db.diff
Patch3: rpm-4.12.0.1-fix-bashisms.patch
@@ -132,6 +130,7 @@ Patch103: find-lang-qt-qm.patch
Patch108: debugedit-macro.diff
Patch109: pythondistdeps.diff
Patch111: debugedit-bnc1076819.diff
Patch112: hardlinks.diff
Patch6464: auto-config-update-aarch64-ppc64le.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#
@@ -228,18 +227,16 @@ rm -f rpmdb/db.h
%patch -P 85
%patch -P 93 -P 94 -P 99
%patch -P 100 -P 102 -P 103 -P 108
%patch -P 109 -P 111
%patch -P 109 -P 111 -P 112
%ifarch aarch64 ppc64le
%patch6464
%endif
cp %{SOURCE14} %{SOURCE15} scripts
cp config.guess config.sub db/dist/
cp config.guess config.sub beecrypt/
#chmod 755 scripts/find-supplements{,.ksyms}
chmod 755 scripts/find-provides.ksyms scripts/find-requires.ksyms
#chmod 755 scripts/find-provides.ksyms scripts/find-requires.ksyms
#chmod 755 scripts/firmware.prov
#chmod 755 scripts/debuginfo.prov
tar -xjvf %{SOURCE1}