Commit Graph

1004 Commits

Author SHA1 Message Date
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
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
f209b8606b Doh, remember to upload the tarball... 2021-06-23 09:41:32 +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