public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Nasrat <pnasrat@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Fix dangling symlinks
Date: Mon, 23 Nov 2026 09:23:04 GMT [thread overview]
Message-ID: <179542578410.1.11834776978340077289.rpms-rpm-baebc91e850f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : baebc91e850fc493ddd94857afc7a43f807ee98d
Author : Paul Nasrat <pnasrat@fedoraproject.org>
Date : 2005-05-21T16:18:48+00:00
Stats : +12/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/baebc91e850fc493ddd94857afc7a43f807ee98d?branch=pmatilai-v6
Log:
Fix dangling symlinks
---
diff --git a/rpm.spec b/rpm.spec
index 9c3918e..883f56f 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -20,7 +20,7 @@ Name: rpm
%define version 4.4.1
Version: %{version}
%{expand: %%define rpm_version %{version}}
-Release: 20
+Release: 18.1
Group: System Environment/Base
Source: ftp://jbj.org/pub/rpm-devel/rpm-%{rpm_version}.tar.gz
Patch0: rpm-4.4.1-posttrans.patch
@@ -34,7 +34,6 @@ Patch7: rpm-4.4.1-prepostun.patch
Patch8: rpm-4.4.1-ordererase.patch
Patch9: rpm-4.4.1-matchpathcon.patch
Patch10: rpm-4.4.1-check-symlinks.patch
-Patch11: rpm-4.4.x-signature.patch
License: GPL
Conflicts: patch < 2.5
%ifos linux
@@ -154,7 +153,6 @@ shell-like rules.
%patch8 -p1 -b .ordererase
%patch9 -p1 -b .matchpathcon
%patch10 -p1 -b .checklinks
-#patch11 -p1 -b .oldsig
# XXX move zh_CN
sed -i 's/zh_CN.GB2312/zh_CN/' popt/configure*
@@ -205,6 +203,16 @@ for i in librpm.la librpmbuild.la librpmdb.la librpmio.la ; do
sed -i -e 's~-L'"$RPM_BUILD_ROOT"'[^ ]* ~~g' \
-e 's~-L'"$RPM_BUILD_DIR"'[^ ]* ~~g' \
"$RPM_BUILD_ROOT%{__libdir}/$i"
+
+# Clean up dangling symlinks
+# XXX Fix in rpm tree
+for i in /usr/bin/rpme /usr/bin/rpmi /usr/bin/rpmu; do
+ rm -f "$RPM_BUILD_ROOT"/"$i";
+done
+
+# Clean up dangling symlinks
+for i in /usr/lib/rpmpopt /usr/lib/rpmrc; do
+ rm -f "$RPM_BUILD_ROOT"/"$i";
done
%ifos linux
@@ -544,6 +552,7 @@ exit 0
%changelog
* Sat May 21 2005 Paul Nasrat <pnasrat@redhat.com> - 4.4.1-20
- Drop signature patch
+- dangling unpackaged symlinks
* Tue May 17 2005 Paul Nasrat <pnasrat@redhat.com> - 4.4.1-19
- Check for symlinks in check-files (#108778)
reply other threads:[~2026-11-23 9:23 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=179542578410.1.11834776978340077289.rpms-rpm-baebc91e850f@fedoraproject.org \
--to=pnasrat@fedoraproject.org \
--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