Commit Graph

990 Commits

Author SHA1 Message Date
Troy Dawson
b137aeee16 Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
2024-10-29 09:11:55 -07:00
Michal Domonkos
40c682ecfc Revert Sequoia signing support for now, breaks CI
Running a build through the RHEL OSCI reveals some possible shortcomings
of the original design:

- Custom macros using %__gpg may now easily break if the Sequoia backend
  is installed, such as those overriding %__gpg_sign_cmd where %__gpg is
  typically the first argument, followed by CLI options only known to
  GnuPG.  This is exactly the case with some of our Beaker tests.

- Some tests attempt to install both subpackages directly with dnf which
  obviously fails as they conflict with each other.  This is just a test
  issue, though.

Therefore, the boolean dependency in rpm-sign-libs declaring that both
implementations are equally compatible is just wrong, until we can prove
otherwise, by making the CI tests pass, for starters.

Drop the Sequoia subpackage for now.  This is less drastic than a full
revert since the actual GnuPG split-off is still reasonable on its own.
We can always add Sequoia support back later, once we figure out the
above issues.

Related: RHEL-56363
2024-10-25 15:53:10 +02:00
Michal Domonkos
0f0847f87a Fix Conflicts in new rpm-sign backends
Related: RHEL-56363
2024-10-25 12:57:03 +02:00
Panu Matilainen
c7a072acc0 Support switching between Sequoia and GnuPG for signing packages
Add new rpmsign-sequoia and rpmsign-gnupg subpackages which can be
used to switch between the two OpenPGP implementations for signing,
rpm-sign-libs just requires one of them to be present.

It's worth noting that unlike GnuPG, Sequoia doesn't accept names or
email addresses as the signer identifier, one needs to supply the actual key
fingerprint.

Resolves: RHEL-56363
2024-10-24 12:16:09 +02:00
Michal Domonkos
0c62987083 Fix OpenScanHub findings
Resolves: RHEL-54012
Resolves: RHEL-54013
Resolves: RHEL-37564
2024-08-13 14:20:28 +02:00
Troy Dawson
b68112c47b Bump release for June 2024 mass rebuild 2024-06-24 09:22:25 -07:00
Michal Domonkos
9663c4f3ab Update to 4.19.1.1 (https://rpm.org/wiki/Releases/4.19.1.1) 2024-02-07 16:55:38 +01:00
Fedora Release Engineering
ba220b3433 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 16:20:24 +00:00
Fedora Release Engineering
1ae348e7ca Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 11:58:18 +00:00
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
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
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