]> git.pld-linux.org Git - packages/hlint.git/commitdiff
- updated to 1.8.45 auto/th/hlint-1.8.45-1
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 31 May 2013 20:31:12 +0000 (22:31 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 31 May 2013 20:31:12 +0000 (22:31 +0200)
- deps patch no longer needed
- fixed doc install

hlint-deps.patch [deleted file]
hlint.spec

diff --git a/hlint-deps.patch b/hlint-deps.patch
deleted file mode 100644 (file)
index f239bdf..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- hlint-1.8.15/hlint.cabal~  2011-08-13 18:18:53.000000000 +0200
-+++ hlint-1.8.15/hlint.cabal   2011-09-27 23:32:29.297422103 +0200
-@@ -41,7 +41,7 @@
-         base == 4.*, process, filepath, directory, containers,
-         transformers >= 0.0 && < 0.3,
-         hscolour >= 1.17 && < 1.20,
--        cpphs >= 1.11 && < 1.13,
-+        cpphs >= 1.11 && < 1.14,
-         haskell-src-exts >= 1.11 && < 1.12,
-         uniplate >= 1.5 && < 1.7
index a14a59ce45dd421188569abe91264f46ab2d7ee8..c58bbd2122d85ad3909e534e465a1ae7bf4fc501 100644 (file)
@@ -1,12 +1,11 @@
 Summary:       Haskell Source code suggestions
 Name:          hlint
-Version:       1.8.15
-Release:       2
+Version:       1.8.45
+Release:       1
 License:       GPL
 Group:         Development/Languages
 Source0:       http://hackage.haskell.org/packages/archive/hlint/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 4ce291cb13ff410bff8f1b9adb9f8a34
-Patch0:                %{name}-deps.patch
+# Source0-md5: a317df7355d572b2aaa7402a76760725
 URL:           http://community.haskell.org/~ndm/hlint/
 BuildRequires: cpphs
 BuildRequires: ghc >= 6.12.3
@@ -30,7 +29,6 @@ HLint gives suggestions on how to improve your source code.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 runhaskell Setup.hs configure -v2 \
@@ -49,8 +47,9 @@ install -d $RPM_BUILD_ROOT%{_libdir}/%{ghcdir}/package.conf.d
 runhaskell Setup.hs copy --destdir=$RPM_BUILD_ROOT
 
 # work around automatic haddock docs installation
-rm -rf %{name}-%{version}-doc
+%{__rm} -rf %{name}-%{version}-doc
 cp -a $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
 
 runhaskell Setup.hs register \
        --gen-pkg-config=$RPM_BUILD_ROOT/%{_libdir}/%{ghcdir}/package.conf.d/%{name}.conf
This page took 0.117697 seconds and 4 git commands to generate.