rpms/ghc-gtk2hs/devel ghc-gtk2hs.spec,1.16,1.17

Jens Petersen petersen at fedoraproject.org
Tue Mar 10 03:41:29 UTC 2009


Author: petersen

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

Modified Files:
	ghc-gtk2hs.spec 
Log Message:
add prof subpackages


Index: ghc-gtk2hs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ghc-gtk2hs/devel/ghc-gtk2hs.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ghc-gtk2hs.spec	9 Mar 2009 06:59:30 -0000	1.16
+++ ghc-gtk2hs.spec	10 Mar 2009 03:40:59 -0000	1.17
@@ -148,6 +148,19 @@
 \
 This package contains a Haskell binding of the %1 library.\
 \
+%if %{with prof}\
+%package -n ghc-%1-prof\
+Summary:        Haskell %1 profiling library\
+Group:          Development/Libraries\
+Requires:       ghc-prof = %{ghc_version}\
+Requires:       ghc-%1-devel = %{version}-%{release}\
+\
+%description -n ghc-%1-prof\
+%common_descr\
+\
+This package contains the profiling libraries for the Haskell %1 library.\
+%endif\
+\
 %post -n ghc-%1-devel\
 ghc-pkg-%{ghc_version} update %{pkg_libdir}/%1.package.conf &>/dev/null || : \
 \
@@ -157,12 +170,18 @@
 fi\
 \
 %files -n ghc-%1-devel\
+%defattr(-,root,root,-)\
 %{pkg_libdir}/%1.cabal\
 %{pkg_libdir}/%1.package.conf\
 %{pkg_libdir}/libHS%1.a\
 %{pkg_libdir}/HS%1.o\
-%{pkg_libdir}/imports/%1
-
+%{pkg_libdir}/imports/%1\
+\
+%if %{with prof}\
+%files -n ghc-%1-prof\
+%defattr(-,root,root,-)\
+%{pkg_libdir}/libHS%{1}_p.a\
+%endif
 
 %subpackage cairo cairo glib
 %subpackage gconf GConf2 glib
@@ -278,6 +297,7 @@
 - use global
 - update arch list
 - rename library subpackages to devel and obsolete old packages
+- add prof subpackages
 
 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.10.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild




More information about the fedora-extras-commits mailing list