[packages/cpphs] - up to 1.16
baggins
baggins at pld-linux.org
Fri May 31 20:46:22 CEST 2013
commit 2460f3a809c59c642a4525cd4ad1c10b6a55eba5
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri May 31 20:46:12 2013 +0200
- up to 1.16
cpphs.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/cpphs.spec b/cpphs.spec
index 4d6b697..30f5a23 100644
--- a/cpphs.spec
+++ b/cpphs.spec
@@ -1,12 +1,12 @@
%define pkgname cpphs
Summary: A liberalised re-implementation of cpp, the C pre-processor
Name: cpphs
-Version: 1.13.1
-Release: 3
+Version: 1.16
+Release: 1
License: LGPL
Group: Development/Languages
Source0: http://hackage.haskell.org/packages/archive/cpphs/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 4fe8b5c71068e97602b0f45facd76be3
+# Source0-md5: 2224334a779369978d1259996c6539d1
URL: http://haskell.org/cpphs/
BuildRequires: ghc >= 6.12.3
BuildRequires: rpmbuild(macros) >= 1.608
@@ -64,8 +64,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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cpphs.git/commitdiff/2460f3a809c59c642a4525cd4ad1c10b6a55eba5
More information about the pld-cvs-commit
mailing list