rpms/ghc-X11/devel ghc-X11.spec,1.8,1.9

Jens Petersen petersen at fedoraproject.org
Thu Apr 23 08:13:34 UTC 2009


Author: petersen

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

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


Index: ghc-X11.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ghc-X11/devel/ghc-X11.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ghc-X11.spec	23 Apr 2009 01:28:53 -0000	1.8
+++ ghc-X11.spec	23 Apr 2009 08:13:03 -0000	1.9
@@ -4,7 +4,8 @@
 %bcond_without prof
 
 # placate mock
-%{!?ghcrequires: %{expand:%%define ghcrequires() Requires: %1}}
+%{!?ghcrequires: %{expand:%%define ghcrequires()\
+Requires: %1}}
 
 # ghc does not emit debug information
 %global debug_package %{nil}
@@ -40,7 +41,7 @@
 %package devel
 Summary:        Haskell %{pkg_name} library
 Group:          Development/Libraries
-%ghcrequires ghc post preun
+%{expand:%%ghcrequires ghc post preun}
 Requires:       libXinerama-devel, libX11-devel, libXext-devel
 
 %description devel
@@ -52,7 +53,7 @@
 %package doc
 Summary: Documentation for %{name}
 Group: Development/Libraries
-%ghcrequires ghc-doc post postun
+%{expand:%%ghcrequires ghc-doc post postun}
 
 %description doc
 This package contains development documentation files for the %{name} library.
@@ -64,7 +65,7 @@
 Summary: Profiling libraries for %{name}
 Group: Development/Libraries
 Requires: %{name}-devel = %{version}-%{release}
-%ghcrequires ghc-prof
+%{expand:%%ghcrequires ghc-prof}
 
 %description prof
 This package contains profiling libraries for %{name}.




More information about the fedora-extras-commits mailing list