[packages/hlint] - updated to 1.8.45 - deps patch no longer needed - fixed doc install
baggins
baggins at pld-linux.org
Fri May 31 22:31:33 CEST 2013
commit 488d62437eac7cbaf98637b73ab48877bc7fdad2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri May 31 22:31:12 2013 +0200
- updated to 1.8.45
- deps patch no longer needed
- fixed doc install
hlint-deps.patch | 11 -----------
hlint.spec | 11 +++++------
2 files changed, 5 insertions(+), 17 deletions(-)
---
diff --git a/hlint.spec b/hlint.spec
index a14a59c..c58bbd2 100644
--- a/hlint.spec
+++ b/hlint.spec
@@ -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
diff --git a/hlint-deps.patch b/hlint-deps.patch
deleted file mode 100644
index f239bdf..0000000
--- a/hlint-deps.patch
+++ /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
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hlint.git/commitdiff/488d62437eac7cbaf98637b73ab48877bc7fdad2
More information about the pld-cvs-commit
mailing list