Author: glen                         Date: Thu Feb 24 11:09:08 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use %ghc_pkg_recache macro; make url copyable; %ghcdir in rpmbuild macros

---- Files affected:
packages/ghc-binary:
   ghc-binary.spec (1.8 -> 1.9) 
packages/ghc-dataenc:
   ghc-dataenc.spec (1.5 -> 1.6) 
packages/ghc-hashed-storage:
   ghc-hashed-storage.spec (1.10 -> 1.11) 
packages/ghc-haskeline:
   ghc-haskeline.spec (1.7 -> 1.8) 
packages/ghc-haskell-platform:
   ghc-haskell-platform.spec (1.7 -> 1.8) 
packages/ghc-haskell-src-exts:
   ghc-haskell-src-exts.spec (1.2 -> 1.3) 
packages/ghc-haskell-src:
   ghc-haskell-src.spec (1.2 -> 1.3) 
packages/ghc-hslogger:
   ghc-hslogger.spec (1.1 -> 1.2) 
packages/ghc-mmap:
   ghc-mmap.spec (1.9 -> 1.10) 
packages/ghc-terminfo:
   ghc-terminfo.spec (1.6 -> 1.7) 
packages/ghc-transformers:
   ghc-transformers.spec (1.2 -> 1.3) 
packages/ghc-uniplate:
   ghc-uniplate.spec (1.2 -> 1.3) 
packages/ghc-zlib:
   ghc-zlib.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/ghc-binary/ghc-binary.spec
diff -u packages/ghc-binary/ghc-binary.spec:1.8 
packages/ghc-binary/ghc-binary.spec:1.9
--- packages/ghc-binary/ghc-binary.spec:1.8     Sat Aug 28 02:06:39 2010
+++ packages/ghc-binary/ghc-binary.spec Thu Feb 24 12:09:03 2011
@@ -1,20 +1,19 @@
 # $Revision$, $Date$
-%define        pkgname binary
+%define                pkgname binary
 Summary:       Binary serialisation for Haskell values using lazy ByteStrings
 Name:          ghc-%{pkgname}
 Version:       0.5.0.2
-Release:       3
+Release:       4
 License:       BSD
 Group:         Development/Languages
 Source0:       
http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
 # Source0-md5: 6bf8f3d1441602c9ab09a75e3bd6e926
-URL:           http://hackage.haskell.org/package/%{pkgname}/
+URL:           http://hackage.haskell.org/package/binary/
 BuildRequires: ghc >= 6.12.3
+BuildRequires: rpmbuild(macros) >= 1.608
 %requires_releq        ghc
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                ghcdir          ghc-%(/usr/bin/ghc --numeric-version)
-
 %description
 Efficient, pure binary serialisation using lazy ByteStrings. Haskell
 values may be encoded to and from binary formats, written to disk as
@@ -52,10 +51,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %postun
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %files
 %defattr(644,root,root,755)
@@ -70,6 +69,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2011/02/24 11:09:03  glen
+- use %ghc_pkg_recache macro; make url copyable; %ghcdir in rpmbuild macros
+
 Revision 1.8  2010/08/28 00:06:39  baggins
 - release 3
 

================================================================
Index: packages/ghc-dataenc/ghc-dataenc.spec
diff -u packages/ghc-dataenc/ghc-dataenc.spec:1.5 
packages/ghc-dataenc/ghc-dataenc.spec:1.6
--- packages/ghc-dataenc/ghc-dataenc.spec:1.5   Sat Aug 28 02:06:36 2010
+++ packages/ghc-dataenc/ghc-dataenc.spec       Thu Feb 24 12:09:03 2011
@@ -1,20 +1,19 @@
 # $Revision$, $Date$
-%define        pkgname dataenc
+%define                pkgname dataenc
 Summary:       Data encoding library
 Name:          ghc-%{pkgname}
 Version:       0.13.0.3
-Release:       2
+Release:       3
 License:       BSD
 Group:         Development/Languages
 Source0:       
http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
 # Source0-md5: e141fb21140627776c3a8f52fa8d7513
-URL:           http://hackage.haskell.org/package/%{pkgname}/
+URL:           http://hackage.haskell.org/package/dataenc/
 BuildRequires: ghc >= 6.12.3
+BuildRequires: rpmbuild(macros) >= 1.608
 %requires_releq        ghc
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                ghcdir          ghc-%(/usr/bin/ghc --numeric-version)
-
 %description
 Data encoding library currently providing Base16, Base32,
 Base32Hex, Base64, Base64Url, Base85, Python string escaping,
@@ -50,10 +49,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %postun
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %files
 %defattr(644,root,root,755)
@@ -67,6 +66,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2011/02/24 11:09:03  glen
+- use %ghc_pkg_recache macro; make url copyable; %ghcdir in rpmbuild macros
+
 Revision 1.5  2010/08/28 00:06:36  baggins
 - release 2
 

================================================================
Index: packages/ghc-hashed-storage/ghc-hashed-storage.spec
diff -u packages/ghc-hashed-storage/ghc-hashed-storage.spec:1.10 
packages/ghc-hashed-storage/ghc-hashed-storage.spec:1.11
--- packages/ghc-hashed-storage/ghc-hashed-storage.spec:1.10    Sat Aug 28 
02:06:36 2010
+++ packages/ghc-hashed-storage/ghc-hashed-storage.spec Thu Feb 24 12:09:03 2011
@@ -1,5 +1,5 @@
 # $Revision$, $Date$
-%define        pkgname hashed-storage
+%define                pkgname hashed-storage
 Summary:       Hashed file storage support code
 Name:          ghc-%{pkgname}
 Version:       0.5.2
@@ -8,12 +8,13 @@
 Group:         Development/Languages
 Source0:       
http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
 # Source0-md5: 9173f18fc672dab4e05d38092d5e7dc6
-URL:           http://hackage.haskell.org/package/%{pkgname}/
+URL:           http://hackage.haskell.org/package/hashed-storage/
 BuildRequires: ghc >= 6.12.3
 BuildRequires: ghc-binary
 BuildRequires: ghc-dataenc
 BuildRequires: ghc-mmap >= 1:0.5
 BuildRequires: ghc-zlib
+BuildRequires: rpmbuild(macros) >= 1.608
 %requires_releq        ghc
 Requires:      ghc-binary
 Requires:      ghc-dataenc
@@ -21,8 +22,6 @@
 Requires:      ghc-zlib
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                ghcdir          ghc-%(/usr/bin/ghc --numeric-version)
-
 %description
 Support code for reading and manipulating hashed file storage (where
 each file and directory is associated with a cryptographic hash, for
@@ -62,10 +61,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %postun
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %files
 %defattr(644,root,root,755)
@@ -80,6 +79,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2011/02/24 11:09:03  glen
+- use %ghc_pkg_recache macro; make url copyable; %ghcdir in rpmbuild macros
+
 Revision 1.10  2010/08/28 00:06:36  baggins
 - release 2
 

================================================================
Index: packages/ghc-haskeline/ghc-haskeline.spec
diff -u packages/ghc-haskeline/ghc-haskeline.spec:1.7 
packages/ghc-haskeline/ghc-haskeline.spec:1.8
--- packages/ghc-haskeline/ghc-haskeline.spec:1.7       Sat Aug 28 02:16:46 2010
+++ packages/ghc-haskeline/ghc-haskeline.spec   Thu Feb 24 12:09:04 2011
@@ -1,5 +1,5 @@
 # $Revision$, $Date$
-%define        pkgname haskeline
+%define                pkgname haskeline
 Summary:       A command-line interface for user input, written in Haskell
 Name:          ghc-%{pkgname}
 Version:       0.6.2.3
@@ -8,18 +8,17 @@
 Group:         Development/Languages
 Source0:       
http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
 # Source0-md5: 4e48c5dd0133f20ce69c6a5813fb82d9
-URL:           http://hackage.haskell.org/package/%{pkgname}/
+URL:           http://hackage.haskell.org/package/haskeline/
 BuildRequires: ghc >= 6.12.3
 BuildRequires: ghc-mtl
 BuildRequires: ghc-utf8-string >= 0.3.6
 BuildRequires: gmp-devel
+BuildRequires: rpmbuild(macros) >= 1.608
 %requires_releq        ghc
 Requires:      ghc-mtl
 Requires:      ghc-utf8-string >= 0.3.6
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                ghcdir          ghc-%(/usr/bin/ghc --numeric-version)
-
 %description
 Haskeline provides a user interface for line input in command-line
 programs. This library is similar in purpose to readline, but since it
@@ -56,10 +55,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %postun
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %files
 %defattr(644,root,root,755)
@@ -74,6 +73,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2011/02/24 11:09:04  glen
+- use %ghc_pkg_recache macro; make url copyable; %ghcdir in rpmbuild macros
+
 Revision 1.7  2010/08/28 00:16:46  baggins
 - rel 3
 - BR/R ghc-mtl

================================================================
Index: packages/ghc-haskell-platform/ghc-haskell-platform.spec
diff -u packages/ghc-haskell-platform/ghc-haskell-platform.spec:1.7 
packages/ghc-haskell-platform/ghc-haskell-platform.spec:1.8
--- packages/ghc-haskell-platform/ghc-haskell-platform.spec:1.7 Sat Aug 28 
02:06:40 2010
+++ packages/ghc-haskell-platform/ghc-haskell-platform.spec     Thu Feb 24 
12:09:04 2011
@@ -1,9 +1,9 @@
 # $Revision$, $Date$
-%define        pkgname haskell-platform
+%define                pkgname haskell-platform
 Summary:       Comprehensive, robust development environment for programming 
in Haskell
 Name:          ghc-%{pkgname}
 Version:       2010.2.0.0
-Release:       4
+Release:       5
 License:       BSD
 Group:         Development/Languages
 Source0:       
http://hackage.haskell.org/platform/%{version}/%{pkgname}-%{version}.tar.gz
@@ -16,6 +16,7 @@
 BuildRequires: ghc >= 6.12.3
 BuildRequires: ghc-prof
 BuildRequires: zlib-devel
+BuildRequires: rpmbuild(macros) >= 1.608
 %requires_releq        ghc
 Provides:      ghc-GLUT
 Provides:      ghc-HTTP
@@ -40,8 +41,6 @@
 Provides:      ghc-zlib
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                ghcdir          ghc-%(/usr/bin/ghc --numeric-version)
-
 %description
 The Haskell Platform is a comprehensive, robust development
 environment for programming in Haskell. For new users the platform
@@ -95,10 +94,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %postun
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %files
 %defattr(644,root,root,755)
@@ -382,6 +381,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2011/02/24 11:09:04  glen
+- use %ghc_pkg_recache macro; make url copyable; %ghcdir in rpmbuild macros
+
 Revision 1.7  2010/08/28 00:06:40  baggins
 - release 4
 

================================================================
Index: packages/ghc-haskell-src-exts/ghc-haskell-src-exts.spec
diff -u packages/ghc-haskell-src-exts/ghc-haskell-src-exts.spec:1.2 
packages/ghc-haskell-src-exts/ghc-haskell-src-exts.spec:1.3
--- packages/ghc-haskell-src-exts/ghc-haskell-src-exts.spec:1.2 Wed Dec 15 
14:29:07 2010
+++ packages/ghc-haskell-src-exts/ghc-haskell-src-exts.spec     Thu Feb 24 
12:09:04 2011
@@ -1,22 +1,21 @@
 # $Revision$, $Date$
-%define        pkgname haskell-src-exts
+%define                pkgname haskell-src-exts
 Summary:       Manipulating Haskell source: abstract syntax, lexer, parser, 
and pretty-printer
 Name:          ghc-%{pkgname}
 Version:       1.9.6
-Release:       1
+Release:       2
 License:       BSD
 Group:         Development/Languages
 Source0:       
http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
 # Source0-md5: 5e73836ab3414ec029e93903b26563ca
-URL:           http://hackage.haskell.org/package/%{pkgname}/
+URL:           http://hackage.haskell.org/package/haskell-src-exts/
 BuildRequires: cpphs
 BuildRequires: ghc >= 6.12.3
+BuildRequires: rpmbuild(macros) >= 1.608
 Requires:      cpphs
 %requires_releq        ghc
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                ghcdir          ghc-%(/usr/bin/ghc --numeric-version)
-
 %description
 Haskell-Source with Extensions (HSE, haskell-src-exts) is an extension
 of the standard haskell-src package, and handles most registered
@@ -63,10 +62,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %postun
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %files
 %defattr(644,root,root,755)
@@ -81,6 +80,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2011/02/24 11:09:04  glen
+- use %ghc_pkg_recache macro; make url copyable; %ghcdir in rpmbuild macros
+
 Revision 1.2  2010/12/15 13:29:07  baggins
 - rel 1
 

================================================================
Index: packages/ghc-haskell-src/ghc-haskell-src.spec
diff -u packages/ghc-haskell-src/ghc-haskell-src.spec:1.2 
packages/ghc-haskell-src/ghc-haskell-src.spec:1.3
--- packages/ghc-haskell-src/ghc-haskell-src.spec:1.2   Wed Dec 15 14:23:28 2010
+++ packages/ghc-haskell-src/ghc-haskell-src.spec       Thu Feb 24 12:09:04 2011
@@ -1,5 +1,5 @@
 # $Revision$, $Date$
-%define        pkgname haskell-src
+%define                pkgname haskell-src
 Summary:       Support for manipulating Haskell source code
 Name:          ghc-%{pkgname}
 Version:       1.0.1.4
@@ -8,13 +8,12 @@
 Group:         Development/Languages
 Source0:       
http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
 # Source0-md5: 32d181c082393ab859e72610803bac6e
-URL:           http://hackage.haskell.org/package/%{pkgname}/
+URL:           http://hackage.haskell.org/package/haskell-src/
 BuildRequires: ghc >= 6.12.3
+BuildRequires: rpmbuild(macros) >= 1.608
 %requires_releq        ghc
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                ghcdir          ghc-%(/usr/bin/ghc --numeric-version)
-
 %description
 The haskell-src package provides support for manipulating Haskell
 source code. The package provides a lexer, parser and pretty-printer,
@@ -51,10 +50,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %postun
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %files
 %defattr(644,root,root,755)
@@ -68,6 +67,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2011/02/24 11:09:04  glen
+- use %ghc_pkg_recache macro; make url copyable; %ghcdir in rpmbuild macros
+
 Revision 1.2  2010/12/15 13:23:28  baggins
 - rel 1
 

================================================================
Index: packages/ghc-hslogger/ghc-hslogger.spec
diff -u packages/ghc-hslogger/ghc-hslogger.spec:1.1 
packages/ghc-hslogger/ghc-hslogger.spec:1.2
--- packages/ghc-hslogger/ghc-hslogger.spec:1.1 Mon Dec 27 13:24:57 2010
+++ packages/ghc-hslogger/ghc-hslogger.spec     Thu Feb 24 12:09:04 2011
@@ -1,5 +1,5 @@
 # $Revision$, $Date$
-%define        pkgname hslogger
+%define                pkgname hslogger
 Summary:       Versatile logging framework for Haskell
 Name:          ghc-%{pkgname}
 Version:       1.1.0
@@ -8,13 +8,12 @@
 Group:         Development/Languages
 Source0:       
http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
 # Source0-md5: 8039e079338dae19e1273bbd73332014
-URL:           http://hackage.haskell.org/package/%{pkgname}/
+URL:           http://hackage.haskell.org/package/hslogger/
 BuildRequires: ghc >= 6.12.3
+BuildRequires: rpmbuild(macros) >= 1.608
 %requires_releq        ghc
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                ghcdir          ghc-%(/usr/bin/ghc --numeric-version)
-
 %description
 hslogger is a logging framework for Haskell, roughly similar to Python's
 logging module.
@@ -55,10 +54,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %postun
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %files
 %defattr(644,root,root,755)
@@ -72,6 +71,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2011/02/24 11:09:04  glen
+- use %ghc_pkg_recache macro; make url copyable; %ghcdir in rpmbuild macros
+
 Revision 1.1  2010/12/27 12:24:57  jajcus
 - new spec
 

================================================================
Index: packages/ghc-mmap/ghc-mmap.spec
diff -u packages/ghc-mmap/ghc-mmap.spec:1.9 packages/ghc-mmap/ghc-mmap.spec:1.10
--- packages/ghc-mmap/ghc-mmap.spec:1.9 Sat Aug 28 02:15:54 2010
+++ packages/ghc-mmap/ghc-mmap.spec     Thu Feb 24 12:09:04 2011
@@ -1,23 +1,22 @@
 # $Revision$, $Date$
-%define        pkgname mmap
+%define                pkgname mmap
 Summary:       Memory mapped files for POSIX and Windows
 Name:          ghc-%{pkgname}
 Version:       0.5.6
-Release:       3
+Release:       4
 Epoch:         1
 License:       BSD
 Group:         Development/Languages
 Source0:       
http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
 # Source0-md5: 642ecd97d88229ba4cd0a6d14b43f113
-URL:           http://hackage.haskell.org/package/%{pkgname}/
+URL:           http://hackage.haskell.org/package/mmap/
 BuildRequires: ghc >= 6.12.3
 BuildRequires: ghc-HUnit
+BuildRequires: rpmbuild(macros) >= 1.608
 %requires_releq        ghc
 Requires:      ghc-HUnit
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                ghcdir          ghc-%(/usr/bin/ghc --numeric-version)
-
 %description
 This library provides a wrapper to mmap(2) or MapViewOfFile,
 allowing files or devices to be lazily loaded into memory
@@ -55,10 +54,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %postun
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %files
 %defattr(644,root,root,755)
@@ -72,6 +71,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2011/02/24 11:09:04  glen
+- use %ghc_pkg_recache macro; make url copyable; %ghcdir in rpmbuild macros
+
 Revision 1.9  2010/08/28 00:15:54  baggins
 - rel 3
 - BR/R ghc-HUnit

================================================================
Index: packages/ghc-terminfo/ghc-terminfo.spec
diff -u packages/ghc-terminfo/ghc-terminfo.spec:1.6 
packages/ghc-terminfo/ghc-terminfo.spec:1.7
--- packages/ghc-terminfo/ghc-terminfo.spec:1.6 Sat Aug 28 02:06:37 2010
+++ packages/ghc-terminfo/ghc-terminfo.spec     Thu Feb 24 12:09:05 2011
@@ -1,5 +1,5 @@
 # $Revision$, $Date$
-%define        pkgname terminfo
+%define                pkgname terminfo
 Summary:       Haskell bindings to the terminfo library
 Name:          ghc-%{pkgname}
 Version:       0.3.1.3
@@ -8,16 +8,15 @@
 Group:         Development/Languages
 Source0:       
http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
 # Source0-md5: 8c0e052340f628b76f5687fa23379628
-URL:           http://hackage.haskell.org/package/%{pkgname}/
+URL:           http://hackage.haskell.org/package/terminfo/
 BuildRequires: ghc >= 6.12.3
 BuildRequires: gmp-devel
 BuildRequires: ncurses-devel
+BuildRequires: rpmbuild(macros) >= 1.608
 %requires_releq        ghc
 Requires:      ncurses-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                ghcdir          ghc-%(/usr/bin/ghc --numeric-version)
-
 %description
 This library provides an interface to the terminfo database (via
 bindings to the curses library). Terminfo allows POSIX systems to
@@ -55,10 +54,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %postun
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %files
 %defattr(644,root,root,755)
@@ -72,6 +71,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2011/02/24 11:09:05  glen
+- use %ghc_pkg_recache macro; make url copyable; %ghcdir in rpmbuild macros
+
 Revision 1.6  2010/08/28 00:06:37  baggins
 - release 2
 

================================================================
Index: packages/ghc-transformers/ghc-transformers.spec
diff -u packages/ghc-transformers/ghc-transformers.spec:1.2 
packages/ghc-transformers/ghc-transformers.spec:1.3
--- packages/ghc-transformers/ghc-transformers.spec:1.2 Wed Dec 15 14:13:03 2010
+++ packages/ghc-transformers/ghc-transformers.spec     Thu Feb 24 12:09:05 2011
@@ -1,20 +1,18 @@
 # $Revision$, $Date$
-%define        pkgname transformers
+%define                pkgname transformers
 Summary:       Concrete functor and monad transformers
 Name:          ghc-%{pkgname}
 Version:       0.2.2.0
-Release:       1
+Release:       2
 License:       BSD
 Group:         Development/Languages
 Source0:       
http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
 # Source0-md5: 3470ac66116900cd1ba84d3744474e49
-URL:           http://hackage.haskell.org/package/%{pkgname}/
+URL:           http://hackage.haskell.org/package/transformers/
 BuildRequires: ghc >= 6.12.3
 %requires_releq        ghc
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                ghcdir          ghc-%(/usr/bin/ghc --numeric-version)
-
 %description
 This package contains the monad transformer class, the concrete monad
 transformers, operations and liftings. It can be used on its own in
@@ -52,10 +50,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %postun
-/usr/bin/ghc-pkg recache
+%ghc_pkg_recache
 
 %files
 %defattr(644,root,root,755)
@@ -69,6 +67,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2011/02/24 11:09:05  glen
+- use %ghc_pkg_recache macro; make url copyable; %ghcdir in rpmbuild macros
+
 Revision 1.2  2010/12/15 13:13:03  baggins
 - rel 1
 - no docs here
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghc-binary/ghc-binary.spec?r1=1.8&r2=1.9&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghc-dataenc/ghc-dataenc.spec?r1=1.5&r2=1.6&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghc-hashed-storage/ghc-hashed-storage.spec?r1=1.10&r2=1.11&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghc-haskeline/ghc-haskeline.spec?r1=1.7&r2=1.8&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghc-haskell-platform/ghc-haskell-platform.spec?r1=1.7&r2=1.8&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghc-haskell-src-exts/ghc-haskell-src-exts.spec?r1=1.2&r2=1.3&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghc-haskell-src/ghc-haskell-src.spec?r1=1.2&r2=1.3&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghc-hslogger/ghc-hslogger.spec?r1=1.1&r2=1.2&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghc-mmap/ghc-mmap.spec?r1=1.9&r2=1.10&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghc-terminfo/ghc-terminfo.spec?r1=1.6&r2=1.7&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghc-transformers/ghc-transformers.spec?r1=1.2&r2=1.3&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghc-uniplate/ghc-uniplate.spec?r1=1.2&r2=1.3&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghc-zlib/ghc-zlib.spec?r1=1.5&r2=1.6&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to