public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Florian Festi <ffesti@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Add compat links and Provides or building dnf and friends
Date: Mon, 23 Nov 2026 09:34:44 GMT [thread overview]
Message-ID: <179542648474.1.174980784797894366.rpms-rpm-3aac3a0be990@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 3aac3a0be990454cc27d6a5547c9a20a3ec09640
Author : Florian Festi <ffesti@redhat.com>
Date : 2023-05-11T16:44:42+02:00
Stats : +22/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/3aac3a0be990454cc27d6a5547c9a20a3ec09640?branch=pmatilai-v6
Log:
Add compat links and Provides or building dnf and friends
---
diff --git a/rpm.spec b/rpm.spec
index f0b08d6..cf5091c 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -32,8 +32,9 @@
%global rpmver 4.18.90
#global snapver rc1
-%global baserelease 1
+%global baserelease 2
%global sover 10
+%global oldsover 9
%global srcver %{rpmver}%{?snapver:-%{snapver}}
%global srcdir %{?snapver:testing}%{!?snapver:rpm-%(echo %{rpmver} | cut -d'.' -f1-2).x}
@@ -175,6 +176,17 @@ Requires(meta): %{name} = %{version}-%{release}
Requires: rpm-sequoia%{_isa} >= 1.4.0
%endif
+
+# XXX dirty temporary hack to "bootstrap" new .so version
+# XXX isa bits isn't quite right for multilib but suffices for this purpose
+%if %{__isa_bits} == 64
+Provides: librpmio.so.%{oldsover}()(64bit)
+Provides: librpm.so.%{oldsover}()(64bit)
+%else
+Provides: librpmio.so.%{oldsover}
+Provides: librpm.so.%{oldsover}
+%endif
+
%description libs
This package contains the RPM shared libraries.
@@ -395,6 +407,10 @@ cd _build
# as it is currently in systemd-rpm-macros
rm $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/sysusers.attr
+# XXX dirty temporary hack to "bootstrap" new .so version
+ln -s librpmio.so.%{sover} $RPM_BUILD_ROOT/%{_libdir}/librpmio.so.%{oldsover}
+ln -s librpm.so.%{sover} $RPM_BUILD_ROOT/%{_libdir}/librpm.so.%{oldsover}
+
cd ..
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
@@ -526,6 +542,8 @@ fi
%{_libdir}/librpm.so.%{sover}
%{_libdir}/librpmio.so.%{sover}.*
%{_libdir}/librpm.so.%{sover}.*
+%{_libdir}/librpmio.so.%{oldsover}
+%{_libdir}/librpm.so.%{oldsover}
%if %{with plugins}
%dir %{_libdir}/rpm-plugins
@@ -628,6 +646,9 @@ fi
%doc %{_defaultdocdir}/rpm/API/
%changelog
+* Thu May 11 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-2
+- Add compat links for building dnf and friends
+
* Thu May 04 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-1
- Update to 4.19 alpha
reply other threads:[~2026-11-23 9:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179542648474.1.174980784797894366.rpms-rpm-3aac3a0be990@fedoraproject.org \
--to=ffesti@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox