rpms/ghc-X11/devel ghc-X11.spec,1.5,1.6

Jens Petersen petersen at fedoraproject.org
Sun Apr 19 14:59:17 UTC 2009


Author: petersen

Update of /cvs/pkgs/rpms/ghc-X11/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28800

Modified Files:
	ghc-X11.spec 
Log Message:
maybe define ghcrequires for mock


Index: ghc-X11.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ghc-X11/devel/ghc-X11.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ghc-X11.spec	19 Apr 2009 14:44:39 -0000	1.5
+++ ghc-X11.spec	19 Apr 2009 14:58:43 -0000	1.6
@@ -3,6 +3,9 @@
 %bcond_without doc
 %bcond_without prof
 
+# placate mock
+%{!?ghcrequires: %define ghcrequires() Requires:       %1}
+
 # ghc does not emit debug information
 %global debug_package %{nil}
 
@@ -25,7 +28,7 @@
 %if %{with prof}
 BuildRequires:  ghc-prof
 %endif
-BuildRequires: libXinerama-devel, libX11-devel, libXext-devel
+BuildRequires:  libXinerama-devel, libX11-devel, libXext-devel
 
 %description
 This package provides the Haskell %{pkg_name} library.
@@ -136,7 +139,8 @@
 %changelog
 * Mon Apr 20 2009 Jens Petersen <petersen at redhat.com> - 1.4.5-7
 - rebuild with ghc-6.10.2
-- update to latest cabal2spec template and macros.ghc
+- update to latest cabal2spec template and macros.ghc without ghc_version
+- maybe define ghcrequires for mock
 
 * Sat Apr  4 2009 Yaakov M. Nemoy <yankee at localhost.localdomain> - 1.4.5-6
 - rebuild bump to raise EVR manually, to match with F-10 branch




More information about the scm-commits mailing list