rpms/xpa/FC-4 xpa.spec,1.3,1.4

Sergio Pascual (sergiopr) fedora-extras-commits at redhat.com
Wed Jul 19 09:54:08 UTC 2006


Author: sergiopr

Update of /cvs/extras/rpms/xpa/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20030

Modified Files:
	xpa.spec 
Log Message:
Changed x11 BuildRequires to a macro



Index: xpa.spec
===================================================================
RCS file: /cvs/extras/rpms/xpa/FC-4/xpa.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- xpa.spec	18 Jul 2006 10:49:40 -0000	1.3
+++ xpa.spec	19 Jul 2006 09:54:08 -0000	1.4
@@ -10,8 +10,16 @@
 Patch0: xpa-2.1.6-makefile.patch
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+%if "%fedora" >= "5"
+%define _req_x11 libXt-devel
+%endif
+
+%if "%fedora" == "4"
+%define _req_x11 xorg-x11-devel
+%endif
+
 BuildRequires: tcl-devel
-BuildRequires: xorg-x11-devel
+BuildRequires: %{_req_x11}
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
 




More information about the fedora-extras-commits mailing list