rpms/xfig/devel xfig.spec,1.49,1.50

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


Author: jwrdegoede

Update of /cvs/extras/rpms/xfig/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20561

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



Index: xfig.spec
===================================================================
RCS file: /cvs/extras/rpms/xfig/devel/xfig.spec,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- xfig.spec	19 Feb 2008 10:11:28 -0000	1.49
+++ xfig.spec	28 Feb 2008 19:39:01 -0000	1.50
@@ -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 @@
 %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 @@
 # 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 @@
 
 
 %changelog
+* Thu Feb 28 2008 Hans de Goede <j.w.r.degoede at 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 at fedoraproject.org> - 3.2.5-8
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list