rpms/gnofract4d/devel gnofract4d.spec,1.19,1.20

Stewart Adam firewing at fedoraproject.org
Fri Feb 20 04:37:45 UTC 2009


Author: firewing

Update of /cvs/extras/rpms/gnofract4d/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30664

Modified Files:
	gnofract4d.spec 
Log Message:
* Thu Feb 19 2009 Stewart Adam <s.adam at diffingo.com> - 3.10-2
- Use a random X display number from :10 to :99 to avoid "display in use"
  errors while building



Index: gnofract4d.spec
===================================================================
RCS file: /cvs/extras/rpms/gnofract4d/devel/gnofract4d.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- gnofract4d.spec	20 Feb 2009 03:57:04 -0000	1.19
+++ gnofract4d.spec	20 Feb 2009 04:37:15 -0000	1.20
@@ -2,7 +2,7 @@
 
 Name:           gnofract4d
 Version:        3.10
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Gnofract 4D is a Gnome-based program to draw fractals
 Group:          Amusements/Graphics
 License:        LGPLv2+
@@ -66,7 +66,9 @@
 update-mime-database %{_datadir}/mime &> /dev/null || :
 
 %check
-xinit %{__python} test.py -- /usr/bin/Xvfb :9 -ac
+# Randomly assigns a number 10-99 to $dnum
+let "dnum = $RANDOM % 90 + 10"
+xinit %{__python} test.py -- /usr/bin/Xvfb :$dnum -ac
 
 %clean
 %{__rm} -rf $RPM_BUILD_ROOT
@@ -86,6 +88,10 @@
 %{python_sitearch}/fractutils/
 
 %changelog
+* Thu Feb 19 2009 Stewart Adam <s.adam at diffingo.com> - 3.10-2
+- Use a random X display number from :10 to :99 to avoid "display in use"
+  errors while building
+
 * Thu Feb 19 2009 Stewart Adam <s.adam at diffingo.com> - 3.10-1
 - Update to 3.10
 




More information about the fedora-extras-commits mailing list