Commit Graph

1048 Commits

Author SHA1 Message Date
Miroslav Suchý
65ce6ed5d2 Migrate to SPDX license
This follows https://github.com/rpm-software-management/rpm/issues/2511
and moves the license string to only one place. No need to repeat it
in subpackages.

I did not include a changelog entry as there are five other PR waiting in a
queue, and that would conflict with them.
2024-01-04 13:42:34 +02:00
Panu Matilainen
0ae9b33647 Fix bogus warnings about runaway Lua scripts (#2254463) 2023-12-15 14:25:11 +02:00
Michal Domonkos
6fcc972733 Update to 4.19.1 (https://rpm.org/wiki/Releases/4.19.1)
Tools have been moved into the tools/ directory in the tarball so update
the ./rpmdb path accordingly.

Also remove the README.md file that is installed from the docs/
directory and ends up alongside the project's README file for no good
reason.  This is tracked upstream as:
https://github.com/rpm-software-management/rpm/issues/2811
2023-12-12 15:48:41 +01:00
Stephen Gallagher
740af9c26b Fix issues with %getncpus sometimes returning 0 on i686 systems
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-11-30 13:54:58 -05:00
Panu Matilainen
b0f8f4c9e8 Fix sysusers.d generator barfing on legit content (#2246236) 2023-11-13 10:35:50 +02:00
Panu Matilainen
b367237b47 Own our Python module directory (#2248555) 2023-11-13 10:30:39 +02:00
Panu Matilainen
3b3ab45c70 Ensure central package ops log via rpm-plugin-audit recommends (#1476926) 2023-11-13 10:29:28 +02:00
Michal Domonkos
eec78f8742 Update to 4.19.0 2023-09-19 14:44:40 +02:00
Michal Domonkos
b779389deb Update to 4.19 rc1 2023-09-04 16:56:58 +02:00
Panu Matilainen
033b63dfde Fix couple of unrelated regressions (#2229984, #2233454)
- a regression on uncompressing 7zip compressed sources (#2229984)
- a conflict with pre-existing scl-utils %_root_prefix macro (#2233454)
2023-08-22 14:28:13 +03:00
Panu Matilainen
88f6201129 Behave more consistently when target %%optflags are not defined (#2231727) 2023-08-21 14:28:53 +03:00
Michal Domonkos
4eff63bcb6 Update to 4.19 beta
Also remove the already noop %check support altogether as the new
test-suite backend currently doesn't support running inside a mock
buildroot (this may change in the future, in which case we'll add it
back).
2023-08-02 18:32:31 +02:00
Yaakov Selkowitz
dfc1484732 Drop fsverity plugin from RHEL builds
The fsverity plugin subpackage is not planned to be shipped in RHEL, so
avoid the build dependency by not building it at all.
2023-07-24 23:32:28 -04:00
Fedora Release Engineering
ee04b3651c Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 17:04:23 +00:00
Panu Matilainen
a68075b252 Rebuild for Python 3.12. Third time's the charm, eh? 2023-06-28 10:19:26 +03:00
Panu Matilainen
e62cb28543 Fix a couple of <= 4.18 regressions 2023-06-28 09:55:16 +03:00
Panu Matilainen
75bce87293 Fix potential crash with multiple in-process sqlite uses 2023-06-27 10:28:29 +03:00
Stephen Gallagher
7e09257606 Drop distro tag in sysusers conflict
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-06-26 10:28:10 -04:00
Python Maint
1a951a3315 Rebuilt for Python 3.12 2023-06-26 12:27:56 +02:00
Panu Matilainen
12525f15d4 Embarrassing thinko in the systemd conflict, and missing release bump 2023-06-26 09:47:57 +03:00
Panu Matilainen
36cb2f2b43 Enable native user/group provide generation for the sysusers feature
Currently systemd has it's own conflicting user/group provide generation
but we need the rpm one for the sysuser integration. This must not
proceed before https://src.fedoraproject.org/rpms/systemd/pull-request/109
is merged + built because this involves a file-level conflict.

Note that this does NOT enable the sysuser integration in rpm, merely
the provides generation, but doing so will allow people to begin testing
the actual integration.
2023-06-21 12:59:13 +03:00
Python Maint
b2f3d29371 Rebuilt for Python 3.12 2023-06-13 20:52:13 +02:00
Michal Domonkos
4c1728e423 Update to 4.19 alpha2 2023-06-09 16:21:07 +02:00
Peter Robinson
096af0fd5f Rebuild for ima-evm-utils 1.5 soname bump 2023-06-08 09:32:25 +01:00
Panu Matilainen
1cc558ee1f Patch to go with previous commit (yep, it's a Monday) 2023-05-29 11:02:50 +03:00
Panu Matilainen
55accea307 Revert %%_smp_build_ncpus macro changing to parametric
Resolves: #2210347
2023-05-29 10:57:55 +03:00
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