Compare commits

...

549 Commits

Author SHA1 Message Date
Fedora Release Engineering
76cdb88b46 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 07:56:43 +00:00
Fedora Release Engineering
0ebeb5e42f - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 05:54:57 +00:00
Peter Robinson
767e7a50a0 rebuild for ima-evm-utils 1.3 2020-07-26 13:53:37 +01:00
Tom Callaway
97e353c02c rebuild for lua 5.4 2020-06-29 22:41:11 -04:00
Panu Matilainen
621aa87bba Rebase to rpm 4.16.0 beta3 2020-06-24 11:37:24 +03:00
Panu Matilainen
f7ecc585d0 Fix prefix search on sqlite backend (many file triggers not running) 2020-06-10 10:40:39 +03:00
Panu Matilainen
b9a32bc4b3 Unbreak metainfo() provide generation 2020-06-08 12:00:05 +03:00
Panu Matilainen
220819b9e7 Don't auto-enable _flush_io on non-rotational media, it's too costly 2020-06-03 10:25:34 +03:00
Panu Matilainen
bd27fcf3b7 Rebase to rpm 4.16.0 beta1 2020-06-01 09:51:16 +03:00
Panu Matilainen
03c8fed85d Move scriptlets to a more logical space in the spec
Accidentally slopped into middle of %files sections by yours truly.
2020-06-01 09:50:30 +03:00
Miro Hrončok
08269f4d3c Rebuilt for Python 3.9 2020-05-22 20:17:50 +02:00
Panu Matilainen
422abdab32 Fix segfault when trying to use unknown database backend 2020-05-12 12:56:04 +03:00
Panu Matilainen
d451552090 Switch default database to sqlite (#1818910)
Newly created databases will be sqlite unless overridden in configuration.

If BDB database is detected at %posttrans of rpm itself, it's flagged
for rebuild in the next reboot. This will serve two purposes: the primary
objective is obviously to convert to configured (ie sqlite) format,
but as a secondary side-effect, any remaining BDB databases will get
a much needed maintenance rebuild from time to time.
2020-05-07 09:15:38 +03:00
Panu Matilainen
82d52d2b3a Use traditional comments instead of %dnl to preserve boostrappability 2020-05-07 08:40:26 +03:00
Panu Matilainen
13e726e8eb Handle rpmdb-rebuild service enablement for upgrades
Discussed in https://pagure.io/fesco/issue/2382, deemed to not require
any exceptions although this is a bit of an unusual path.

%triggerun as opposed to seemingly more obvious %triggerin is used to
ensure preset files have already been updated without adding new
ordering constraints.
2020-05-04 10:17:42 +03:00
Panu Matilainen
1b2c14f39a Fix questionable uses of %{name} and %{version} in the spec
%{name} and %{version} refer to the name and version strings of the
package that will be built and shouldn't be used for things that
do not honor those macros. Such as pre-existing or predetermined
filenames.

De-facto packaging practises over multiple decade liberally (ab)use
these and various other macros in places they don't belong - if rpm itself
doesn't follow its own rules then how can we expect anybody else to do so...

This doesn't change anything as is, but enables both Name: and Version:
to be changed arbitrarily without breaking the package build, which is
how it should optimally be. If this was strictly followed then scl-utils
would've been a walk in the park. Relatively speaking.
2020-04-23 11:00:47 +03:00
Panu Matilainen
931d61f432 Fix regression(s) on build dependency resolution
Upstream ticket https://github.com/rpm-software-management/rpm/issues/1189
2020-04-22 15:43:23 +03:00
Panu Matilainen
b070660329 Remember to actually add the .service file, doh...
Should've been in commit c091c2fcdc
2020-04-22 12:18:02 +03:00
Panu Matilainen
c091c2fcdc Add rpmdb-rebuild systemd service
This can be activated with 'touch /var/lib/rpm/.rebuilddb' to perform
rpmdb rebuild on next reboot. The immediate motivation is having a place
to perform automatic database format conversion in a reasonably safe
manner, but could also serve recovery purposes.
2020-04-22 12:00:38 +03:00
Panu Matilainen
9f5580ba45 Warn on undefined macros in buildtree setup macros (#1820349) 2020-04-20 14:18:05 +03:00
Panu Matilainen
b48020478b Dumb copy-paste error with patch numbers, sigh. 2020-04-09 14:56:35 +03:00
Panu Matilainen
999c698ec1 Fix regression causing all ELF files classified as OCaml 2020-04-09 14:55:12 +03:00
Panu Matilainen
6715757024 Fix invalid path passed to parametric macro generators 2020-04-06 14:40:01 +03:00
Panu Matilainen
8332f4fa64 Fix db lock files not getting packaged
Commit a5c4573419 caused a literal
/var/lib/rpm/.*.* file to be packaged as a ghost instead of the db lock
files it was supposed to catch. Ensure any hidden db locks get copied
too after initializing. Thanks to Thierry Vignaud for spotting.
2020-04-02 12:48:24 +03:00
Panu Matilainen
52a9ca7aad Move bdb specific systemd-tmpfiles cleanup crutch behind the bdb bcond 2020-04-01 14:10:37 +03:00
Panu Matilainen
a5c4573419 Rebase to rpm 4.16.0 alpha
- Add bconds for and enable sqlite, ndb and bdb_ro database backends
- Add bcond for disabling bdb backend
- Drop lmdb bcond, the backend was removed upstream
- Ensure all database backend files are owned
- Fix external environment causing test-suite failures in spec build
- Re-enable hard test-suite failures again
2020-03-31 13:54:46 +03:00
Fedora Release Engineering
5a0eaf89ad - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 17:51:32 +00:00
Panu Matilainen
47d58abc40 Obsolete python2-rpm to fix upgrade path (#1775113) 2020-01-09 13:01:09 +02:00
Panu Matilainen
aa9697a386 Rebase to 4.15.1
Seems that one of the arm patches didn't get reverted upstream which
requires us to carry it here. Oh, poo.
2019-11-18 13:46:45 +02:00
Adam Williamson
7cf9f46d11 Really revert armv8 detection improvements (apply patch)
Peter added the patch to the repo but forgot to add it to the
spec file.
2019-11-14 10:15:02 -08:00
Peter Robinson
2be34826de Revert armv8 detection improvements 2019-10-23 22:38:51 +01:00
Stephen Gallagher
197455deb6
Revert aliasing arm64 to aarch64
Resolves: rhbz#1763831

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-10-21 13:38:12 -04:00
Panu Matilainen
534022dd6d Revert problematic sub-variants of armv8 (#1691430) 2019-10-18 14:56:50 +03:00
Panu Matilainen
d09b7311d5 Drop python2 bindings for good (#1761211)
This means a breakup with F31 branch, but I dont want to add tonne of
conditional build foobar for a dying breed. Bye bye Python 2, and RIP.
2019-10-17 14:25:24 +03:00
Adam Williamson
706be6f0fd Revert systemd inhibit plugin's calling of dbus_shutdown (#1750575) 2019-10-15 17:23:50 -07:00
Panu Matilainen
5c57b11a0f Update to rpm 4.15.0 final 2019-09-26 13:22:19 +03:00
Panu Matilainen
41f9713949 Update to 4.15.0-rc1 2019-08-28 13:32:19 +03:00
Panu Matilainen
48ff1fa7e0 Fix some issues in the thread cap logic 2019-08-27 14:25:07 +03:00
Panu Matilainen
dce71ded33 Re-enable test-suite, temporarily disabled during alpha troubleshooting 2019-08-26 11:35:43 +03:00
Panu Matilainen
a0095d14ee Try again with less broken capping patches... 2019-08-23 14:12:34 +03:00
Panu Matilainen
d678a6a69f Cap number of threads on 32bit platforms (#1729382)
Also drop %_lto_cflags macro (reverted upstream) before people
start adapting its use.
2019-08-23 13:52:16 +03:00
Panu Matilainen
c9c421374c Restore strict order of build scriptlet stdout/stderr output 2019-08-23 13:32:44 +03:00
Miro Hrončok
ac67522da9 Rebuilt for Python 3.8 2019-08-15 18:22:00 +02:00
Miro Hrončok
d962bff879 Rebuilt for libimaevm.so.1 2019-07-31 20:01:44 +02:00
Fedora Release Engineering
e4c27a9cdf - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 18:45:35 +00:00
Igor Gnatenko
b419b5cbcd
Backport patch to not set RPMTAG_BUILDTIME to SOURCE_DATE_EPOCH
We have enabled SOURCE_DATE_EPOCH, but it changed behavior of
RPMTAG_BUILDTIME. We need to restore it…

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-07-20 18:30:29 +02:00
Panu Matilainen
0052ff9134 Rebase to 4.15.0 beta 2019-06-27 11:08:03 +03:00
Panu Matilainen
70d62ac48f Fix excessive TLS use, part II (#1722181) 2019-06-20 15:15:06 +03:00
Panu Matilainen
894aa7a821 Fix excessive TLS use (#1722181) 2019-06-20 14:00:13 +03:00
Panu Matilainen
d8b230b992 Drop buildarch again now that python_provide no longer needs it (#1720139) 2019-06-19 09:39:06 +03:00
Panu Matilainen
c45704ba93 Temporarily re-enable buildarch macro for python_provide macro use (#1720139) 2019-06-14 10:37:34 +03:00
Panu Matilainen
67fd2db9f5 Reorg patches as per upstream status 2019-06-14 10:34:02 +03:00
Panu Matilainen
49f11812bc Don't fail build trying to kill a non-existent process (#1720143) 2019-06-13 12:59:03 +03:00
Igor Gnatenko
5965610d18
Fix build of binary packages in parallel
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-11 14:59:33 +02:00
Igor Gnatenko
7c70aabe3a
Bump release
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-11 13:45:55 +02:00
Igor Gnatenko
82285fa5c1
Copy changelog in one thread at a time
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-11 13:45:21 +02:00
Igor Gnatenko
7b81210f7b
Try fix for omp crash
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-11 12:48:53 +02:00
Igor Gnatenko
c065605b86
Revert generation of binary packages in parallel
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-11 00:09:36 +02:00
Igor Gnatenko
68ce99e7f4
Try some probably non-working fix
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-10 23:46:44 +02:00
Igor Gnatenko
81c625136e
Switch back to 4.15-alpha
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-10 23:40:51 +02:00
Igor Gnatenko
0cd3bd878c
Next bisect (18c92e6fe)
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-10 23:13:47 +02:00
Igor Gnatenko
9e921777c3
Next bisect (d86c0c28a)
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-10 22:48:09 +02:00
Igor Gnatenko
6b35a985c8
Next bisect (272431d34)
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-10 22:27:45 +02:00
Igor Gnatenko
68e6f54804
Next bisect (8da6654e3)
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-10 22:04:22 +02:00
Igor Gnatenko
f1d1d8f7d0
Next bisect (a5d7c6caf)
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-10 21:35:23 +02:00
Igor Gnatenko
1484f717c2
Fix build
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-10 20:54:26 +02:00
Igor Gnatenko
3d63652e9b
Start bisect (57899bd3b)
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-10 20:48:07 +02:00
Igor Gnatenko
5c48e03971
fix file list
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-10 20:30:42 +02:00
Igor Gnatenko
6f6aff51ae
chmod +x proper rpmbuild
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-10 20:23:42 +02:00
Igor Gnatenko
8d4a190d35
Add wrapper to export MALLOC_CHECK_=3
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-10 20:21:58 +02:00
Igor Gnatenko
9e41d42924
Disable tests temporarily
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-10 19:14:43 +02:00
Igor Gnatenko
472245e661
Build with -fsanitize=address
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-10 19:08:57 +02:00
Igor Gnatenko
055ecdaa97
Disable tests temporarily
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-10 17:58:13 +02:00
Igor Gnatenko
cb6bbe0cd7
Add fullstop for audit plugin description
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-10 17:16:14 +02:00
Igor Gnatenko
b52e74b1e1
Drop Group tag from audit plugin
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-10 17:15:52 +02:00
Panu Matilainen
0a7d172130 Update to rpm 4.15.0 alpha
- New rpm-plugin-audit sub-package
- Rebase patches as necessary
- Drop the evil python3 string monkey-patching
- Drop no longer needed LUA_COMPAT defines and friends and use
  %set_build_flags instead.
- python and perl macros and helper scripts are gone
2019-06-10 13:12:47 +03:00
Panu Matilainen
d958e93dd1 More spec cleanups
- Drop support for sanitizer build, it never really worked anyway
- Drop leftover build-dependency on binutils-devel
- Truncate changelog to rpm 4.14.x (last two years)
2019-06-10 10:45:58 +03:00
Panu Matilainen
398bbf6b67 Spec cleanups
- Drop support for Fedora < 28 builds
- Drop leftover BDB-related compiler flag foo
2019-06-10 10:25:58 +03:00
Panu Matilainen
d90bd67908 Avoid DNS use in test-suite, drop obsolete patches
Use pre-determined buildhost in test-suite to avoid DNS usage, sometimes
the builder DNS config is whacked which causes crazy slowdown of our builds.

Drop obsolete specspo and gpg2 related patches, specspo is gone for
seven years and gpg2 preferral is upstream in a different form (thanks
to Igor Gnatenko for pointing these out)
2019-06-07 13:59:22 +03:00
Igor Gnatenko
bda4949bed Use py2/3 macros for building and installing the bindings 2019-06-07 10:34:46 +03:00
Igor Gnatenko
66e2ef5d88
End description with fullstop
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-02 14:27:37 +02:00
Panu Matilainen
3abc97620b Support build-id generation from compressed ELF files (#1650072) 2019-05-21 12:25:27 +03:00
Igor Gnatenko
2688218e05
Suggest gdb-minimal
References: https://fedoraproject.org/wiki/Changes/Minimal_GDB_in_buildroot
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-05-03 18:12:54 +02:00
Panu Matilainen
81329c3ca8 Replace deprecated __global_ldflags uses with build_ldflags macro 2019-04-25 15:04:30 +03:00
Panu Matilainen
c7bd807f7c Fix excessive reference counting on faked string .decode() 2019-04-11 10:38:45 +03:00
Panu Matilainen
d4f7fd8c04 Make the Python 3 API actually usable (#1693751)
All string data from rpm is now returned as surrogate-escaped utf-8
string objects. 99.999% of that data IS utf-8 encoded to begin with,
returning bytes is plain broken.

As a temporary crutch,  monkey-patch a .decode() method to returned strings
to give users time to migrate from the long-standing broken behavior.
2019-04-10 11:52:40 +03:00
Panu Matilainen
57b4e922b2 Debuginfo fixes:
Generate minidebug for PIE executables on file >= 5.33 too
Backport find-debuginfo --g-libs option for glibc's benefit (#1661512)
2019-04-10 10:28:12 +03:00
Fedora Release Engineering
9519e9e6d1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 11:34:43 +00:00
Igor Gnatenko
1aed509f16 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:45 +01:00
Panu Matilainen
52b5a90d43 Meh, rpmtests isn't getting re-generated so patch it directly
...as otherwise the new modularity tag causes test-suite failure
2018-12-19 15:31:34 +02:00
Panu Matilainen
af9bdc4611 Backport the new modularity label tag (#1650286) 2018-12-19 15:18:04 +02:00
Panu Matilainen
6c9430bd2a Acutlly add the patch for the previous comment (yeah its Monday alright) 2018-11-19 13:18:52 +02:00
Panu Matilainen
1eb187d393 Take prefix into account when compressing man pages etc for Flatpak builds
From the original PR (https://src.fedoraproject.org/rpms/rpm/pull-request/15):

    The way that a Flatpak works is that the runtime is mounted at /usr
    and the application and included libraries are mounted at /app. So
    the application and included libraries need to be rebuilt with
    a prefix of /app.

This patch makes brp-compress find man pages and info pages under current
prefix, avoiding the name for spec file changes for the rebuild.
2018-11-19 12:56:21 +02:00
Panu Matilainen
06f829d1d3 Selinux plugin requires a base policy to work (#1641631) 2018-10-24 17:18:58 +03:00
Panu Matilainen
4fa277df97 Rebase to rpm 4.14.2.1 2018-10-22 14:39:48 +03:00
Igor Gnatenko
69ee4d255a
Push name/epoch/version/release macro before invoking depgens
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-10-17 12:58:11 +02:00
Igor Gnatenko
5460ad1e17
Resurrect long since broken Lua library path
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-10-16 11:24:03 +02:00
Panu Matilainen
4ba57b66ab - Actually fail build on test-suite failures again
- Invoke python2 explicitly from test-suite to unbreak build, part II
2018-10-12 09:10:21 +03:00
Panu Matilainen
106f86a617 Cleanup more 10+ year old cruft:
- Drop duplicate BDB buildrequire
- Drop nowadays unnecessary BDB macro foo
- Drop nowadays unnecessary manual libcap dependency

Relevant and necessary in their day, but not anymore.
2018-10-11 16:53:06 +03:00
Panu Matilainen
3f81427a28 - Fix build when systemd is not installed (duh) 2018-10-11 14:46:47 +03:00
Panu Matilainen
d58b662497 - Own all rpmdb files and ensure the list remains up to date
- Drop redundant verify exclusions on rpmdb ghosts
2018-10-11 14:29:55 +03:00
Panu Matilainen
2a29f1e128 - Erm, really use the macro for tmpfiles.d path
- Erm, don't nuke buildroot at beginning of %%install
- Use modern build/install helper macros
2018-10-11 14:15:40 +03:00
Panu Matilainen
85cd9c475b - Eh, selinux plugin dependency condition was upside down (#1493267)
- Drop no longer necessary condition over imaevm name
- Drop no longer necessary obsolete on compat-librpm3
2018-10-11 12:53:16 +03:00
Panu Matilainen
9a8f2080d7 - Fix ancient Python GIL locking bug (#1632488)
- Use the appropriate macro for tmpfiles.d now that one exists
2018-10-11 10:58:38 +03:00
Panu Matilainen
06b8b7f066 Update to rpm 4.14.2 final 2018-08-21 14:26:20 +03:00
Panu Matilainen
8d934fd72d Move python-macro-helper to main package where the macros are (#1577860) 2018-08-13 15:11:25 +03:00
Panu Matilainen
cae019c19a Update to rpm 4.14.2-rc2 2018-08-08 17:12:55 +03:00
Florian Festi
026fff0d83 - Wrap zstd Requires in build condition 2018-08-07 11:24:30 +02:00
Igor Gnatenko
adbe3634b5
Decompress DWARF compressed ELF sections
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-21 10:16:39 +02:00
Fedora Release Engineering
95db6548b8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 03:43:24 +00:00
Miro Hrončok
8029c4e85b Rebuilt for Python 3.7 2018-07-02 18:24:09 +02:00
Panu Matilainen
816a8d9b50 Doh, always forgetting new-sources.. 2018-06-29 15:44:27 +03:00
Panu Matilainen
22e1547001 Update to rpm 4.14.2-rc1
Additionally...
- Patching test-suite for python2 too painful, just sed it instead
- Fix premature version increment from previous changelog entries, oops
2018-06-29 15:43:00 +03:00
Panu Matilainen
e79d625c87 Make it actually build, sigh
- Ehm, need to patch the autogenerated rpmtests script too for python2
- Ehm, it's ldconfig_scriptlets not scripts
- Drop the non-working python envvar magic from obsoleted change
2018-06-29 12:04:11 +03:00
Panu Matilainen
8b3e871c1f Invoke python2 explicitly from test-suite to unbreak build 2018-06-29 11:16:01 +03:00
Panu Matilainen
7d7537244d Remove direct ldconfig calls, use compat macros instead 2018-06-29 11:00:36 +03:00
Miro Hrončok
b86c75e7b0 Rebuilt for Python 3.7 2018-06-15 12:25:41 +02:00
Miro Hrončok
364d038b55 Backport upstream solution to make brp-python-bytecompile automagic part opt-outable
See https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation
2018-05-28 14:12:32 +02:00
Mark Wielaard
43ea916f2f find-debuginfo.sh: Handle application/x-pie-executable
Resolves: #1581224
2018-05-22 23:01:41 +02:00
Igor Gnatenko
99d6687a36
Split rpm-build-libs to one more subpackage rpm-sign-libs
This is the only package in default buildroot pulling in gnupg2 which
pulls gnutls, libgcrypt, nettle…

Acked-by: Panu Matilainen <pmatilai@redhat.com>
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-20 11:34:17 +01:00
Panu Matilainen
29c140818d Explicitly BuildRequire gcc and make 2018-02-19 11:21:50 +02:00
Igor Gnatenko
91f61a528c
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:05:57 +01:00
Panu Matilainen
a83817c556 Avoid unnecessary macro helper dependency on /usr/bin/python (#1538657)
Also fix release of previous changelog entry
2018-01-31 16:11:44 +02:00
Miro Hrončok
f974a6c3d8 Fix patch number (two sixes) 2018-01-30 13:43:55 +01:00
Tomas Orsava
0670d684d5 Add envvar that will be present during RPM build
Part of a Fedora Change for F28: "Avoid /usr/bin/python in RPM build"
https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build
2018-01-30 13:32:10 +01:00
Petr Viktorin
3f65cd7a41 Skip automatic Python byte-compilation if *.py files are not present 2018-01-30 10:48:34 +01:00
Florian Weimer
c6d1f7c3e0 Rebuild to work around gcc bug leading to librpm miscompilation (#1538648) 2018-01-25 16:41:43 +01:00
Panu Matilainen
eb1281d241 Avoid nuking the new python-macro-helper along with dep generators (#1535692) 2018-01-18 10:45:58 +02:00
Panu Matilainen
8219d71cbb Rebase to rpm 4.14.1 2018-01-16 13:39:27 +02:00
Igor Gnatenko
193c8871cc Fix typo in Obsoletes
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-11-07 12:51:46 +01:00
Igor Gnatenko
e6d364fc15 Remove platform-python bits
Platform Python didn't prove to work.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-11-06 15:04:31 +01:00
Panu Matilainen
1a61b7b072 - Move selinux plugin dependency to selinux-policy in Fedora >= 28 (#1493267) 2017-10-26 09:32:14 +03:00
Panu Matilainen
7f79c17b8e Medicine for bogus test-suite failures in buildsys/mock
- Dump out test-suite log in case of failures again
- Don't assume per-user groups in test-suite
2017-10-12 17:10:14 +03:00
Panu Matilainen
9c3c353fc6 Rebase to rpm 4.14.0 final 2017-10-12 12:27:37 +03:00
Troy Dawson
baaf8b93db Cleanup spec file conditionals 2017-10-10 13:54:20 -07:00
Panu Matilainen
cae5fc9f6f Add build conditionals for zstd and lmdb support, actually enable zstd 2017-10-03 16:51:31 +03:00
Panu Matilainen
0cd499eaca Spec cleanups
Move the actual release number out into the open where it's like,
well, visible. Eliminate double negations on libarchive andxz build
conditionals.
2017-10-03 16:49:15 +03:00
Panu Matilainen
b4ee3799d1 BuildRequire gnupg2 for the testsuite 2017-09-29 21:11:36 +03:00
Panu Matilainen
7e9150e88a ima-evm-utils only has a -devel package in fedora >= 28 2017-09-29 11:31:49 +03:00
Panu Matilainen
4e78f8672e Rebase to rpm 4.14.0-rc2 2017-09-28 17:16:34 +03:00
Panu Matilainen
822c26c12e Fix Ftell() past 2GB on 32bit architectures (#1492587) 2017-09-18 16:29:23 +03:00
Panu Matilainen
aa109fa4c6 Seems ima-evm-utils grew a -devel package now - good, update our builddep 2017-09-07 12:53:01 +03:00
Panu Matilainen
37398b20d6 Actually honor with/without libimaevm option, doh
Also in rpm 4.14 imaevm support require ima-evm-utils >= 1.0
due to changed API.
2017-09-07 12:29:39 +03:00
Panu Matilainen
1dda23dab1 - Rebase to rpm 4.14.0-rc1 (http://rpm.org/wiki/Releases/4.14.0)
- Re-enable SHA256 header digest generation (see #1480407)
2017-09-06 18:41:01 +03:00
Panu Matilainen
fefe4f03a3 Band-aid for DB_VERSION_MISMATCH errors on glibc updates (#1465809) 2017-08-28 19:39:24 +03:00
Miro Hrončok
d2519961ce Add patch for consistency with python-rpm-generators 2017-08-24 14:00:38 +02:00
Panu Matilainen
67d7133dc4 Remove ugly kludges from posttrans script, BDB handles this now
Recent libdb handles environment version mismatch automatically and
does a better job of it than we ever could, don't mess with it.
Other than that, it hasn't been really doing it's alleged job in
many years because first yum and then dnf started doing a separate
verify step after the transaction which recreates the environment...
2017-08-24 11:56:54 +03:00
Panu Matilainen
6f54bf086a Silence harmless but bogus error message on noarch packages (#1482144) 2017-08-18 16:17:46 +03:00
Miro Hrončok
4d1adcf80e Build with platform_python 2017-08-17 20:19:05 +02:00
Iryna Shcherbina
412abe2ac1 Platform-python bootstrap: step 1 - build without platform_python
Changes needed for Platform Python Stack change (https://fedoraproject.org/wiki/Changes/Platform_Python_Stack):
- Add platform-python bytecompilation patch: platform-python-bytecompile.patch
- Add platform python deps generator patch: platform-python-abi.patch
- Add a platform-python subpackage and remove system python related declarations
- Build rpm without platform_python for bytecompilation (already set in spec file)

When platform-python package is built, switch to `%bcond_without platform_python`
to build platform-python-rpm subpackage.
2017-08-15 11:09:05 +02:00
Panu Matilainen
351ab49315 Disable macro argument quoting as a band-aid to #1481025
Too many existing macros heavily rely on quotes passing untouched,
needs a different approach upstream.
2017-08-14 11:51:21 +03:00
Panu Matilainen
14f55d6b22 Disable SHA256 header-only digest generation temporarily (#1480407)
There's a bug in rpm 4.13.x rpmkeys -K signature checking that chokes
on unknown tags it's supposed to ignore like older rpm versions do.
Unfortunately that means all active Fedora versions are affected,
so disabling the SHA256 header-only digest generation temporarily to
give time to deal with the other versions.
2017-08-11 09:51:16 +03:00
Panu Matilainen
39cbfb7d94 Doh, remember to upload sources too 2017-08-10 20:54:45 +03:00
Panu Matilainen
353b5cc65e Rebase to rpm 4.13.90 aka 4.14.0-alpha (#1474836) 2017-08-10 20:24:40 +03:00
Igor Gnatenko
4341d10fdf don't ignore test results
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-31 14:48:02 +02:00
Igor Gnatenko
31f6752731 Move _debuginfo_subpackages and _debugsource_packages to redhat-rpm-config
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-31 14:46:51 +02:00
Igor Gnatenko
8896954ef2 Update latest patches from merged versions
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-29 10:12:20 +02:00
Igor Gnatenko
53960f5052 Backport fixes for debuginfo subpackages
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-28 19:35:07 +02:00
Igor Gnatenko
908fe913e5 Backport trivial fix for debugsourcefiles.list ending up in random dir
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-26 07:31:52 +02:00
Igor Gnatenko
768c60d619 ignore test results
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-25 21:58:12 +02:00
Igor Gnatenko
11a51d900b Enable debugsource and debuginfo subpackages by default
As agreed on #fedora-devel with Dennis Gilmore that rel-eng tooling
requires some small changes and even if we miss something, it can
be fixed later.

(08:43:55 PM) dgilmore: we have the immediate tools we know need updating and the changes should be simple
(08:44:13 PM) dgilmore: so I am okay if rpm changed its behaviour right now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-25 21:26:32 +02:00
Igor Gnatenko
e3181b4ffb Make sure that test results are not ignored
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-24 08:42:04 +02:00
Mark Wielaard
54b0c6f766 4.13.0.1-35 - Fix rpmfd_write on big endian arches. 2017-07-23 23:55:58 +02:00
Mark Wielaard
ce3660feb6 Fix rpmfd_write on big endian arches. 2017-07-23 23:53:57 +02:00
Mark Wielaard
b7548d7b53 find-debuginfo.sh: Remove non-allocated NOBITS sections from minisymtab. 2017-07-21 16:13:51 +02:00
Igor Gnatenko
85793f4048 Revert "Band-aid for python library versioning inadequacies (#1435135)"
It's not needed anymore and requires rebuilding RPM each time python updates.

This reverts commit fca9dfc3c7.
2017-07-20 15:32:47 +02:00
Mark Wielaard
284dc31743 Add find-debuginfo.sh: Add --keep-section and --remove-section
Resolves: #1465997
2017-07-18 15:49:11 +02:00
Igor Gnatenko
323283e27f Add automatic provides debuginfo(build-id) = ... into debuginfo subpackages
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-12 11:04:25 +02:00
Igor Gnatenko
3992a6874b Fix brokeness when using %filter_setup (RHBZ #1468476)
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-07 11:39:52 +02:00
Mark Wielaard
e9309e79ee 4.13.0.1-29 - Use file list to explicitly set mode for build-id dirs/files
Resolves: #1452893, #1458839
2017-07-04 14:13:04 +02:00
Igor Gnatenko
082d5d0331 Track all patches on pagure and git format-patch them since they are cherry-picked
This will give us more correct patches which is easier to rebase and they are taken
from real upstream.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-03 14:34:01 +02:00
Mark Wielaard
97b56ab27d 4.13.0.1-28 2017-06-30 15:51:17 +02:00
Mark Wielaard
79f78cc3d5 Add find-debuginfo-and-macro-docs.patch. 2017-06-28 23:17:47 +02:00
Mark Wielaard
1501796e3f Add find-debuginfo-dwz-multi.patch. 2017-06-28 23:05:54 +02:00
Mark Wielaard
7a3daadb26 Add find-debuginfo-filter-built-ins.patch. 2017-06-28 22:25:38 +02:00
Mark Wielaard
6e205bd77e Add debugedit-prefix.patch. 2017-06-28 22:24:24 +02:00
Mark Wielaard
f04311b662 4.13.0.1-27 2017-06-28 15:21:55 +02:00
Mark Wielaard
326fa8d2ef Add find-debuginfo-split-traversal-and-extraction-fix.patch (#1465170) 2017-06-28 15:12:58 +02:00
Igor Gnatenko
34e0e8c813 rebase patches
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-06-28 12:37:07 +02:00
Igor Gnatenko
d7aa14bcd4 Backport patches for rich dependencies from dependency generators
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-06-28 12:29:48 +02:00
Mark Wielaard
da3af5788b Add support for debugsource and debuginfo subpackages
- find-debuginfo-untangle-unique-build-options.patch
- debugsrc-and-sub-debuginfo-packages.patch
2017-06-25 13:17:18 +02:00
Mark Wielaard
a11f229741 Backport parallel debuginfo processing. 2017-06-23 16:24:36 +02:00
Mark Wielaard
117a783617 Fix resetting attr flags in buildid creation (#1449732) 2017-05-30 11:48:59 +02:00
Panu Matilainen
7bc220d2a2 Python dependency generators live in python-rpm-generators now (#1444925) 2017-05-23 12:21:52 +03:00
Panu Matilainen
0123653c89 Fix rpmsign python module import failing (#1393659) 2017-05-23 11:49:46 +03:00
Florian Festi
ebc71181c9 The %srcdir macro is presuming the version will have a format x.y.z
and fails when presented with a longer version `4.13.0.1`.

In addition, the download location changed from `rpm.org` to `ftp.rpm.org`.

Resolves: #1447417
2017-05-03 16:17:00 +02:00
Mark Wielaard
968a569040 Fix rpmbuild world writable empty (tmp) dirs in debuginfo (#641022) 2017-04-25 17:45:30 +02:00
Mark Wielaard
9eaad7b89c Add find-debuginfo.sh -n (debugedit --no-recompute-build-id) option. 2017-04-16 18:23:38 +02:00
Mark Wielaard
e589ca1992 Minisymtab should only be added for executables or shared libraries. 2017-04-16 18:23:20 +02:00
Panu Matilainen
f90c3447a3 gpg path must not depend on %%_prefix and such (#1437726) 2017-03-31 12:16:12 +03:00
Panu Matilainen
b9ddc1fd31 Fix problems in previous commit, related to #1435135:
- Work around missing python[23] during build dependency parse
- Include ISA in the new python library version dependencies too
2017-03-27 12:52:49 +03:00
Panu Matilainen
fca9dfc3c7 Band-aid for python library versioning inadequacies (#1435135)
Apparently Python upstream doesn't care about library versioning
for "minor" things like new symbols being added, defeating automatic
dependency tracking both at rpm and linker level. For random program
X not working until Python is updated too is a minor inconvenience,
but system updater breaking is not fun. Band-aid the situation with
manually inserted dependencies on the full Python version used
for compilation.
2017-03-27 12:22:04 +03:00
Mark Wielaard
0277786e14 Unbreak short-circuited binary builds (#1434235). 2017-03-27 10:37:53 +02:00
Mark Wielaard
bc4decbc5f Add fix for off by one adding DW_FORM_string replacement (#1434347) 2017-03-21 17:04:02 +01:00
Mark Wielaard
915296ceec Add fix for build-ids in non-executable ELF files (#1433837) 2017-03-20 10:20:58 +01:00
Mark Wielaard
20cf529b3c Add tests fix for sed file build-id regexp matching. 2017-03-20 09:56:43 +01:00
Mark Wielaard
c6952c6366 Fix reading and updating (cross-endian) build-id information. 2017-03-17 20:54:07 +01:00
Mark Wielaard
434eb9a375 Do not process build-ids for noarch packages. 2017-03-17 10:59:33 +01:00
Mark Wielaard
03607fe128 Add fix for debugedit replace debug_line files. 2017-03-16 22:27:59 +01:00
Igor Gnatenko
72b4743645 rebase openssl patch
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-03-16 16:37:08 +01:00
Igor Gnatenko
7f27803262 Switch to OpenSSL (RHBZ #1390624)
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-03-16 16:11:11 +01:00
Mark Wielaard
3e1463c90d Add fix to reset buildid file attributes. (#1432372) 2017-03-15 20:13:28 +01:00
Mark Wielaard
1a7230a63a Add fixup fix for build-id warnings on object files (#1430587) 2017-03-10 10:07:16 +01:00
Mark Wielaard
b70aa8f2a7 Really add fix for missing_build_ids_terminate_build without __debug_package. 2017-03-09 15:59:12 +01:00
Mark Wielaard
f66868c678 Add fix for missing_build_ids_terminate_build without __debug_package. 2017-03-09 15:58:09 +01:00
Mark Wielaard
74c3099433 Add fix for build-id warnings on object files (#1430587) 2017-03-09 13:18:23 +01:00
Panu Matilainen
5b4d9835cd Mark Wielaard's backports for debuginfo parallel installation etc (#1427970) 2017-03-08 11:33:04 +02:00
Panu Matilainen
e3416e53e4 Fix incorrect version in latest changelog entry 2017-03-08 11:19:16 +02:00
Pavlina Moravcova Varekova
b50c8542c2 Fix number of references on spec_Type (#1426578) 2017-02-24 12:41:41 +01:00
Tomas Orsava
cef3bf8220 Fix handling of Python wheels by pythondistdeps.py --provides (#1421776) 2017-02-16 13:54:19 +01:00
Panu Matilainen
d2ed0e9c50 Doh, remember to actually upload rpm 4.13.0.1 2017-02-16 13:24:37 +02:00
Panu Matilainen
4fb16e5212 Update to rpm 4.13.0.1 2017-02-16 12:33:06 +02:00
Florian Festi
e38c401574 - Fix Python byte compilation for Python3 only packages
- Fixes #1411588
2017-02-14 14:25:11 +01:00
Fedora Release Engineering
056ac06464 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 11:50:33 +00:00
Panu Matilainen
4324465d43 Resurrect debuginfo GDB index generation (#1410907) 2017-01-23 15:45:57 +02:00
Panu Matilainen
8fcb9658d2 Fix malformed packages being generated around 4GB boundary (#1405570) 2017-01-23 15:45:35 +02:00
Igor Gnatenko
21fe6e8963 use python3 instead of system-python for rpm-build
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2017-01-06 15:06:51 +01:00
Igor Gnatenko
e5922a6b43 Add Requires: python-setuptools for rpm-build (RHBZ #1410631)
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2017-01-06 15:02:24 +01:00
Peter Robinson
3258296da3 Rebuild for Python 3.6 2016-12-21 11:10:27 +00:00
Igor Gnatenko
6a38aee710 Switch rpm-build to system-python (RHBZ #1405483)
References: https://bugzilla.redhat.com/show_bug.cgi?id=1405483
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-12-18 16:44:02 +01:00
Charalampos Stratakis
eadbbd1b84 Rebuild for Python 3.6 2016-12-10 12:56:50 +01:00
Igor Gnatenko
62c1bd02da Fix arch-dependent requires in subpackages (RHBZ #1398591)
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-12-03 13:24:36 +01:00
Igor Gnatenko
a3e7120bb2 Fix arch-dependent requires in subpackages (RHBZ #1398591)
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-11-25 13:20:42 +01:00
Panu Matilainen
ec7193f9fa Expand python subpackage obsoletion range (related: #1394125)
Since everything from F23 to rawhide is moving to 4.13.0 based
rpm the obsoletion range needs to match anything older than rawhide.
2016-11-11 10:19:07 +02:00
Panu Matilainen
d3306a5d53 Fix invalid memory access on %transfiletriggerpostun (#1284645) 2016-11-07 15:09:30 +02:00
Thierry Vignaud
9e615fd4e0 Fix references to package names, re-enable test-suite 2016-11-07 14:49:13 +02:00
Panu Matilainen
dcc21c353f Rebase to rpm 4.13.0 final 2016-11-03 13:33:38 +02:00
Panu Matilainen
32a2500e40 Fix harmless unused variable warning from fedora-specspo patch
Fedora specspo version is much simpler than the upstream one and
doesn't need to change languages etc, just drop the unused foa
tripping warnings.o
2016-11-02 08:01:35 +02:00
Panu Matilainen
cf4d3ed708 Rebase to rpm 4.13.0-rc2 2016-10-20 18:39:56 +03:00
Richard W.M. Jones
9c2066b222 Add upstream patches for riscv64 architecture support.
These two patches are upstream already.  A third patch is also
upstream, but it is not needed with the older RPM we have, so I didn't
include it.
2016-09-23 15:30:01 +01:00
Igor Gnatenko
adf839f07a Backport patch for missing import in Python dependency generator
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-08-24 15:48:12 +02:00
Kalev Lember
6534c05904 Fix -python2 and -python3 subpackage obsoleting from .42 2016-08-24 11:36:10 +02:00
Igor Gnatenko
68f46ed226 Use %%python_provide for python3 subpackage
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-08-23 11:59:19 +02:00
Igor Gnatenko
7cf326913f Backport fixes to ignore .egg-link files in Python dependency generator
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-08-22 16:12:03 +02:00
Igor Gnatenko
7defdb873e add conditional to build with ndb
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-08-13 10:35:20 +02:00
Florian Festi
485d8d8288 - Enable --majorver-provides in Python dependency generator 2016-08-12 11:11:52 +02:00
Igor Gnatenko
76e0e5ca63 Add %%{?system_python_abi}; Fixes and cleanups
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-08-09 18:17:41 +02:00
Fedora Release Engineering
ce564aa882 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 12:32:00 +00:00
Petr Písař
cd3a538d79 Drop rpm-build's dependency on perl-generators
This removes the last run-time dependency on Perl and frees minimal
build root from the Perl. See
<https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl>.
2016-07-18 16:17:29 +02:00
Florian Festi
5d3e134418 - Pass relevant files to new Python dependency generator
by passing all files in the PYthon directories
2016-07-15 12:30:29 +02:00
Florian Festi
82f61bba7f - Add new Python dependency generator (provides only for now) (#1340885) 2016-06-13 16:06:01 +02:00
Florian Festi
ae2bf135f8 - Add support for _buildhost macro (#1309367) 2016-06-02 16:02:52 +02:00
Lubos Kardos
b1ea7e94ff - Fix signing with non-ASCII uid keys
- Resolves: #1243963
2016-05-23 11:05:25 +02:00
Lubos Kardos
2f3f5c83b5 - Use armv7hl isa for all armhfp (armv7h*l) arches
- Resolves: #1326871
2016-05-19 13:18:47 +02:00
Lubos Kardos
933370a6b7 - Filter unversioned deps if corresponding versioned deps exist
- Resolves: #678605
2016-05-17 16:20:23 +02:00
Lubos Kardos
177601750a - Fix sigsegv in stringFormat()
- Resolves: #1316903
- Fix reading rpmtd behind its size in formatValue()
- Resolves: #1316896
2016-04-25 15:17:59 +02:00
Lubos Kardos
9f6c27f43a - escape % chars in previous changelog record 2016-04-15 11:53:25 +02:00
Lubos Kardos
20d5c660aa - Enable --no-backup-if-mismatch by default in %patch macro
- Resolves: #884755
- Add %{_default_patch_flags} to %__patch which is used in %autosetup
- Use fuzz settings for %autopatch/%autosetup
2016-04-15 11:25:09 +02:00
Lubos Kardos
ea526e71ec - Make creating index records consistent for rich and rich-weak deps
- Resolves: #1325982
2016-04-14 13:50:52 +02:00
Lubos Kardos
761a0d9ec7 - Add RPMCALLBACK_ELEM_PROGRESS callback type (needed by dnf) 2016-04-12 16:49:54 +02:00
Igor Gnatenko
5d2cf89172 fix bogus date in %changelog
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-04-09 11:00:40 +02:00
Lubos Kardos
20901a7b46 - Fix non-working combination of %lang and %doc directive
- Resolves: #1254483
2016-04-06 11:36:13 +02:00
Lubos Kardos
0b025ec5a1 - Add posix.redirect2null
- Resolves: #1287918
2016-03-10 15:31:16 +01:00
Florian Festi
6fa824a46b Add description to plugin-systemd-inhibit 2016-02-29 10:59:58 +01:00
Florian Festi
43e89ed19f - Fix ExclusiveArch/ExcludeArch for noarch packages
- Resolves: #1298668
2016-02-26 11:23:45 +01:00
Florian Festi
13b1b5af07 Fix date in changelog 2016-02-26 08:13:10 +01:00
Florian Festi
985d349b70 - Fix dependencies for RemovePathPostfixes
- Resolves: #1306559
2016-02-25 16:59:56 +01:00
Florian Festi
eb90463d6a - Add support for MIPS release 6
- Add mips32 mips64 mipsel and mipseb macros
- Resolves: #1285116
2016-02-19 14:38:42 +01:00
Florian Festi
0d0e45ddf5 Also block idle and sleep in the systemd-inhibit plugin
Resolves: #1297984
2016-02-19 14:38:38 +01:00
Lubos Kardos
fbda200dd8 - Remove size limit when expanding macros
- Resolves: #1301677
2016-02-02 17:15:04 +01:00
Lubos Kardos
8b1762e954 - Harden rpm package again, previous attempt had to be reverted
- Resolves: #1289734
2016-02-01 16:52:08 +01:00
Lubos Kardos
933c30b2f0 - Remove setting %%_gnu macro explictly, no more needed
- Related: #1303265
2016-02-01 14:38:14 +01:00
Lubos Kardos
3d139e0cf5 - Revert using %%configure, it causes problems
- Temporary set %%_gnu macro explictly, just for one build
- Resolves: #1303265
2016-02-01 14:15:28 +01:00
Lubos Kardos
6f4d9623c3 - Use %%configure macro, harden rpm package
- Resolves: #1289734
2016-01-29 16:21:57 +01:00
Lubos Kardos
ee86e21cbd - Escape %%autosetup in previous changelog record 2016-01-19 16:59:50 +01:00
Lubos Kardos
a0329136e3 - Fix %autosetup not to cause errors during run of rpmspec tool
- Resolves: #1293687
2016-01-19 16:20:24 +01:00
Lubos Kardos
cc1db15b09 - Fix recursive calling of rpmdeps tool
- Resolves: #1297557
2016-01-15 16:11:38 +01:00
Florian Festi
d0fa66b1d4 Add support for %missingok as a standalone file attribute 2016-01-15 15:25:44 +01:00
Lubos Kardos
ece6f42375 - Fix not chrooting transaction file triggers 2016-01-15 14:54:25 +01:00
Lubos Kardos
3bf18080b5 - Add possibility to disable file triggers
- Fix unwanted multiple execution of file triggers in dnf
- Resolves: #1282115
2015-11-23 16:16:27 +01:00
Peter Robinson
0a236df57d Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 2015-11-12 12:02:21 +00:00
Lubos Kardos
f545271021 - Fix crash when parsing corrupted RPM file
- Resolves: #1273360
2015-11-06 16:24:27 +01:00
Lubos Kardos
aa8a7b2897 Fix SIGSEGV in case of old unsupported gpg keys
Resolves: #1277464
2015-11-06 13:10:56 +01:00
Jaromir Capik
d5562c9440 Adding STAGE2 bootstrap recipe 2015-11-04 16:38:18 +01:00
Lubos Kardos
3631545efd - Ignore SIGPIPE signals during execucton of scriptlets
- Resolves: #1264198
2015-10-30 14:55:06 +01:00
Florian Festi
627b9bf773 - Move /usr/lib/rpm/fileattrs directory from rpm-build to rpm
- Resolves: #1272766
2015-10-30 11:36:21 +01:00
Lubos Kardos
c235b191f3 - Fix reading a memory right after the end of an allocated area
- Resolves: 1260248
- Add support for various types of dependencies to rpmdeps tool
- Resolves: 1247092
- fix %%autopatch when patch do not exist
- Resolves: 1244172
2015-10-23 16:06:19 +02:00
Lubos Kardos
b73ac86cf5 - If %_wrong_version_format_terminate_build is 1 then terminate build
in case that version format is wrong i. e. epoch is not unsigned
  integer or version contains more separators (":", "-").
  %_wrong_version_format_terminate_build is 1 by deafault
- Resolves: 1251453
2015-10-23 14:42:40 +02:00
Robert Kuska
26ad4d8717 Rebuilt for Python3.5 rebuild 2015-10-14 11:50:50 +02:00
Florian Festi
392d6caed5 - Fix selinux plugin for permissive mode 2015-10-12 12:56:07 +02:00
Florian Festi
2e60cb3797 - Fix new rich dependency syntax 2015-09-07 17:27:40 +02:00
Kalev Lember
72ba7dafee Obsolete compat-librpm3
Make sure that F23->F24 upgrades remove the temporary compat-librpm3
subpackage.
2015-09-05 22:28:51 +02:00
Florian Festi
592510cfdb - Update to upstream 4.13.0-rc1 release 2015-09-02 19:51:49 +02:00
Lubos Kardos
d407fb640c - Fix last occurence of PyString 2015-08-10 14:43:51 +02:00
Lubos Kardos
659760a576 - Add --filetriggers option to show info about file triggers 2015-08-06 15:48:15 +02:00
Lubos Kardos
ad8c4238ac - If globbing of a filename fails, try use the filename without globbing.
- Related: #1246743
- Modify rpmIsGlob() to be more precise and compatible with glob().
- Related: #1246743
2015-08-03 17:43:23 +02:00
Lubos Kardos
977533abf2 - Don't warn when an escaped macro is in a comment
- Related: #1224660
2015-07-30 16:50:54 +02:00
Florian Festi
77efb7ee50 - Fix compressed patches
- Resolves: #1247248
2015-07-27 19:00:10 +02:00
Lubos Kardos
ee316a0bf8 - Enable braces expansion in rpmGlob()
- Resolves: 1246743
2015-07-27 13:56:58 +02:00
Florian Festi
632722fbed - Update to upstream alpha release 2015-07-24 14:16:58 +02:00
Florian Festi
fcbbffb488 - Add support for MIPS platform
- Resolves: #1242786
2015-07-15 10:01:30 +02:00
Florian Festi
8341ec3f15 - Fix Python import directive for more strict Python3 search rules
- Resolves: #1236493
2015-06-29 12:18:50 +02:00
Lubos Kardos
7aff53e3ab - Allow gpg to get passphrase by itself
- resolves: #1228234
2015-06-19 11:28:32 +02:00
Dennis Gilmore
966f2e339b - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 22:32:18 +00:00
Florian Festi
5510dc282d - Add --whatrecommends and friends
- resolves: #1231247
2015-06-12 18:07:38 +02:00
Florian Festi
7307a5ee39 - Fix references to go sources in debuginfo packages
- resolves: #1184221
2015-04-15 10:04:09 +02:00
Lubos Kardos
dabd097bc0 - Fix wrong use of variable strip_g in find-debuginfo.sh
- resolves: #1207434
2015-03-31 11:08:45 +02:00
Lubos Kardos
e972e4365d - Fix segmentation fault
- resolves: #1206750
2015-03-30 09:44:42 +02:00
Lubos Kardos
9fa2c4edfb - Forgot to add patch into git in previous commit. 2015-03-27 16:32:14 +01:00
Lubos Kardos
fa230ece28 - Pass _find_debuginfo_opts -g to eu-strip for executables
- resolves: #1186563
- add_minidebug is not ran when strip_g is set
- related: #1186563
2015-03-27 16:23:43 +01:00
Lubos Kardos
4b03dd3bed - fix "--excludedocs" option
- resolves: #1192625
2015-03-20 14:59:59 +01:00
Florian Festi
02c36c0471 - Fix spec to allow building without plugins (#1182385) 2015-03-20 10:18:48 +01:00
Than Ngo
445502c59d - bump release and rebuild so that koji-shadow can rebuild it
against new gcc on secondary arch
2015-03-16 22:48:06 +01:00
Till Maas
25cfed606c Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
2015-02-21 22:26:06 +01:00
Richard W.M. Jones
68c26ef62d Include upstream patch to fix find-debuginfo (http://www.rpm.org/ticket/887). 2015-02-17 14:08:50 +00:00
Tom Callaway
9008d010c6 rebuild for lua 5.3 2015-01-16 10:21:35 -05:00
Lubos Kardos
2474acb1d0 - Add check against malicious CPIO file name size
- Fixes CVE-2014-8118
- Resolves #1168715
- Fix race condidition where unchecked data is exposed in the file system
- Fixes CVE-2013-6435
- Resolves #1039811
2014-12-12 17:06:03 +01:00
Panu Matilainen
dca944eea4 - Axe unused generator scripts forcing a perl dependency (#1158580, #1158583) 2014-10-30 15:51:14 +02:00
Panu Matilainen
3feadd7134 - Skip ghost files in payload (#1156497)
- Fix size and archice size tag generation on big-endian systems
2014-10-28 11:19:13 +02:00
Panu Matilainen
96d48126ff - Dont wait for transaction lock within scriptlets (RhBug:1135596) 2014-10-01 10:16:37 +03:00
Panu Matilainen
2176e2752d - Update to rpm-4.12.0.1 final (http://rpm.org/wiki/Releases/4.12.0.1)
- Temporary workaround payload size mismatch issue in rpm2cpio (#1142949)
2014-09-18 14:25:40 +03:00
Panu Matilainen
2e5e062433 - Reduce the double separator spec parse error into a warning (#1065563) 2014-09-17 09:59:57 +03:00
Panu Matilainen
814137c1a7 - Update to rpm-4.12.0 final 2014-09-16 13:53:02 +03:00
Panu Matilainen
5ce01ef303 - Resurrect payload and tilde rpmlib() dependencies 2014-09-09 13:16:01 +03:00
Panu Matilainen
433fd17098 - Remember to update sources... 2014-08-27 10:02:48 +03:00
Panu Matilainen
da2b22a298 - Update to rpm-4.12.0-rc1 2014-08-27 09:03:53 +03:00
Panu Matilainen
c95977245e - Whoops, typo in patch name 2014-08-25 11:13:37 +03:00
Panu Matilainen
13df4aa4d6 - Resurrect dependency logging on package build
- Resurrect rpmlib() dependencies in src.rpms
2014-08-25 11:10:29 +03:00
Panu Matilainen
d2ca31c3f6 - Fix duplicate trigger indexes caused by beta1.3 fix (#1131960) 2014-08-20 15:18:29 +03:00
Panu Matilainen
c14ac95363 - Emergency hack for #1131892 2014-08-20 11:55:23 +03:00
Panu Matilainen
5f498494f8 - Fix regression on rpmspec dependency queries 2014-08-18 16:50:06 +03:00
Panu Matilainen
a0d39e5bf3 - Fix regression on BuildRequires checking 2014-08-18 15:11:34 +03:00
Panu Matilainen
74824106c8 - Update to 4.12.0-beta1
- Fixes #1122004, #1111349, #1117912, #1123722
- Drop upstreamed patches
2014-08-18 12:14:31 +03:00
Peter Robinson
19dfee2e9e - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 00:17:47 +00:00
Panu Matilainen
a3ae732fc9 - Fix wildcard database iterator (#1115824) 2014-07-03 13:43:42 +03:00
Panu Matilainen
017fe597e0 - Hopefully fix armv7 vfp/neon detection 2014-07-02 14:32:57 +03:00
Panu Matilainen
421823c7c2 - Use autosetup for building rpm itself 2014-07-02 13:09:33 +03:00
Panu Matilainen
7674f0d76b - Macro-expand load macro argument 2014-07-01 13:39:03 +03:00
Panu Matilainen
9787eb5021 - Drop no longer needed temporary UsrMove patch 2014-07-01 13:36:55 +03:00
Panu Matilainen
44dacef8e0 - Fix multiple interleaved hardlink groups during build 2014-06-30 14:52:01 +03:00
Panu Matilainen
7c2b7db688 - Update to rpm 4.12-alpha
- Drop/adjust patches as appropriate
- New sub-package(s) for plugins
2014-06-30 10:53:59 +03:00
Panu Matilainen
365a62b957 - Clean up old, no longer needed cruft from spec
- BuildRoot and %clean haven't been needed in ages
  - Dont bother compressing ChangeLog which is not even packaged anymore
  - Remove old ocaml-conflict from pre-4.8.0 era
2014-06-26 16:26:31 +03:00
Panu Matilainen
54309be7c5 - Mark licenses as such, not documentation 2014-06-26 12:27:39 +03:00
Panu Matilainen
b9e9858cd0 - Perl dependency generators live in perl-generators (#1110823) now 2014-06-25 17:48:06 +03:00
Lubomir Rintel
4a3c933f78 Fix the armhfp patch for armv6hl
The previous armhfp patches tried to cover armv6, but failed to do so properly
-- the hfp extension for v6 is called "vfp", not "vfpv3" and there's no "neon"
extension for it, this "armv6hnl" does not make sense at all.

Because of this, Pidora decided to patch around it so that their armv6hl
Raspberry Pi hardware is supported, breaking support for other ARMs along the
way...
2014-06-18 22:38:54 +02:00
Panu Matilainen
d1508b085d - Rawhide broke our test-suite, disable for now to allow builds to be done 2014-06-10 14:48:48 +03:00
Dennis Gilmore
ef6ec38db7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 21:54:02 -05:00
Peter Robinson
621bb044e5 Drop ChangeLog.bz2 (it's in the source, and it's large) 2014-05-31 22:45:05 +01:00
Slavek Kabrda
b423b7ffd8 Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 2014-05-15 11:14:53 +02:00
Tom Callaway
cbf52c88bb remove all _isa macros from BuildRequires 2014-04-21 14:36:44 -04:00
Panu Matilainen
056da825f0 - Move kmod and libsymlink dependency generators to redhat-rpm-config
- These are specific to Fedora so might as well live there, and
  this also avoids having to carry patches in rpm (and rebuild for
  changes) for no good reason
2014-04-15 10:11:47 +03:00
Panu Matilainen
7464dd0d4f - fix appdata.prov script missing from package 2014-04-14 16:58:58 +03:00
Panu Matilainen
88271d9741 - disable sanitizers for now, needs more work, having everything
rpm fail with undefined symbols is not nice...
2014-04-11 12:19:49 +03:00
Panu Matilainen
e1b7ad0d36 - realize -fsanitizer=foo failures were due to missing buildrequires...
- add bcond for building with sanitizer(s)
2014-04-11 11:28:08 +03:00
Panu Matilainen
f2b1ddb50a - gcc barfs on -fsanitize=undefined, hmm... 2014-04-11 11:03:17 +03:00
Panu Matilainen
388fec1a2d - build with -fsanitize=undefined and -fsanitize=address for now 2014-04-11 10:01:17 +03:00
Panu Matilainen
7aa67a41a8 - replace unmaintained dependency generator scripts with rpmdeps wrappers 2014-04-08 12:10:58 +03:00
Panu Matilainen
883afd1e17 - revert #1045723 fix for now, it breaks some java package macros 2014-03-27 11:06:55 +02:00
Panu Matilainen
af2c060789 - fix build and sign module initialization in python3 (#1064758) 2014-03-26 11:19:55 +02:00
Panu Matilainen
600ff28b8e - fully reset file actions between rpmtsRun() calls (#1076552) 2014-03-26 11:19:55 +02:00
Panu Matilainen
98f66a8089 - dont eat newlines on parametrized macro invocations (#1045723) 2014-03-26 11:19:54 +02:00
Panu Matilainen
f22eb5b4ba - reduce the double separator spec parse error into a warning (#1065563) 2014-03-13 23:34:24 +00:00
Panu Matilainen
2970ed07c9 - update to 4.11.2 final 2014-02-13 09:32:26 +02:00
Panu Matilainen
5947294b4d - update to 4.11.2-rc2 2014-02-06 13:04:20 +02:00
Panu Matilainen
95306529f5 - Yup, its Monday... we need explicit autoreconf to handle automake
1.13 -> 1.14 on rawhide, and that needs libtool as well temporarily
  (http://geekandpoke.typepad.com/geekandpoke/2011/11/temporarily.html)
2014-01-20 15:24:57 +02:00
Panu Matilainen
5d52c29bb2 - once again, buildrequire automake temporarily 2014-01-20 15:03:21 +02:00
Panu Matilainen
1d5ceec05f - update to 4.11.2-rc1
- drop upstreamed patches, adjust others as needed
- handle python egg-info's version munging in file lists
2014-01-20 14:51:31 +02:00
Panu Matilainen
5c70a391af - oops, its a new year... 2014-01-15 12:15:59 +02:00
Panu Matilainen
2b1b27387c - include ppc64le in %%power64 macro (#1052930) 2014-01-15 12:14:59 +02:00
Panu Matilainen
3af1bf3896 - dont override CONFIG_SITE if already set (related to #962837) 2013-12-03 09:28:27 +02:00
Panu Matilainen
3d4d533590 - generate kmod(module.ko) provides for kernel (#1025513) 2013-12-03 09:26:52 +02:00
Panu Matilainen
7bc2daa0cc - python 3 string and file compatibility fixes 2013-11-18 11:11:18 +02:00
Panu Matilainen
944d93e504 - generate application() provides from .desktop files (for gnome-software) 2013-10-14 11:37:00 +03:00
Panu Matilainen
0bacf1cba5 - add support for ppc64le architecture
- adjust armhftp-logic patch to apply without fuzz due to above
2013-10-01 15:13:51 +03:00
Panu Matilainen
9c611011c4 - fix build-time double-free on file capability processing (#956190)
- fix relocation related regression on file sanity check (#1001553)
- fix segfault on empty -p <lua> scriptlet body (#1004062)
- fix source url, once again
2013-09-09 14:58:21 +03:00
Panu Matilainen
f5c5c333a8 - add python3 sub-package, based on patch by Bohuslav Kabrda 2013-08-21 13:39:02 +03:00
Petr Písař
063bc78547 Perl 5.18 rebuild 2013-08-03 12:05:45 +02:00
Panu Matilainen
bd79c15028 - add missing dependency on tar to rpm-build (#986539) 2013-08-02 13:00:16 +03:00
Florian Festi
9ef65439e1 - Do not filter ld64.* and ld64-* provides and requires (#988373) 2013-07-30 17:57:45 +02:00
Petr Písař
73d396e4f0 Perl 5.18 rebuild 2013-07-17 13:28:44 +02:00
Panu Matilainen
2bbb203d3d - ensure relocatable packages always get install-prefix(es) set (#979443) 2013-07-05 10:41:32 +03:00
Panu Matilainen
1f5bf02b91 - sepdebugcrc buildrequires binutils-devel 2013-07-04 11:22:23 +03:00
Panu Matilainen
41d93db4c0 - fix .gnu_debuglink CRC32 after dwz (#971119) 2013-07-04 11:06:27 +03:00
Panu Matilainen
cda13cd678 - update to 4.11.1 final 2013-06-27 13:55:38 +03:00
Panu Matilainen
7879e3bd92 - update to 4.11.2-rc2 (http://rpm.org/wiki/Releases/4.11.1)
- drop upstreamed patches
2013-06-20 11:34:12 +03:00
Panu Matilainen
17960b66b2 - handle aarch64 debug_info relocations in debugedit (#974860) 2013-06-17 10:12:11 +03:00
Panu Matilainen
090b90d00e - whoops, siteconfig patch got diffed against wrong version 2013-06-11 15:08:51 +03:00
Panu Matilainen
b1b48bd8b0 - disable autoconf config.site processing in builds (#962837) 2013-06-11 14:49:45 +03:00
Panu Matilainen
4cf31cb6ea - fix regression on addressing main package by its name (#972994) 2013-06-11 09:58:42 +03:00
Panu Matilainen
68ff3e10f7 - update to 4.11.1-rc1
- drop upstreamed/unused patches
2013-06-10 12:11:00 +03:00
Panu Matilainen
e033e9868a - serialize BDB environment open/close (#924417) 2013-05-28 09:38:53 +03:00
Panu Matilainen
1cefad535c - only consider files with .pm suffix as perl modules (#927211) 2013-05-22 08:48:55 +03:00
Panu Matilainen
b3bdf6087f - filter out non-library soname dependencies 2013-05-17 11:44:03 +03:00
Panu Matilainen
e3501faaf5 - check for stale locks when opening write-cursors (#860500, #962750...) 2013-05-16 12:32:45 +03:00
Tom Callaway
52532da53c lua 5.2 fixes from upstream 2013-05-10 10:31:57 -04:00
Panu Matilainen
34ff1a94bc - yup, its a Monday... bad syntax in changelog 2013-03-25 13:41:15 +02:00
Panu Matilainen
6fb2566e2d - make rpm-build depend on virtual system-rpm-config provide 2013-03-25 13:24:24 +02:00
Panu Matilainen
b1ec72fa5c - update to 4.11.0.1 2013-02-04 09:28:53 +02:00
Panu Matilainen
8476df1a8e - revert yesterdays ghost-fix, it eats rpmdb's on upgrades 2013-01-29 12:51:26 +02:00
Panu Matilainen
8020bfa4fe - fix regression on paths shared between a real file/dir and a ghost 2013-01-28 14:03:33 +02:00
Panu Matilainen
3b3e157787 - fix duplicate directory ownership between rpm and rpm-build (#894201) 2013-01-28 14:02:47 +02:00
Panu Matilainen
0eab6b80b4 - armv7hl and armv7hnl should not have -mthumb (#901901) 2013-01-28 14:01:01 +02:00
Panu Matilainen
4ba2ab5a13 - update to 4.11 beta
- drop upstreamed patch
2012-12-11 11:59:02 +02:00
Panu Matilainen
323b73c111 - pooh, dont just create but actually package /usr/lib/rpm/macros.d 2012-11-19 12:12:55 +02:00
Panu Matilainen
32c689a3a5 - fixup a bunch of old incorrect dates in spec changelog 2012-11-19 12:04:05 +02:00
Panu Matilainen
1910919549 - package /usr/lib/rpm/macros.d directory (related to #846679) 2012-11-19 11:51:41 +02:00
Panu Matilainen
2d4d8e8284 - fix double-free on %caps in spec (#877512) 2012-11-17 19:06:29 +02:00
Panu Matilainen
93c12c40a9 - update to 4.11 post-alpha snapshot
- drop/adjust patches as necessary
2012-11-15 10:40:51 +02:00
Panu Matilainen
25a06f20fe - fix noarch __isa_* macro filter in installplatform (#865436) 2012-10-11 18:03:15 +03:00
Panu Matilainen
240842c0b0 - account for intentionally skipped files when verifying hardlinks (#864622) 2012-10-10 10:41:57 +03:00
Panu Matilainen
c9d5915d63 - update to 4.10.1 2012-10-03 13:13:39 +03:00
Panu Matilainen
71102f1372 - move our tmpfiles config to more politically correct location (#840192) 2012-07-30 10:55:54 +03:00
Dennis Gilmore
25c2d9d09b - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 12:02:39 -05:00
Panu Matilainen
4660edea18 - force _host_vendor to redhat to better match toolchain (#485203) 2012-07-02 13:34:35 +03:00
Panu Matilainen
31171a2dbd - merge ppc64p7 related fixes that only went into f17 (#835978) 2012-06-28 10:29:29 +03:00
Panu Matilainen
7f2e4e1cba - add support for minidebuginfo generation (#834073) 2012-06-27 13:18:19 +03:00
Panu Matilainen
a744c5314e - add dwarf compression support to debuginfo generation (#833311) 2012-06-25 12:33:03 +03:00
Panu Matilainen
8b0317c23b - update to 4.10.0 final 2012-05-24 10:34:16 +03:00
Panu Matilainen
3536607e82 - oops, snap vs pre-release version delimiter differs 2012-04-23 13:33:40 +03:00
Panu Matilainen
6511ed26fe - update to 4.10.0-beta1 2012-04-23 13:23:05 +03:00
Phil Knirsch
e780ef5860 - Modified the rpm-4.9.0-armhfp-logic.patch after adding the ppc64p7 support
(cherry picked from commit 4b44325a0c)
2012-04-23 11:55:30 +03:00
Phil Knirsch
1cb8824e50 - Updated rpm-4.6.0-niagara.patch after addition of the ppc64p7 support
(cherry picked from commit b88a8e4d8a)
2012-04-23 11:55:23 +03:00
Panu Matilainen
870ba436ae - newer git snapshot (#809402, #808750)
- adjust posttrans script wrt bdb string change (#803866, #805613)
2012-04-17 07:28:04 +03:00
Panu Matilainen
302bffb0be - newer git snapshot to keep patch-count down
- fixes CVE-2012-0060, CVE-2012-0061 and CVE-2012-0815
- fix obsoletes in installing set getting matched on provides (#810077)
2012-04-05 12:12:57 +03:00
Jindrich Novy
871a7817ae rebuild against new libdb 2012-04-04 14:52:14 +02:00
Jindrich Novy
16864eefd3 build with internal libdb to allow libdb with higher soname 2012-04-03 10:38:44 +02:00
Panu Matilainen
f097c8059c - fix base arch macro generation (#808250) 2012-03-30 10:08:08 +03:00
Panu Matilainen
99eadda673 - accept files as command line arguments to rpmdeps again (#807767) 2012-03-29 11:41:48 +03:00
Panu Matilainen
f34c5bc80a - remove fake library provide hacks now that deltarpm got rebuilt 2012-03-26 11:50:17 +03:00
Panu Matilainen
e56f273491 - fix header data length calculation breakage
- fix keyid size bogosity causing breakage on 32bit systems
2012-03-23 15:01:05 +02:00
Panu Matilainen
ef85bcbf47 - add temporary fake library provides to get around deltarpm "bootstrap"
dependency (yes its dirty)
2012-03-21 12:10:10 +02:00
Panu Matilainen
75a190c34e - fix overzealous sanity check breaking posttrans scripts 2012-03-21 09:18:26 +02:00
Panu Matilainen
8a46159dde - fix bad interaction with yum's test-transaction and pretrans scripts 2012-03-20 16:40:27 +02:00
Jindrich Novy
85ab1efe52 - rebuild 2012-03-20 12:22:23 +01:00
Panu Matilainen
ae9bea02d8 - update to pre-4.10 upstream snapshot
- drop/adjust patches as necessary
2012-03-20 11:55:51 +02:00
Panu Matilainen
a709ae3098 - fix backport thinko in the exclude patch 2012-03-07 12:57:29 +02:00
Panu Matilainen
f510e148ba - bah, test-suite auto*foo stupidity 2012-03-07 12:23:36 +02:00
Panu Matilainen
d06308ca0b - fix memory corruption on rpmdb size estimation (#766260)
- fix couple of memleaks in python bindings (#782147)
- fix regression in verify output formatting (#797964)
- dont process spec include in false branch of if (#782970)
- only warn on missing excluded files on build (#745629)
- dont free up file info sets on test transactions
2012-03-07 12:08:22 +02:00
Panu Matilainen
e8efccb3d4 - switch back to smaller BDB cache default (#752897) 2012-02-09 09:50:00 +02:00
Dennis Gilmore
72d4c0c695 always apply arm hfp macros, conditionally apply the logic to detect hfp 2012-01-15 17:26:03 -06:00
Panu Matilainen
c3ac54c9d5 - adjust perl and python detection rules for libmagic change (#772699) 2012-01-10 10:55:04 +02:00
Jindrich Novy
156379cf0b recognize perl script as perl code (#772632) 2012-01-09 20:55:26 +01:00
Kay Sievers
1439f01e4e add temporary rpmlib patch to support filesystem transition
https://fedorahosted.org/fpc/ticket/118#comment:14
2011-12-20 15:54:23 +01:00
Panu Matilainen
6d6d459ffb - switch over to libdb, aka Berkeley DB 5.x 2011-12-02 10:05:19 +02:00
Panu Matilainen
fc034ad970 - fix classification of ELF binaries with setuid/setgid bit (#758251) 2011-12-01 09:25:05 +02:00
Panu Matilainen
52396413d2 - adjust font detection rules for libmagic change (#757105) 2011-11-25 16:13:46 +02:00
Dennis Gilmore
1672df911c conditionally apply arm patch for hardfp on all arches but arm softfp ones 2011-11-09 19:48:45 -06:00
Panu Matilainen
21c63d106d - adjust db util prefix & dependency due to #749293
- warn but dont fail the build if STABS encountered by debugedit (#725378)
2011-10-28 15:31:52 +03:00
Panu Matilainen
bd02f6c71b - try teaching find-lang about the new gnome help layout (#736523) 2011-10-12 11:55:41 +03:00
Panu Matilainen
6d748ba15f - update to 4.9.1.2 (CVE-2011-3378)
- drop upstreamed rpmdb signal patch
2011-09-29 16:22:09 +03:00
Panu Matilainen
0d72de20ce - fix signal blocking/unblocking regression on rpmdb open/close (#739492) 2011-09-19 13:09:38 +03:00
Peter Robinson
a6258ccd0a drop last change as we have gdb on arm 2011-08-09 10:47:19 +01:00
Peter Robinson
7c0b68cbe5 add arm conditional for gdb-add-index 2011-08-09 10:43:12 +01:00
Adam Jackson
4dd6dd15e6 Add RPM_LD_FLAGS to build environment (#728974) 2011-08-08 10:28:25 -04:00
Panu Matilainen
541e4803c3 - update to 4.9.1.1 2011-08-02 13:37:18 +03:00
Panu Matilainen
c81abc1f8e - fix recursion of directories with trailing slash in file list (#722474) 2011-07-19 11:22:49 +03:00
Panu Matilainen
d123f007fc Merge branch 'f15' 2011-07-15 14:39:03 +03:00
Panu Matilainen
789268da7d - update to 4.9.1
- drop no longer needed patches
2011-07-15 14:30:19 +03:00
Panu Matilainen
3b3876d5b9 - rebuild to fix a missing interpreter dependency due to bug #712251 2011-06-16 22:32:54 +03:00
Panu Matilainen
59df4acec7 Merge branch 'master' into f15
* master: (3 commits)
  - fix crash if prep or changelog section in spec is empty (#706959) - fix crash on macro which undefines itself - fix script dependency generation with file 5.07 string changes (#712251)
  ...
2011-06-10 12:51:02 +03:00
Panu Matilainen
23ac61a41f - fix crash if prep or changelog section in spec is empty (#706959)
- fix crash on macro which undefines itself
- fix script dependency generation with file 5.07 string changes (#712251)
2011-06-10 12:32:12 +03:00
Panu Matilainen
aca4330de0 - add dwarf-4 support to debugedit (#707677)
- generate build-id symlinks for all filenames sharing a build-id (#641377)
2011-05-26 10:06:47 +03:00
Panu Matilainen
2aa3612ada - add missing ldconfig calls to build-libs sub-package
- fix source url
2011-04-07 10:19:13 +03:00
Panu Matilainen
0c490cbc14 Merge branch 'master' into f15
* master:
  - revert the spec query change (#693338) for now, it breaks fedpkg
2011-04-07 09:31:01 +03:00
Panu Matilainen
4a8cd53363 - revert the spec query change (#693338) for now, it breaks fedpkg 2011-04-07 09:21:33 +03:00
Panu Matilainen
5d0960ecd7 Merge branch 'master' into f15 2011-04-05 19:06:26 +03:00
Panu Matilainen
5a40a02fce - verify some properties of replaced and wrong-colored files (#528383)
- only list packages that would be generated on spec query (#693338)
- preferred color packages should be erased last (#680261)
- fix leaks when freeing a populated transaction set
- take file state into account for file dependencies
2011-04-05 18:24:15 +03:00
Panu Matilainen
9f15eeef19 Bleach, merge-error 2011-03-22 09:18:51 +02:00
Panu Matilainen
ae27e7d914 Merge branch 'master' into f15
* master: (3 commits)
  - fix classification of elf executables with sticky bit set (#689182)
  - also renumber manifest crash patch to reflect upstream status
  ...
2011-03-22 09:08:43 +02:00
Panu Matilainen
629d3eaa76 - fix classification of elf executables with sticky bit set (#689182)
- also renumber manifest crash patch to reflect upstream status
2011-03-22 08:46:32 +02:00
Jindrich Novy
daa59d2b02 - fix crash in package manifest check (#688091) 2011-03-16 15:25:04 +01:00
Jindrich Novy
8a02be2d43 - fix crash in package manifest check (#688091) 2011-03-16 15:03:27 +01:00
Panu Matilainen
36549e20c4 - fix duplicate rpmsign binary in rpm main package dragging in build-libs 2011-03-04 21:33:17 +02:00
Panu Matilainen
ffbcdae5f2 - update to 4.9.0 final
- drop upstreamed patches
2011-03-02 11:25:38 +02:00
Panu Matilainen
15f0143ab5 - wipe out BDB environment at boot via tmpfiles.d 2011-03-01 16:17:00 +02:00
Panu Matilainen
1fc711af96 - spec cosmetics: clean up extra whitespace in filelist 2011-03-01 16:15:48 +02:00
Panu Matilainen
8e71066bd2 - fix erronous double cursor open, causing yum reinstall hang (#678644) 2011-02-21 11:03:32 +02:00
Panu Matilainen
e50e6cafd1 - fix broken logic in depgen collector, hopefully curing #675002 2011-02-21 08:58:59 +02:00
Panu Matilainen
dbc4ff7c0a Gaah, its actually nss-softokn-freebl-devel we want 2011-02-15 16:42:39 +02:00
Panu Matilainen
1aaf8b250c - nss packaging has changed, buildrequire nss-softokn-devel 2011-02-15 16:06:43 +02:00
Panu Matilainen
15426fb9a1 - update to 4.9.0-rc1
- drop upstream patches
2011-02-15 15:49:32 +02:00
Dennis Gilmore
18e9c7d0e1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 02:40:30 -06:00
Panu Matilainen
05eaef6e80 - fix segfault when building more than one package at a time (#675565) 2011-02-07 09:21:01 +02:00
Panu Matilainen
065f3e2851 - adjust ocaml rule for libmagic string change 2011-02-06 10:01:55 +02:00
Panu Matilainen
5430e272b0 - dont try to remove environment files if private env used (related to #671200)
- unbreak mono dependency extraction (#673663)
- complain instead of silent abort if cwd is not readable (#672576)
2011-01-31 10:14:23 +02:00
Panu Matilainen
637e6c8e36 - add support for Requires(posttrans) dependencies 2011-01-25 15:33:09 +02:00
Panu Matilainen
f3f6be5ff3 - avoid division by zero in rpmdb size calculation (#671056)
- fix secondary index iteration returing duplicate at end (#671149)
- fix rebuilddb creating duplicate indexes for first header
2011-01-21 14:07:30 +02:00
Panu Matilainen
7528e0627e - permit queries from rpmdb on read-only media (#671200) 2011-01-21 09:38:28 +02:00
Panu Matilainen
194d109a60 - remember to add new versions of patches + the libsymlink attribute file, meh 2011-01-18 14:27:59 +02:00
Panu Matilainen
f29fc6771b - rpm 4.9.0-beta1 (http://rpm.org/wiki/Releases/4.9.0)
- drop no longer needed patches
  - adjust requires + buildrequires to match current needs
  - adjust rpmdb index ghosts to match the new release
  - split librpmbuild and librpmsign to a separate rpm-build-libs package
  - split rpmsign to its own package to allow signing without all the build goo
  - build-conditionalize plugins, disabled for now
  - gstreamer and printer dependency generation moving out
  - handle .so symlink dependencies with fileattrs
2011-01-18 14:20:26 +02:00
Panu Matilainen
566e45ff17 - err, dates got rather mixed up 2011-01-18 13:58:50 +02:00
Panu Matilainen
c458285035 - bunch of spec tweaks, cleanups + corrections:
- shorten rpm-build filelist a bit with glob use, reorder for saner grouping
  - missing isa in popt version dependency
  - only add rpmdb_foo symlinks for actually relevant db_* utils
  - drop no longer necessary file-devel dependency from rpm-devel
  - drop sqlite backend build-conditional
  - preliminaries for moving from db4 to libdb
- use gnupg2 for signing as that's more likely to be installed by default
2011-01-18 13:54:19 +02:00
Jindrich Novy
981d8818d4 rebuild with new xz-5.0.0 2010-10-25 18:49:06 +02:00
Panu Matilainen
044488d849 - include COPYING in -apidocs for licensing guidelines compliance 2010-08-10 10:16:24 +03:00
Panu Matilainen
5e5b68f3e7 - create gdb index on debuginfo generation (#617166)
- rpm-build now requires /usr/bin/gdb-add-index for consistent index creation
2010-08-10 10:09:03 +03:00
Fedora Release Engineering
ac644a005f dist-git conversion 2010-07-29 11:37:32 +00:00
dmalcolm
a66aed5e6c - Rebuilt for
https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-07-22 06:22:27 +00:00
Panu Matilainen
0a9294bf7f - ugh, braindamaged reversed condition in the font provide extractor "fix" 2010-07-02 10:22:11 +00:00
Panu Matilainen
cc06306cbe - fix a potential getOutputFrom() error from font provide extraction
- debug-friendlier message to aid finding other similar cases (#565223)
2010-06-30 09:44:37 +00:00
Panu Matilainen
154da42107 - update to 4.8.1
- drop no longer needed patches
- fix source url pointing to testing directory
2010-06-11 10:49:22 +00:00
Panu Matilainen
aaf4885601 - also strip POSIX file capabilities from hardlinks on upgrade/erase
(#598775)
2010-06-03 08:18:21 +00:00
Panu Matilainen
8c454e468a - remove s-bits on upgrade too (#598775) 2010-06-02 06:27:47 +00:00
Panu Matilainen
6462ae4d5c - fix segfault in spec parser (#597835) 2010-05-31 06:00:03 +00:00
Panu Matilainen
019f97fda6 - adjust to new pkg-config behavior wrt private dependencies (#596433)
- rpm-build now requires pkgconfig >= 0.24
2010-05-27 12:34:35 +00:00
Panu Matilainen
5004ac7e27 - handle non-existent dependency sets correctly in python (#593553)
- make find-lang look in all locale dirs (#584866)
2010-05-21 13:06:25 +00:00
Panu Matilainen
bf44a4b91a - lose dangling symlink to extinct (and useless) berkeley_db_svc (#585174) 2010-04-23 11:09:39 +00:00
Panu Matilainen
7d0e69f0b5 - fix python match iterator regression wrt boolean representation 2010-03-24 08:09:48 +00:00
Panu Matilainen
ecc5d6babb - unbreak find-lang --with-man from yesterdays braindamage 2010-03-17 05:31:03 +00:00
Panu Matilainen
53b8b3c646 - dont own localized man directories through find_lang (#569536) 2010-03-16 09:41:32 +00:00
Panu Matilainen
6816f23e04 - teach python bindings about RPMTRANS_FLAG_NOCONTEXTS (related to #573111) 2010-03-16 09:27:14 +00:00
Panu Matilainen
e3441ce16a - preserve empty lines in spec prep section (#573339) 2010-03-16 09:23:27 +00:00
Panu Matilainen
be98b0d6ed - support single PPD providing driver for devices (#568351)
- merge the psdriver patch pile into one
2010-03-16 09:02:21 +00:00
Panu Matilainen
245077ca2a - drop bogus dependency on lzma, xz is used to handle the lzma format too 2010-02-15 14:24:07 +00:00
Panu Matilainen
4818f45395 - unbreak python(abi) requires generation (#562906) 2010-02-09 07:12:24 +00:00
Panu Matilainen
eb0cb89c63 - fix disk space checking with erasures present in transaction (#561160) 2010-02-06 10:12:44 +00:00
Panu Matilainen
459c2d0f81 - avoid accessing unrelated mount points in disk space checking (#547548) 2010-02-06 10:09:15 +00:00
Panu Matilainen
6b08a4c01a - more fixes to postscript provides extractor (#562228) 2010-02-06 10:00:27 +00:00
Panu Matilainen
41225dc3c0 - couple of fixes to the postscript provides extractor (#538101) 2010-02-05 12:59:00 +00:00
Panu Matilainen
aa664c798d - extract provides for postscript printer drivers (#538101) 2010-02-04 13:18:28 +00:00
Panu Matilainen
2981a81977 - python byte-compilation fixes + improvements (#558997) 2010-02-03 10:44:56 +00:00
Panu Matilainen
679d6f57de - support parallel python versions in python dependency extractor (#532118) 2010-01-30 10:16:46 +00:00
Panu Matilainen
bbc081d943 - fix segfault on failed url retrieval
- fix verification error code depending on verbosity level
- if anything in testsuite fails, dump out the log
2010-01-21 13:50:59 +00:00
Panu Matilainen
14def245f9 - put disttag back, accidentally nuked in 4.8.0 final update 2010-01-08 13:47:29 +00:00
Panu Matilainen
6cc39b9acc - update to 4.8.0 final 2010-01-08 09:42:34 +00:00
Panu Matilainen
fb64f7cd5d - pull out the macro scoping patch for now, it breaks font package macros 2010-01-07 09:27:49 +00:00
Panu Matilainen
80483430ad - always clear locally defined macros when they go out of scope 2010-01-04 11:04:44 +00:00
Panu Matilainen
6dc5ba3bbe - permit unexpanded macros when parsing spec (#547997) 2009-12-17 06:54:51 +00:00
Panu Matilainen
36fffc974d - fix a bunch of python refcount-errors causing major memory leaks 2009-12-09 13:16:52 +00:00
Panu Matilainen
3025ee15e8 - make all our -devel [build]requires isa-specific
- trim out superfluous -devel dependencies from rpm-devel
2009-12-08 14:30:07 +00:00
Panu Matilainen
a4433ba9bb - fix noise from python bytecompile on non-python packages (#539635) 2009-12-08 14:13:12 +00:00
Panu Matilainen
5e19ecce34 - update to rpm 4.8.0-beta1
- drop patches + other sources now included upstream
- add conflict for current ocaml-runtime
2009-12-07 13:35:12 +00:00
Panu Matilainen
0b53f7cb09 - bah, test-suite autofoo breaks due to chmod-test change in configure.ac,
buildrequire autoconf for now
2009-12-04 10:29:34 +00:00
Panu Matilainen
4a8173e79b - missing error exit code from signing password checking (#496754)
- dont fail build on unrecognized data files (#532489)
- dont try to parse subkeys and secret keys (#436812)
- fix chmod test on selinux, breaking %%{_fixperms} macro (#543035)
2009-12-04 09:32:33 +00:00
Bill Nottingham
4203349708 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:13:20 +00:00
Panu Matilainen
c23067b502 Update to 4.7.2, mop up now unnecessary patches 2009-11-25 08:23:32 +00:00
Jindrich Novy
e680093050 - rebuild against BDB-4.8.24 2009-11-18 15:39:52 +00:00
Jindrich Novy
a86fbabcff - drop versioned dependency to BDB 2009-11-18 14:23:32 +00:00
Jindrich Novy
3273fa6032 - rebuild against new BDB 2009-11-18 14:08:33 +00:00
Panu Matilainen
2e4024d94b - support multiple python implementations in brp-python-bytecompile
(#531117)
- make disk space problem reporting a bit saner (#517418)
2009-10-28 07:47:16 +00:00
Panu Matilainen
11e840a438 - fix build with BDB 4.8.x by removing XA "support" from BDB backend
- perl dep extractor heredoc parsing improvements (#524929)
- update extra-provides patch status (its upstream now)
2009-10-06 12:33:28 +00:00
Panu Matilainen
e0a8ab7463 - use relative paths within db environment (related to #507309, #507309...)
- remove db environment on close in chrooted operation (related to above)
- initialize rpmlib earlier in rpm2cpio (#523260)
- fix file dependency tag extension formatting (#523282)
2009-09-21 13:25:25 +00:00
Panu Matilainen
224c3bc2bb - oops, need to patch rpmtests script too to avoid depending on autofoo at
build time
2009-09-15 08:50:13 +00:00
Panu Matilainen
62b4055709 - fix duplicate dependency filtering on build (#490378)
- permit absolute paths in file lists again (#521760)
- use permissions 444 for all .debug files (#522194)
- add support for optional bugurl tag (#512774)
2009-09-15 08:22:57 +00:00
Jesse Keating
0b83512b30 - Patch to make geode appear as i686 (#517475) 2009-08-14 16:57:09 +00:00
Jindrich Novy
e73b0ee09d - rebuild because of the new xz 2009-08-06 17:06:31 +00:00
Jesse Keating
c365e47157 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-27 03:12:23 +00:00
Panu Matilainen
e296089e4d - update to 4.7.1, drop merged patches
- fix source url
2009-07-21 10:15:33 +00:00
Bill Nottingham
20e9972fc7 enable XZ support.
Switch the %%defines around so they reflect the new default.
2009-07-20 14:06:20 +00:00
Panu Matilainen
b6a0b1184e - fix invalid memory access causing bogus file dependency errors (#506323) 2009-06-18 10:28:32 +00:00
Panu Matilainen
154e7d9410 - fix segfault in symlink fingerprinting (#505777) 2009-06-18 10:21:41 +00:00
Panu Matilainen
e91c670bd6 - updated OSGi dependency extractor (#506471) 2009-06-18 10:14:17 +00:00
Panu Matilainen
b0aff4abfe - add dwarf-3 support to debugedit (#505774) 2009-06-16 11:36:09 +00:00
Štěpán Kasal
8cbb195cad - require libcap >= 2.16 (#505596) 2009-06-12 14:59:05 +00:00
Panu Matilainen
61937a9d76 - don't mess up problem altNEVR in python ts.check() (#501068)
- fix hardlink size calculation on build (#503020)
2009-06-03 13:38:58 +00:00
Panu Matilainen
d9ecaeb35a - split cron-job into a sub-package to avoid silly deps on core rpm
(#500722)
- rpm requires coreutils but not in %%post
- build with libcap and libacl
- fix pgp pubkey signature tag parsing
2009-05-14 07:27:25 +00:00
Panu Matilainen
e9261aad1c - bah, remember to actually add the find-lang patch 2009-04-21 13:02:58 +00:00
Panu Matilainen
073bfadf0a - couple of merge-review fixes (#226377)
- eliminate bogus leftover rpm:rpm rpmdb ownership
- unescaped macro in changelog
- fix find-lang --with-kde with KDE3 (#466009)
- switch back to default file digest algorithm
2009-04-21 13:01:49 +00:00
Panu Matilainen
c14960808c - file classification tweaks for text files (#494817)
- disable libmagic text token checks, it's way too error-prone
- consistently classify all text as such and include description
2009-04-17 10:55:19 +00:00
Panu Matilainen
60eb94b86b - update to 4.7.0 final
- fixes #494049, #495429
- dont permit test-suite failure anymore
2009-04-16 09:10:33 +00:00
23 changed files with 982 additions and 876 deletions

View File

@ -1 +0,0 @@
rpm-4.7.0-rc1.tar.bz2

42
.gitignore vendored Normal file
View File

@ -0,0 +1,42 @@
/rpm-4.9.90.git11505.tar.bz2
/rpm-4.9.90.git11519.tar.bz2
/rpm-4.9.90.git11536.tar.bz2
/rpm-4.10.0-beta1.tar.bz2
/rpm-4.10.0.tar.bz2
/rpm-4.10.1.tar.bz2
/rpm-4.10.90.git11989.tar.bz2
/rpm-4.11.0-beta1.tar.bz2
/rpm-4.11.0.1.tar.bz2
/rpm-4.11.1-rc1.tar.bz2
/rpm-4.11.1-rc2.tar.bz2
/rpm-4.11.1.tar.bz2
/rpm-4.11.2-rc1.tar.bz2
/rpm-4.11.2-rc2.tar.bz2
/rpm-4.11.2.tar.bz2
/rpm-4.11.90-git12844.tar.bz2
/rpm-4.12.0-beta1.tar.bz2
/rpm-4.12.0-rc1.tar.bz2
/rpm-4.12.0.tar.bz2
/rpm-4.12.0.1.tar.bz2
/rpm-4.12.90.tar.bz2
/rpm-4.13.0-rc1.tar.bz2
/rpm-4.13.0-rc2.tar.bz2
/rpm-4.13.0.tar.bz2
/rpm-4.13.0.1.tar.bz2
/rpm-4.13.90-git14002.tar.bz2
/rpm-4.14.0-rc1.tar.bz2
/rpm-4.14.0-rc2.tar.bz2
/rpm-4.14.0.tar.bz2
/rpm-4.14.1.tar.bz2
/rpm-4.14.2-rc1.tar.bz2
/rpm-4.14.2-rc2.tar.bz2
/rpm-4.14.2.tar.bz2
/rpm-4.14.2.1.tar.bz2
/rpm-4.14.90-git14653.tar.bz2
/rpm-4.15.0-beta.tar.bz2
/rpm-4.15.0-rc1.tar.bz2
/rpm-4.15.0.tar.bz2
/rpm-4.15.1.tar.bz2
/rpm-4.15.90-git14971.tar.bz2
/rpm-4.16.0-beta1.tar.bz2
/rpm-4.16.0-beta3.tar.bz2

View File

@ -0,0 +1,95 @@
From 2426c2a066e44f4d9a342585e76cdbdb0a8a2db1 Mon Sep 17 00:00:00 2001
From: Peter Robinson <pbrobinson@gmail.com>
Date: Wed, 23 Oct 2019 20:22:19 +0100
Subject: [PATCH] Revert "Improve ARM detection"
This reverts commit 8c3a7b8fa92b49a811fe36b60857b12f5d7db8a8.
This is the final piece in fixing rhbz 1691430. It's a clean revert
so let's do that for F-31 and we can discuss the details later.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
lib/rpmrc.c | 37 +++++++++----------------------------
1 file changed, 9 insertions(+), 28 deletions(-)
diff --git a/lib/rpmrc.c b/lib/rpmrc.c
index 0806e1b07..cada3f788 100644
--- a/lib/rpmrc.c
+++ b/lib/rpmrc.c
@@ -82,7 +82,6 @@ struct rpmOption {
static struct rpmat_s {
const char *platform;
uint64_t hwcap;
- uint64_t hwcap2;
} rpmat;
typedef struct defaultEntry_s {
@@ -951,9 +950,6 @@ static int is_geode(void)
#if defined(__linux__)
-#ifndef AT_HWCAP2 /* glibc < 2.18 */
-#define AT_HWCAP2 26
-#endif
/**
* Populate rpmat structure with auxv values
*/
@@ -967,7 +963,6 @@ static void read_auxv(void)
if (!rpmat.platform)
rpmat.platform = "";
rpmat.hwcap = getauxval(AT_HWCAP);
- rpmat.hwcap2 = getauxval(AT_HWCAP2);
#else
rpmat.platform = "";
int fd = open("/proc/self/auxv", O_RDONLY);
@@ -989,9 +984,6 @@ static void read_auxv(void)
case AT_HWCAP:
rpmat.hwcap = auxv.a_un.a_val;
break;
- case AT_HWCAP2:
- rpmat.hwcap2 = auxv.a_un.a_val;
- break;
}
}
close(fd);
@@ -1225,27 +1217,16 @@ static void defaultMachine(rpmrcCtx ctx, const char ** arch, const char ** os)
# if !defined(HWCAP_ARM_VFPv3)
# define HWCAP_ARM_VFPv3 (1 << 13)
# endif
-# if !defined(HWCAP2_AES)
-# define HWCAP2_AES (1 << 0)
-# endif
- /*
- * un.machine is armvXE, where X is version number and E is
- * endianness (b or l)
- */
- if (rstreqn(un.machine, "armv", 4)) {
- char endian = un.machine[strlen(un.machine)-1];
- char *modifier = un.machine + 5;
- /* keep armv7, armv8, armv9, armv10, ... */
- while(risdigit(*modifier))
- modifier++;
- if (rpmat.hwcap & HWCAP_ARM_VFPv3)
- *modifier++ = 'h';
- if (rpmat.hwcap2 & HWCAP2_AES)
- *modifier++ = 'c';
+ if (rstreq(un.machine, "armv7l")) {
+ if (rpmat.hwcap & HWCAP_ARM_VFPv3) {
if (rpmat.hwcap & HWCAP_ARM_NEON)
- *modifier++ = 'n';
- *modifier++ = endian;
- *modifier++ = 0;
+ strcpy(un.machine, "armv7hnl");
+ else
+ strcpy(un.machine, "armv7hl");
+ }
+ } else if (rstreq(un.machine, "armv6l")) {
+ if (rpmat.hwcap & HWCAP_ARM_VFP)
+ strcpy(un.machine, "armv6hl");
}
# endif /* arm*-linux */
--
2.23.0

View File

@ -0,0 +1,30 @@
From f2bc669cd0a080792522dd1bb7f50ef7025f16f0 Mon Sep 17 00:00:00 2001
From: Mark Wielaard <mark@klomp.org>
Date: Sat, 21 Jul 2018 10:13:04 +0200
Subject: [PATCH] find-debuginfo.sh: decompress DWARF compressed ELF sections
debugedit and dwz do not support DWARF compressed ELF sections, let's
just decompress those before extracting debuginfo.
Tested-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
---
scripts/find-debuginfo.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh
index 90a44942d..7b01bc036 100755
--- a/scripts/find-debuginfo.sh
+++ b/scripts/find-debuginfo.sh
@@ -357,6 +357,9 @@ do_file()
get_debugfn "$f"
[ -f "${debugfn}" ] && return
+ echo "explicitly decompress any DWARF compressed ELF sections in $f"
+ eu-elfcompress -q -p -t none "$f"
+
echo "extracting debug info from $f"
# See also cpio SOURCEFILE copy. Directories must match up.
debug_base_name="$RPM_BUILD_DIR"
--
2.18.0

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: rpm
# $Id: Makefile,v 1.1 2004/09/09 11:49:39 cvsdist Exp $
NAME := rpm
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attempt a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

34
STAGE2-rpm Normal file
View File

@ -0,0 +1,34 @@
#requires popt
#requires nss-softokn
#requires nss
#requires file
#requires libarchive
#requires libdb4
#requires redhat-rpm-config
#requires lua
#requires autoconf
#requires pkgconfig
(cd $SRC/rpm-*/ && autoreconf -vif)
mcd $BUILDDIR/rpm
$SRC/rpm-*/configure $TCONFIGARGS \
--build=${TARGET} \
--host=${TARGET} \
--target=${TARGET} \
CPPFLAGS="-I/usr/include/nspr -I/usr/include/nss3 -DPACKAGE -DPACKAGE_VERSION" \
--libdir=/usr/lib${SUFFIX} \
--with-external-db \
--disable-static \
--with-lua \
--localstatedir=/var
make $J
make $J install
mkdir -p /etc/rpm
mkdir -p /var/lib/rpm
rpm --initdb

View File

@ -1,21 +0,0 @@
#!/bin/sh
#
# Transform desktop mimetype info into RPM mimehandler(type) provides
#
# Author: Richard Hughes <richard@hughsie.com>
# Based on other provides scripts from RPM
OLD_IFS="$IFS"
while read instfile ; do
case "$instfile" in
*.desktop)
mime=`cat $instfile | grep MimeType= | cut -d'=' -f2`
IFS=';'
for type in $mime ; do
echo 'mimehandler('$type')'
done
;;
esac
done
IFS=$OLD_IFS

View File

@ -1,21 +0,0 @@
#!/bin/bash
#
# Script to install in:
# /usr/lib/rpm/redhat/find-provides.d
#
# Transform font files into RPM provides
# Requires fontconfig >= 2.6.90
#
# Author: Behdad Esfahbod <behdad@redhat.com>
# Based on other provides scripts from RPM
#
fcquery=/usr/bin/fc-query
[ -x $fcquery ] || exit 0
# filter out anything outside main fontconfig path
grep /usr/share/fonts/ |
while read fn; do
$fcquery --format '%{=pkgkit}' "${fn}" 2> /dev/null
done

View File

@ -1 +0,0 @@
rpm-4_5_90-0_git8444_1:HEAD:rpm-4.5.90-0.git8444.1.src.rpm:1217601763

View File

@ -0,0 +1,18 @@
diff --git a/rpm2cpio.c b/rpm2cpio.c
index 89ebdfa..ae999ff 100644
--- a/rpm2cpio.c
+++ b/rpm2cpio.c
@@ -84,7 +84,12 @@ int main(int argc, char *argv[])
exit(EXIT_FAILURE);
}
- rc = (ufdCopy(gzdi, fdo) == payload_size) ? EXIT_SUCCESS : EXIT_FAILURE;
+ /*
+ * XXX HACK for #1142949: should be equality test, but archive size
+ * short by cpio trailer size in packages built with rpm 4.12.0
+ * and its pre-releases.
+ */
+ rc = (ufdCopy(gzdi, fdo) >= payload_size) ? EXIT_SUCCESS : EXIT_FAILURE;
Fclose(fdo);

15
rpm-4.15.x-ldflags.patch Normal file
View File

@ -0,0 +1,15 @@
diff -up rpm-4.9.1.1/macros.in.jx rpm-4.9.1.1/macros.in
--- rpm-4.9.1.1/macros.in.jx 2011-08-03 16:19:05.000000000 -0400
+++ rpm-4.9.1.1/macros.in 2011-08-08 09:41:52.981064316 -0400
@@ -674,9 +674,10 @@ print (t)\
RPM_BUILD_DIR=\"%{u2p:%{_builddir}}\"\
RPM_OPT_FLAGS=\"%{optflags}\"\
+ RPM_LD_FLAGS=\"%{?build_ldflags}\"\
RPM_ARCH=\"%{_arch}\"\
RPM_OS=\"%{_os}\"\
RPM_BUILD_NCPUS=\"%{_smp_build_ncpus}\"\
- export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS\
+ export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_LD_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_LD_FLAGS\
RPM_DOC_DIR=\"%{_docdir}\"\
export RPM_DOC_DIR\
RPM_PACKAGE_NAME=\"%{NAME}\"\

View File

@ -0,0 +1,12 @@
diff -up rpm-4.11.1-rc1/macros.in.siteconfig rpm-4.11.1-rc1/macros.in
--- rpm-4.11.1-rc1/macros.in.siteconfig 2013-06-07 13:19:21.000000000 +0300
+++ rpm-4.11.1-rc1/macros.in 2013-06-11 15:06:59.525747503 +0300
@@ -647,6 +647,8 @@ package or when debugging this package.\
export CLASSPATH}\
PKG_CONFIG_PATH=\"${PKG_CONFIG_PATH}:%{_libdir}/pkgconfig:%{_datadir}/pkgconfig\"\
export PKG_CONFIG_PATH\
+ CONFIG_SITE=${CONFIG_SITE:-NONE}\
+ export CONFIG_SITE\
\
%{verbose:set -x}\
umask 022\

View File

@ -1,16 +0,0 @@
diff --git a/build/rpmfc.c b/build/rpmfc.c
index 94fb68e..525915b 100644
--- a/build/rpmfc.c
+++ b/build/rpmfc.c
@@ -1093,6 +1093,11 @@ assert(s != NULL);
free(buf);
}
+ /* Add possible GStreamer provides */
+ if (!fc->skipProv && isDSO) {
+ xx = rpmfcHelper(fc, 'P', "gstreamer");
+ }
+
exit:
soname = _free(soname);
if (elf) (void) elf_end(elf);

View File

@ -1,13 +0,0 @@
diff --git a/macros.in b/macros.in
index 830072a..bdce7f4 100644
--- a/macros.in
+++ b/macros.in
@@ -805,6 +805,8 @@ print (t)\
export RPM_BUILD_ROOT}\
%{?_javaclasspath:CLASSPATH=\"%{_javaclasspath}\"\
export CLASSPATH}\
+ PKG_CONFIG_PATH=\"%{_libdir}/pkgconfig:%{_datadir}/pkgconfig\"\
+ export PKG_CONFIG_PATH\
\
%{verbose:set -x}%{!verbose:exec > /dev/null}\
umask 022\

View File

@ -1,96 +0,0 @@
diff --git a/lib/tagexts.c b/lib/tagexts.c
index 501d8ac..cf71639 100644
--- a/lib/tagexts.c
+++ b/lib/tagexts.c
@@ -460,12 +460,6 @@ static int filerequireTag(Header h, rpmtd td)
}
/* I18N look aside diversions */
-
-#if defined(ENABLE_NLS)
-extern int _nl_msg_cat_cntr; /* XXX GNU gettext voodoo */
-#endif
-static const char * const language = "LANGUAGE";
-
static const char * const _macro_i18ndomains = "%{?_i18ndomains}";
/**
@@ -477,63 +471,27 @@ static const char * const _macro_i18ndomains = "%{?_i18ndomains}";
*/
static int i18nTag(Header h, rpmTag tag, rpmtd td)
{
- char * dstring = rpmExpand(_macro_i18ndomains, NULL);
- int rc;
+ int rc = headerGet(h, tag, td, HEADERGET_ALLOC);
+ if (rc) {
+ char *de, *dstring = rpmExpand(_macro_i18ndomains, NULL);
+ const char *domain;
- td->type = RPM_STRING_TYPE;
- td->data = NULL;
- td->count = 0;
-
- if (dstring && *dstring) {
- char *domain, *de;
- const char * langval;
- char * msgkey;
- const char * msgid;
- const char * n;
- int xx;
-
- xx = headerNVR(h, &n, NULL, NULL);
- rasprintf(&msgkey, "%s(%s)", n, rpmTagGetName(tag));
-
- /* change to en_US for msgkey -> msgid resolution */
- langval = getenv(language);
- (void) setenv(language, "en_US", 1);
-#if defined(ENABLE_NLS)
- ++_nl_msg_cat_cntr;
-#endif
-
- msgid = NULL;
for (domain = dstring; domain != NULL; domain = de) {
+ const char *msgid = td->data;
+ const char *msg = NULL;
+
de = strchr(domain, ':');
if (de) *de++ = '\0';
- msgid = dgettext(domain, msgkey);
- if (msgid != msgkey) break;
- }
-
- /* restore previous environment for msgid -> msgstr resolution */
- if (langval)
- (void) setenv(language, langval, 1);
- else
- unsetenv(language);
-#if defined(ENABLE_NLS)
- ++_nl_msg_cat_cntr;
-#endif
-
- if (domain && msgid) {
- td->data = dgettext(domain, msgid);
- td->data = xstrdup(td->data); /* XXX xstrdup has side effects. */
- td->count = 1;
- td->flags = RPMTD_ALLOCED;
+ msg = dgettext(domain, td->data);
+ if (msg != msgid) {
+ free(td->data);
+ td->data = xstrdup(msg);
+ break;
+ }
}
- dstring = _free(dstring);
- free(msgkey);
- if (td->data)
- return 1;
+ free(dstring);
}
-
- dstring = _free(dstring);
-
- rc = headerGet(h, tag, td, HEADERGET_DEFAULT);
+
return rc;
}

View File

@ -1,61 +0,0 @@
diff -rNu rpm-4.6.0-orig/lib/rpmrc.c rpm-4.6.0/lib/rpmrc.c
--- rpm-4.6.0-orig/lib/rpmrc.c 2009-03-09 21:54:49.000000000 -0500
+++ rpm-4.6.0/lib/rpmrc.c 2009-03-11 12:00:44.000000000 -0500
@@ -763,6 +763,31 @@
return rc;
}
+#if defined(__linux__) && defined(__sparc__)
+static int is_sun4v()
+{
+ char buffer[4096], *p;
+ int fd = open("/proc/cpuinfo", O_RDONLY);
+ if (read(fd, &buffer, sizeof(buffer) - 1) == -1) {
+ rpmlog(RPMLOG_WARNING, _("read(/proc/cpuinfo) failed\n"));
+ close(fd);
+ return 0;
+ }
+ close(fd);
+
+ p = strstr(buffer, "type");
+ p = strtok(p, "\n");
+ p = strstr(p, "sun");
+ if (p == NULL) {
+ rpmlog(RPMLOG_WARNING, _("/proc/cpuinfo has no 'type' line\n"));
+ return 0;
+ } else if (strcmp(p, "sun4v") == 0) {
+ return 1;
+ }
+ return 0;
+}
+#endif
+
# if defined(__linux__) && defined(__i386__)
#include <setjmp.h>
@@ -1179,6 +1204,13 @@
personality(oldpers);
}
}
+ if (is_sun4v()){
+ if (strcmp(un.machine, "sparcv9") == 0 || strcmp(un.machine, "sparc") == 0 ) {
+ strcpy(un.machine, "sparcv9v");
+ } else if (strcmp(un.machine, "sparc64") == 0 ) {
+ strcpy(un.machine, "sparc64v");
+ }
+ }
# endif /* sparc*-linux */
# if defined(__GNUC__) && defined(__alpha__)
diff -rNu rpm-4.6.0-orig/rpmrc.in rpm-4.6.0/rpmrc.in
--- rpm-4.6.0-orig/rpmrc.in 2009-03-09 21:54:49.000000000 -0500
+++ rpm-4.6.0/rpmrc.in 2009-03-11 11:50:49.000000000 -0500
@@ -312,7 +312,7 @@
arch_compat: sun4d: sparc
arch_compat: sun4m: sparc
arch_compat: sun4u: sparc64
-arch_compat: sparc64v: sparc64
+arch_compat: sparc64v: sparc64 sparcv9v
arch_compat: sparc64: sparcv9
arch_compat: sparcv9v: sparcv9
arch_compat: sparcv9: sparcv8

View File

@ -1,157 +0,0 @@
diff -up rpm-4.7.0.git9101/build/rpmfc.c.devel-autodep rpm-4.7.0.git9101/build/rpmfc.c
--- rpm-4.7.0.git9101/build/rpmfc.c.devel-autodep 2009-04-03 09:26:59.000000000 +0300
+++ rpm-4.7.0.git9101/build/rpmfc.c 2009-04-03 11:34:44.000000000 +0300
@@ -505,7 +505,7 @@ static const struct rpmfcTokens_s const
{ "ASCII text", RPMFC_WHITE|RPMFC_INCLUDE },
{ "ISO-8859 text", RPMFC_WHITE|RPMFC_INCLUDE },
- { "symbolic link to", RPMFC_SYMLINK },
+ { "symbolic link to", RPMFC_SYMLINK|RPMFC_INCLUDE },
{ "socket", RPMFC_DEVICE },
{ "special", RPMFC_DEVICE },
{ " text", RPMFC_TEXT },
@@ -667,6 +667,105 @@ rpmds rpmfcRequires(rpmfc fc)
/**
+ * Ensure that symlinks for shared libs generate a dep on the shared lib
+ * @param fc file classifier
+ * @return 0 on success
+ */
+static int rpmfcSYMLINK(rpmfc fc)
+{
+ const char * fn = fc->fn[fc->ix];
+ struct stat sb;
+ int fdno;
+
+ if (fc->skipReq)
+ return 0;
+
+ if (stat(fn, &sb) < 0)
+ return -1;
+ if (S_ISLNK(sb.st_mode))
+ return -1;
+
+ fdno = open(fn, O_RDONLY);
+ if (fdno < 0) {
+ return fdno;
+ }
+
+#if HAVE_GELF_H && HAVE_LIBELF
+ Elf * elf = NULL;
+ GElf_Ehdr ehdr_mem, * ehdr;
+ int isElf64 = 0;
+ int i, cnt;
+ char * soname = NULL;
+ rpmds ds;
+
+ (void) elf_version(EV_CURRENT);
+ elf = NULL;
+ if ((elf = elf_begin (fdno, ELF_C_READ_MMAP, NULL)) == NULL
+ || elf_kind(elf) != ELF_K_ELF
+ || (ehdr = gelf_getehdr(elf, &ehdr_mem)) == NULL
+ || ehdr->e_type != ET_DYN)
+ goto exit;
+
+/* alpha uses /lib, not /lib64 so don't add (64bit) deps */
+#if !defined(__alpha__)
+ isElf64 = ehdr->e_ident[EI_CLASS] == ELFCLASS64;
+#endif
+
+ for (i = 0; i < ehdr->e_phnum; ++i) {
+ GElf_Phdr phdr_mem;
+ GElf_Phdr *phdr = gelf_getphdr (elf, i, &phdr_mem);
+ GElf_Shdr shdr_mem;
+ Elf_Data * data = NULL;
+ Elf_Scn * scn;
+ GElf_Shdr *shdr;
+
+ if (phdr == NULL || phdr->p_type != PT_DYNAMIC)
+ continue;
+
+ scn = gelf_offscn(elf, phdr->p_offset);
+ shdr = gelf_getshdr(scn, &shdr_mem);
+
+ if (shdr != NULL && shdr->sh_type == SHT_DYNAMIC)
+ data = elf_getdata (scn, NULL);
+ if (data == NULL)
+ continue;
+
+ for (cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt) {
+ GElf_Dyn dynmem;
+ GElf_Dyn *dyn = gelf_getdyn (data, cnt, &dynmem);
+ char *depname = NULL;
+
+ if (dyn == NULL)
+ break;
+ if (dyn->d_tag != DT_SONAME)
+ continue;
+
+ /* add the soname to package deps */
+ soname = elf_strptr(elf, shdr->sh_link, dyn->d_un.d_val);
+ if (soname == NULL)
+ break;
+
+ rasprintf(&depname, "%s%s", soname, isElf64 ? "()(64bit)" : "");
+ /* Add to package dependencies. */
+ ds = rpmdsSingle(RPMTAG_REQUIRENAME, depname, "",
+ RPMSENSE_FIND_REQUIRES);
+ free(depname);
+
+ rpmdsMerge(&fc->requires, ds);
+ rpmfcAddFileDep(&fc->ddict, fc->ix, ds);
+ ds = rpmdsFree(ds);
+ break;
+ }
+ }
+exit:
+ if (elf) (void) elf_end(elf);
+ close(fdno);
+ return 0;
+#endif
+ return -1;
+}
+
+/**
* Extract script dependencies.
* @param fc file classifier
* @return 0 on success
@@ -1097,6 +1196,7 @@ static const struct rpmfcApplyTbl_s cons
{ rpmfcSCRIPT, (RPMFC_SCRIPT|RPMFC_BOURNE|
RPMFC_PERL|RPMFC_PYTHON|RPMFC_MONO|
RPMFC_PKGCONFIG|RPMFC_LIBTOOL) },
+ { rpmfcSYMLINK, RPMFC_SYMLINK },
{ NULL, 0 }
};
@@ -1117,6 +1217,7 @@ rpmRC rpmfcApply(rpmfc fc)
int ix;
int i;
int xx;
+ int skipping = 0;
/* Generate package and per-file dependencies. */
for (fc->ix = 0; fc->fn[fc->ix] != NULL; fc->ix++) {
@@ -1171,11 +1272,13 @@ rpmRC rpmfcApply(rpmfc fc)
default:
break;
case 'P':
+ skipping = fc->skipProv;
ds = rpmdsSingle(RPMTAG_PROVIDENAME, N, EVR, Flags);
dix = rpmdsFind(fc->provides, ds);
ds = rpmdsFree(ds);
break;
case 'R':
+ skipping = fc->skipReq;
ds = rpmdsSingle(RPMTAG_REQUIRENAME, N, EVR, Flags);
dix = rpmdsFind(fc->requires, ds);
ds = rpmdsFree(ds);
@@ -1197,7 +1300,7 @@ assert(dix >= 0);
previx = ix;
xx = argiAdd(&fc->fddictx, ix, argiCount(fc->ddictx)-1);
}
- if (fc->fddictn && fc->fddictn->vals)
+ if (fc->fddictn && fc->fddictn->vals && !skipping)
fc->fddictn->vals[ix]++;
}

View File

@ -1,73 +0,0 @@
diff -up rpm-4.7.0-beta1/build/rpmfc.c.extra-prov rpm-4.7.0-beta1/build/rpmfc.c
--- rpm-4.7.0-beta1/build/rpmfc.c.extra-prov 2009-02-26 17:31:12.000000000 +0200
+++ rpm-4.7.0-beta1/build/rpmfc.c 2009-02-26 17:31:55.000000000 +0200
@@ -485,6 +485,7 @@ static const struct rpmfcTokens_s const
{ "RPM v4", RPMFC_ARCHIVE|RPMFC_INCLUDE },
{ " image", RPMFC_IMAGE|RPMFC_INCLUDE },
+ { " font metrics", RPMFC_WHITE|RPMFC_INCLUDE },
{ " font", RPMFC_FONT|RPMFC_INCLUDE },
{ " Font", RPMFC_FONT|RPMFC_INCLUDE },
@@ -1189,6 +1190,31 @@ exit:
#endif
}
+static int rpmfcMISC(rpmfc fc)
+{
+ struct stat st;
+ int rc = -1;
+ const char *what = NULL;
+ const char * fn = fc->fn[fc->ix];
+ /* this part is enumerated, compare equality not bit flags */
+ int ftype = fc->fcolor->vals[fc->ix] & 0x000F0000;
+
+ if (ftype == RPMFC_FONT) {
+ what = "fontconfig";
+ } else if (ftype == RPMFC_TEXT && rpmFileHasSuffix(fn, ".desktop")) {
+ what = "desktop";
+ }
+
+ if (what == NULL || stat(fn, &st) < 0 || !S_ISREG(st.st_mode)) {
+ goto exit;
+ }
+
+ (void) rpmfcHelper(fc, 'P', what);
+ rc = 0;
+
+exit:
+ return rc;
+}
typedef const struct rpmfcApplyTbl_s {
int (*func) (rpmfc fc);
int colormask;
@@ -1201,6 +1227,7 @@ static const struct rpmfcApplyTbl_s cons
{ rpmfcSCRIPT, (RPMFC_SCRIPT|RPMFC_BOURNE|
RPMFC_PERL|RPMFC_PYTHON|RPMFC_MONO|
RPMFC_PKGCONFIG|RPMFC_LIBTOOL) },
+ { rpmfcMISC, RPMFC_FONT|RPMFC_TEXT },
{ rpmfcSYMLINK, RPMFC_SYMLINK },
{ NULL, 0 }
};
@@ -1320,7 +1347,7 @@ rpmRC rpmfcClassify(rpmfc fc, ARGV_t arg
size_t slen;
int fcolor;
int xx;
- int msflags = MAGIC_CHECK; /* XXX MAGIC_COMPRESS flag? */
+ int msflags = MAGIC_CHECK | MAGIC_COMPRESS;
magic_t ms = NULL;
if (fc == NULL || argv == NULL)
diff -up rpm-4.7.0-beta1/macros.in.extra-prov rpm-4.7.0-beta1/macros.in
--- rpm-4.7.0-beta1/macros.in.extra-prov 2009-02-26 17:31:12.000000000 +0200
+++ rpm-4.7.0-beta1/macros.in 2009-02-26 17:32:38.000000000 +0200
@@ -494,6 +494,9 @@ print (t)\
%__pkgconfig_provides %{_rpmconfigdir}/pkgconfigdeps.sh --provides
%__pkgconfig_requires %{_rpmconfigdir}/pkgconfigdeps.sh --requires
+%__fontconfig_provides %{_rpmconfigdir}/fontconfig.prov
+%__desktop_provides %{_rpmconfigdir}/desktop-file.prov
+
#==============================================================================
# ---- Database configuration macros.
# Macros used to configure Berkley db parameters.

View File

@ -0,0 +1,14 @@
diff --git a/rpmrc.in b/rpmrc.in
index 4a6cca9..d62ddaf 100644
--- a/rpmrc.in
+++ b/rpmrc.in
@@ -281,7 +281,7 @@ arch_compat: alphaev5: alpha
arch_compat: alpha: axp noarch
arch_compat: athlon: i686
-arch_compat: geode: i586
+arch_compat: geode: i686
arch_compat: pentium4: pentium3
arch_compat: pentium3: i686
arch_compat: i686: i586

View File

@ -0,0 +1,12 @@
diff -up rpm-4.9.90.git11486/scripts/find-lang.sh.no-man-dirs rpm-4.9.90.git11486/scripts/find-lang.sh
--- rpm-4.9.90.git11486/scripts/find-lang.sh.no-man-dirs 2012-03-07 11:31:10.000000000 +0200
+++ rpm-4.9.90.git11486/scripts/find-lang.sh 2012-03-07 15:11:57.465801075 +0200
@@ -181,7 +181,7 @@ s:%lang(C) ::
find "$TOP_DIR" -type d|sed '
s:'"$TOP_DIR"'::
'"$ALL_NAME$MAN"'s:\(.*/man/\([^/_]\+\).*/man[a-z0-9]\+/\)::
-'"$ALL_NAME$MAN"'s:\(.*/man/\([^/_]\+\).*/man[a-z0-9]\+$\):%lang(\2) \1*:
+'"$ALL_NAME$MAN"'s:\(.*/man/\([^/_]\+\).*/man[a-z0-9]\+$\):%lang(\2) \1/*:
s:^\([^%].*\)::
s:%lang(C) ::
/^$/d' >> $MO_NAME

1084
rpm.spec

File diff suppressed because it is too large Load Diff

19
rpmdb-rebuild.service Normal file
View File

@ -0,0 +1,19 @@
[Unit]
Description=RPM database rebuild
ConditionPathExists=/var/lib/rpm/.rebuilddb
# This should run before any daemons that may open the rpmdb
DefaultDependencies=no
After=sysinit.target
Before=basic.target shutdown.target
Conflicts=shutdown.target
# In case /var is remote-mounted
RequiresMountsFor=/var
[Service]
Type=oneshot
ExecStart=/usr/bin/rpmdb --rebuilddb
ExecStartPost=rm -f /var/lib/rpm/.rebuilddb
[Install]
WantedBy=basic.target

View File

@ -1 +1 @@
321862428ef48d9d0bc36f7058b3b6c7 rpm-4.7.0-rc1.tar.bz2
SHA512 (rpm-4.16.0-beta3.tar.bz2) = 20efa638a7fe85b1b4d3d42fb07172c20a1f3c62024a29e4184b67a2d52ff3f94a186f178e9a5bfee9bf6c826a1023995d970b5c0ddaffe8b61fd2c888b44032