Florian Festi
e66b981d90
Fix expression for noarch a bit more
2023-05-11 18:07:28 +02:00
Florian Festi
b7dccde389
Fix expression for noarch
2023-05-11 18:01:12 +02:00
Florian Festi
3aac3a0be9
Add compat links and Provides or building dnf and friends
2023-05-11 16:44:42 +02:00
Florian Festi
3913b45078
Rebase to the 4.19 alpha release (4.18.90)
...
This uses the new cmake build scripts so several pieces of the package
had to be adjusted.
2023-05-11 12:40:14 +02:00
Miro Hrončok
7cdaeb70ca
Require rpm-sequoia >= 1.4.0 to avoid undefined symbol: _pgpVerifySignature2
...
With rpm-4.18.1-2.fc39.x86_64 and rpm-sequoia-1.3.0-1.fc39.x86_64:
$ rpm -q rpm
rpm: symbol lookup error: /lib64/librpmio.so.9: undefined symbol: _pgpVerifySignature2
2023-04-25 16:11:50 +02:00
Panu Matilainen
8a4b8c5cfe
Backport improved crypto error messages from upstream
2023-04-20 14:55:16 +03:00
Michal Domonkos
7bfe20af40
Rebase to rpm 4.18.1 ( https://rpm.org/wiki/Releases/4.18.1 )
2023-03-15 14:58:17 +01:00
Panu Matilainen
1cb2cea4c3
Dependency generation sanity
...
Disable debuginfod lookups in rpmbuild scripts, there's no circumstance
where rpmbuild should look up symbols from the internet.
Exclude kernel modules from ELF dependency generation, kernel modules
do not have DT_NEEDED style dependencies.
2023-02-16 13:38:34 +02:00
Fedora Release Engineering
fa9a65dc3b
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 19:56:42 +00:00
Panu Matilainen
6c1efa07cc
Remember to bump release, doh
...
(maybe this suggests it's time to look into rpmautospec...)
2023-01-10 11:38:04 +02:00
Panu Matilainen
56868f0f9b
Drop setup.py based Python build ( #2135561 , #2149762 )
...
The setup.py build was only really added for dealing with parallel
installable Python 2 and 3 builds, and has been quite a PITA otherwise
because it's not what the upstream builds and tests use. Now that
the 2to3 transition is thankfully over, we can go back to building the
extension by ourselves. Only, in the meanwhile people have come to
depend on the egg-info data so create that from automake, that format is
not exactly rocket science.
This fixes us accidentally shipping two slightly different Python
modules for years (#2135719 ) and building with Python >= 3.12 where
distutils has been dropped, and does so in upstream compatible manner
(where a similar approach was taken when transitioning to cmake based
build system)
2023-01-09 14:02:40 +02:00
Miro Hrončok
51caa93346
Remove 5 years old Obsoletes for platform-python-rpm
2022-12-19 22:43:30 +01:00
Panu Matilainen
6c83a290e3
Fix hang-up on failed key import (related to #2149762 )
2022-12-07 13:52:01 +02:00
Panu Matilainen
002373bffd
Require rpm-sequoia >= 1.2.0 for V3 signature support, re-enable ( #2141686 )
2022-11-24 10:15:47 +02:00
Panu Matilainen
581e8ac2ae
Revert back to internal OpenPGP parser for V3 signature support ( #2141686 )
...
Much of the world outside Fedora itself appears to be signed using
obs-signd which defaults to OpenPGP v3 signatures, which the Sequoia
backend does not currently support. Revert for now to consider the
options.
2022-11-10 18:13:25 +02:00
Panu Matilainen
7c98f6310a
Switch to Sequoia crypto ( https://fedoraproject.org/wiki/Changes/RpmSequoia )
2022-11-01 12:28:32 +02:00
Panu Matilainen
2212faed65
Add an option for building with Sequoia crypto
...
In preparation of https://fedoraproject.org/wiki/Changes/RpmSequoia
but the default is still openssl for now.
2022-10-14 09:40:47 +03:00
Panu Matilainen
27024cb2a8
Break ancient rpm <-> rpm-libs ordering loop
2022-10-05 13:56:40 +03:00
Panu Matilainen
63a01f5b39
Start utilizing %patchlist, finally
...
No actual patch changes.
2022-10-03 15:40:53 +03:00
Panu Matilainen
46895c4091
Drop the temporary build-dependency on pandoc before it grows a beard
2022-10-03 15:40:21 +03:00
Panu Matilainen
476a04e71a
Rebase to rpm 4.18.0 final
2022-09-21 13:24:24 +03:00
Panu Matilainen
293b446a51
Fix a largish directory walk related memory leak in transactions
2022-09-14 13:22:39 +03:00
Panu Matilainen
56a300ba62
Fix buffer overrun on rpmdb queries involving ^ in version
2022-09-07 10:44:44 +03:00
Panu Matilainen
480384be6c
Break selinux-policy <-> rpm-plugin-selinux ordering loop ( #1851266 )
...
Technically the packages depend on each other in that if you install on,
the other must be pulled in for the functionality. However the
installation order doesn't matter, as the plugin will only be used in
the next transaction anyway. Thus, making that dependency unordered by
flagging it as "meta" resolves the ordering loop.
2022-09-07 09:52:27 +03:00
Panu Matilainen
7e293eda16
Rebase to 4.18.0 rc1
2022-09-02 09:07:19 +03:00
Michal Domonkos
e92156f606
Bump release
2022-08-02 15:03:31 +02:00
Michal Domonkos
d8119b93a1
Revert %%autosetup patch due to another regression
...
The repo may be initialized before the macro runs, in which case we
would fail to create the initial main branch and thus fail on "git
branch --set-upstream-to=main". This caused an FTBFS in the edk2
package:
https://github.com/rpm-software-management/rpm/pull/2121#issuecomment-1202349789
Revert the patch for now as a hotfit and revisit the actual use case
later upstream, either fixing it properly or reverting there as well.
2022-08-02 15:00:44 +02:00
Fedora Release Engineering
d9a2f98ff9
Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 01:01:19 +00:00
Michal Domonkos
83570997b2
Fix minor regressions
2022-07-11 15:05:24 +02:00
Panu Matilainen
8b4a3685d4
Rebase to 4.18.0-beta1
2022-06-29 09:13:17 +03:00
Python Maint
75045b9669
Rebuilt for Python 3.11
2022-06-13 15:22:04 +02:00
Panu Matilainen
d4a60dbb2e
Rebase to alpha2, prevent uncontrolled sqlite WAL growth
2022-05-23 10:57:13 +03:00
Panu Matilainen
de6dc77d50
Fix rubygem unpack regression, causing rubygem builds to fail
2022-04-28 10:32:07 +03:00
Panu Matilainen
d849b13cc8
Fix verbose source uncompress regression ( #2079127 )
2022-04-27 09:58:48 +03:00
Panu Matilainen
2f2f9ed291
Further dynamic buildrequires cli switch regression fixes ( #2078744 )
...
Third time's the charm, eh?
2022-04-26 18:25:30 +03:00
Panu Matilainen
f384795ec8
Fix rpmbuild -ba --nodeps regression wrt dynamic buildrequires ( #2078744 )
2022-04-26 16:32:29 +03:00
Panu Matilainen
5e60ce8fd7
Fix rpmbuild -br not producing a src.rpm regression ( #2078744 )
2022-04-26 11:07:48 +03:00
Panu Matilainen
2742b0e272
Rebase to rpm 4.18 alpha
...
As per https://fedoraproject.org/wiki/Changes/RPM-4.18
Adding patches for two late discovered regressions
2022-04-25 13:10:58 +03:00
Neal Gompa
2bef3ba7c7
oops, fix order for ln command in posttrans
2022-03-21 18:45:52 -04:00
Neal Gompa
391c3aeb66
Create rpmdb directory symlink in posttrans by default ( #2066427 )
2022-03-21 18:42:53 -04:00
Neal Gompa
3afd14a395
Add dependencies for the rpmdb migration scriptlet ( #2055033 )
2022-02-16 07:41:35 -05:00
Neal Gompa
d5f3c0a5b3
Drop "duplicate" trigger that is no longer needed
...
It causes a spec error and is not needed anymore anyway.
2022-02-16 07:39:58 -05:00
Panu Matilainen
7fefa01b9e
Really fix spurious %%transfiletriggerpostun execution ( #2023311 , #2048168 )
2022-02-02 14:05:21 +02:00
Neal Gompa
0b9f813cd5
Migrate rpmdb to /usr/lib/sysimage/rpm ( #2042099 )
...
Reference: https://fedoraproject.org/wiki/Changes/RelocateRPMToUsr
2022-01-26 20:14:39 -05:00
Fedora Release Engineering
9e3cd4beae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 18:01:28 +00:00
Björn Esser
d5a5044945
Use baserelease for rpm release tag to make rpmdev-bumpspec work
...
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2022-01-20 07:01:22 +01:00
Björn Esser
951ffa7e5d
Rebuild (ima-evm-utils)
...
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2022-01-20 06:38:27 +01:00
Panu Matilainen
5abb204ea5
Fix spurious %%transfiletriggerpostun execution ( #2023311 )
2022-01-14 13:58:04 +02:00
Panu Matilainen
376b8b277a
Fix fapolicyd plugin dependencies to replace fapolicyd-dnf-plugin ( #2007639 )
2022-01-14 13:57:12 +02:00
Peter Robinson
5a48e9d787
Rebuils for ima-evm-utils 1.4 soname bump
2021-11-08 21:06:40 +00:00
Sahana Prasad
f6ae8e75fa
Rebuilt with OpenSSL 3.0.0
2021-09-14 19:13:44 +02:00
Panu Matilainen
ae022866f0
Rebase to 4.17.0 final ( https://rpm.org/wiki/Releases/4.17.0 )
2021-09-03 14:09:14 +03:00
Panu Matilainen
c37b0e75b2
Rebase to rpm 4.17.0 rc1
2021-08-20 12:55:26 +03:00
Fedora Release Engineering
a66e966a5f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 11:35:32 +00:00
Panu Matilainen
7c9bfb59ff
Temporarily buildrequire pandoc due to makefile bugs
...
The upstream patches wont help when the tarball is created with
buggy makefiles, hpmh. Temporarily require pandoc for building
to get around it.
2021-06-23 10:08:40 +03:00
Panu Matilainen
161b1ca16a
Rebase to rpm 4.17.0 beta1
...
Drop upstreamed / unnecessary patches, drop debugedit conditionals
as it's now a hard external dependency. Add back
/usr/lib/rpm/find-debuginfo.sh as a compat symlink for now, this
is referred to from quite a few packages directly.
Pull couple of late upstream patches to avoid build dependency on
pandoc.
2021-06-23 08:16:12 +03:00
Python Maint
0c2b0cd02a
Rebuilt for Python 3.10
2021-06-02 21:35:50 +02:00
Panu Matilainen
f3fae00ffe
Switch to external debugedit
2021-05-17 12:49:14 +03:00
Panu Matilainen
f40acc53d9
Handle different find-debuginfo.sh location with external debugedit
2021-05-17 12:46:22 +03:00
Panu Matilainen
d0c51399dc
Fix regression causing a crash on Lua state reset ( #1958095 )
...
Also move previously misplaced previous patch to the "already upstream"
section.
2021-05-07 15:48:24 +03:00
Panu Matilainen
77dba0a29f
Proper fix for comments affecting macro file parsing ( #1953910 )
2021-04-29 14:35:08 +03:00
Panu Matilainen
e38cfd281b
Enable fapolicyd plugin build
...
This doesn't introduce any new build dependencies so no point
conditionalizing it, we have too many bconds as it is...
2021-04-27 12:59:10 +03:00
Panu Matilainen
d56ba0c11f
Temporarily revert macro file loading fix due to regression #1953910
2021-04-27 10:55:36 +03:00
Panu Matilainen
3e8fbdcf8f
Add a bcond to build with external debugedit
...
In preparation to splitting debugedit to a separate project, add a
switch that we can easily flick when the time comes.
2021-04-26 14:30:22 +03:00
Panu Matilainen
ae094714b0
Rebase to rpm 4.17.0 alpha
...
Apart from the obviously dropped upstreamed patches etc:
- Drop a local hack for a cosmetic Fedora 22 era rpm2cpio issue
- Drop BDB support leftovers from the spec (party like its's 1999!)
- Add build conditional for fsverity plugin
2021-04-26 13:36:43 +03:00
Panu Matilainen
d9ef132c60
Rebase to rpm 4.16.1.3
2021-03-22 12:27:52 +02:00
Panu Matilainen
1089af6b8a
Drop support for read-write Berkeley DB format ( #1787311 )
2021-02-03 15:19:13 +02:00
Panu Matilainen
05e837eb31
Minor spec fixes
...
Make with/without bdb build option actually work. An expression would be
nicer but people want to be able to build rpm with older versions of
itself...
Clean up unpackaged /var/tmp from the buildroot, rpm >= 4.17 will fail
on it.
2021-02-03 15:01:49 +02:00
Fedora Release Engineering
b439c18a65
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 15:26:51 +00:00
Mark Wielaard
d5b8c7b4cb
Fix edit_attributes_str_comp_dir in Patch916 ( #1919107 )
2021-01-22 11:20:35 +01:00
Mark Wielaard
ff02e06b27
Fix up bcond_with check conditional for eln.
2021-01-20 13:52:32 +01:00
Jeff Law
008caa69a3
Fix typo in test for F33 or newer
2021-01-19 11:32:45 -07:00
Mark Wielaard
652537b1a5
Add DWARF5 support to debugedit.
2021-01-19 12:29:29 +01:00
Panu Matilainen
a38f609d72
Rebase to 4.16.1.2 and add soname safeguards, sigh...
2020-12-16 14:34:02 +02:00
Panu Matilainen
d1d0607ffa
Rebase to rpm 4.16.1.1
2020-12-16 12:29:49 +02:00
Panu Matilainen
1200e8af92
Rebase to rpm 4.16.1 ( http://rpm.org/wiki/Releases/4.16.1 )
2020-12-10 13:46:29 +02:00
Panu Matilainen
dd58cd6118
Groan, its Monday alright...
2020-11-30 11:24:58 +02:00
Panu Matilainen
abe14426e2
Bah, remember to bump release
2020-11-30 11:22:56 +02:00
Panu Matilainen
9ad9c40835
Only disable test-suite where it's actually broken
2020-11-30 11:22:25 +02:00
Panu Matilainen
7bcd4c2489
Database opening related fixes
...
BDB will segfault on multiple failed attempts of certain kind, something
unexpected fails when selinux says no. Stop on first failure instead.
On a related note, fix double rpmdb open failure from lazy keyring open
recursing back to the same lazy open.
2020-11-30 11:02:41 +02:00
Panu Matilainen
7b0bfa9fc2
Temporarily disable test-suite due to massive fakechroot breakage
2020-10-28 08:36:06 +02:00
Panu Matilainen
b47d15685e
Issue deprecation warning when creating BDB databases ( #1787311 )
2020-10-28 08:20:30 +02:00
Panu Matilainen
c691aaf809
Clean up after test-suite which leaves a read-only tree behind
2020-10-05 09:36:29 +03:00
Panu Matilainen
7bf49f32a0
Rebase to 4.16.0 final
2020-09-30 11:36:59 +03:00
Panu Matilainen
3a1ce1ea2d
Rebase to rpm 4.16.0-rc1, run test-suite in parallel
2020-08-31 12:39:26 +03:00
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