rpms/xfig/F-8 xfig.spec,1.44,1.45

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Thu Feb 28 19:44:28 UTC 2008


Author: jwrdegoede

Update of /cvs/extras/rpms/xfig/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20820

Modified Files:
	xfig.spec 
Log Message:
* Thu Feb 28 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 3.2.5-7
- Fix cmdline parsing (broken by renaming the binary) (bz 435097)



Index: xfig.spec
===================================================================
RCS file: /cvs/extras/rpms/xfig/F-8/xfig.spec,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- xfig.spec	12 Dec 2007 19:37:20 -0000	1.44
+++ xfig.spec	28 Feb 2008 19:43:52 -0000	1.45
@@ -3,7 +3,7 @@
 Summary: An X Window System tool for drawing basic vector graphics
 Name: xfig
 Version: 3.2.5
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: MIT
 Group: Applications/Multimedia
 URL: http://www.xfig.org/
@@ -105,6 +105,8 @@
 %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
@@ -113,6 +115,8 @@
 # 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"
 
@@ -179,6 +183,9 @@
 
 
 %changelog
+* Thu Feb 28 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 3.2.5-7
+- Fix cmdline parsing (broken by renaming the binary) (bz 435097)
+
 * Wed Dec 12 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 3.2.5-6
 - Fix xfig crashing when zooming in a lot (bz 420411)
 




More information about the fedora-extras-commits mailing list