[packages/ghc-c2hs] - up to 0.28.6
baggins
baggins at pld-linux.org
Sun May 24 17:08:59 CEST 2020
commit 908b40a527133fb95c4454c3ed3c1d0df5c78a06
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun May 24 17:08:50 2020 +0200
- up to 0.28.6
ghc-c2hs.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/ghc-c2hs.spec b/ghc-c2hs.spec
index b647a5b..d50a3e1 100644
--- a/ghc-c2hs.spec
+++ b/ghc-c2hs.spec
@@ -1,19 +1,17 @@
%define pkgname c2hs
Summary: A Haskell binding to the c2hs graphics library
Name: ghc-%{pkgname}
-Version: 0.16.4
+Version: 0.28.6
Release: 1
License: BSD
Group: Development/Languages
Source0: http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
-# Source0-md5: 5650ffd0cc901be8ab874c58c83f253e
+# Source0-md5: fdb24350973ecdc2376576241707ff74
URL: http://hackage.haskell.org/package/c2hs/
BuildRequires: ghc >= 6.12.3
-BuildRequires: ghc-language-c < 0.4
BuildRequires: ghc-language-c >= 0.3.1.1
BuildRequires: rpmbuild(macros) >= 1.608
%requires_eq ghc
-Requires: ghc-language-c < 0.4
Requires: ghc-language-c >= 0.3.1.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -40,9 +38,12 @@ rm -rf $RPM_BUILD_ROOT
runhaskell Setup.hs copy --destdir=$RPM_BUILD_ROOT
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README
%attr(755,root,root) %{_bindir}/c2hs
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ghc-c2hs.git/commitdiff/908b40a527133fb95c4454c3ed3c1d0df5c78a06
More information about the pld-cvs-commit
mailing list