public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Hans de Goede <jwrdegoede@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/xfig] epel10.2: - Fix cmdline parsing (broken by renaming the binary) (bz 435097)
Date: Sat, 30 May 2026 14:28:03 GMT [thread overview]
Message-ID: <178015128302.1.7291868626687213397.rpms-xfig-d938651d1d08@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/xfig
Branch : epel10.2
Commit : d938651d1d08a02bdfeac87488b77051e20db174
Author : Hans de Goede <jwrdegoede@fedoraproject.org>
Date : 2008-02-28T19:39:01+00:00
Stats : +8/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/xfig/c/d938651d1d08a02bdfeac87488b77051e20db174?branch=epel10.2
Log:
- Fix cmdline parsing (broken by renaming the binary) (bz 435097)
---
diff --git a/xfig.spec b/xfig.spec
index c30092c..08d6ea2 100644
--- a/xfig.spec
+++ b/xfig.spec
@@ -3,7 +3,7 @@
Summary: An X Window System tool for drawing basic vector graphics
Name: xfig
Version: 3.2.5
-Release: 8%{?dist}
+Release: 9%{?dist}
License: MIT
Group: Applications/Multimedia
URL: http://www.xfig.org/
@@ -108,6 +108,8 @@ done
%build
# First build the Xaw3d version
xmkmf
+# make sure cmdline option parsing still works despite us renaming the binary
+sed -i 's/"xfig"/"xfig-Xaw3d"/' main.c
make XFIGDOCDIR=%{_docdir}/%{name}-%{version} \
CDEBUGFLAGS="$RPM_OPT_FLAGS -fno-strength-reduce -fno-strict-aliasing"
mv xfig xfig-Xaw3d
@@ -116,6 +118,8 @@ make distclean
# And then build the normal Xaw version
mv Imakefile.no-Xaw3d Imakefile
xmkmf
+# make sure cmdline option parsing still works despite us renaming the binary
+sed -i 's/"xfig-Xaw3d"/"xfig-plain"/' main.c
make XFIGDOCDIR=%{_docdir}/%{name}-%{version} \
CDEBUGFLAGS="$RPM_OPT_FLAGS -fno-strength-reduce -fno-strict-aliasing"
@@ -182,6 +186,9 @@ fi
%changelog
+* Thu Feb 28 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 3.2.5-9
+- Fix cmdline parsing (broken by renaming the binary) (bz 435097)
+
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.2.5-8
- Autorebuild for GCC 4.3
reply other threads:[~2026-05-30 14:28 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=178015128302.1.7291868626687213397.rpms-xfig-d938651d1d08@fedoraproject.org \
--to=jwrdegoede@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