Commit Graph

977 Commits

Author SHA1 Message Date
Michal Domonkos 3b94c7e3fe 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 14:24:55 +02:00
Michal Domonkos 872ea5af1b Fix %autosetup -S git regression wrt default git branch
Found by Miro Hroncok (@churchyard) via
https://bodhi.fedoraproject.org/updates/FEDORA-2022-763dfc66f1
2022-07-11 16:12:41 +02:00
Michal Domonkos 1af30e0e23 Rebase to rpm 4.17.1 (http://rpm.org/wiki/Releases/4.17.1) 2022-07-01 17:01:46 +02: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
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