Commit Graph

1022 Commits

Author SHA1 Message Date
Florian Festi
cb79c4fe36 Set %_sharedstatedir to /var/lib again
Resolves: #2209989
2023-05-25 15:45:57 +02:00
Florian Festi
d52e85c033 Remove compat forward ports for libdnf 2023-05-25 11:43:38 +02:00
Florian Festi
7c2976fdf5 Remove compat links for old so name of the libraries 2023-05-25 11:40:11 +02:00
Florian Festi
0deb137246 Fix undefined symbols from plugins 2023-05-22 17:34:17 +02:00
Florian Festi
9c3f8c32e7 Use mkdir -p for creating SPECPARTS dir 2023-05-17 17:43:32 +02:00
Florian Festi
0b07964453 Enable large file support on 32-bit systems again 2023-05-17 14:11:41 +02:00
Florian Festi
b1dddb5038 Fix libbzip2 detection 2023-05-15 18:28:41 +02:00
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
Michal Domonkos
a0551c6d3b Drop patches already in 4.18.1 tarball
These were forgotten in commit 7bfe20af40
2023-04-24 10:10:03 +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
Miro Hrončok
deee8829f8 Fedora CI: Add a regression test for rhbz#2078744 2022-04-27 07:34:12 +00: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
0c48f210b1 Subtle tweak to bug 2078744 fix logic... 2022-04-26 11:20:13 +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