[packages/ghc-json] - up to 0.10
baggins
baggins at pld-linux.org
Sun May 24 13:38:43 CEST 2020
commit 21ad35d31b04dd3f5b3fa90ecfbd838d35a61169
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun May 24 13:38:33 2020 +0200
- up to 0.10
ghc-json.spec | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/ghc-json.spec b/ghc-json.spec
index 7f3538f..4577fde 100644
--- a/ghc-json.spec
+++ b/ghc-json.spec
@@ -6,13 +6,13 @@
Summary: Support for serialising Haskell to and from JSON
Summary(pl.UTF-8): Obsługa serializacji Haskella do i z formatu JSON
Name: ghc-%{pkgname}
-Version: 0.7
-Release: 4
+Version: 0.10
+Release: 1
License: BSD
Group: Development/Languages
#Source0Download: http://hackage.haskell.org/package/json
Source0: http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{version}.tar.gz
-# Source0-md5: bfa338cafdc88b0f6c9897bb4917e48a
+# Source0-md5: a30006f2e673b29852be7c001cfc2bfa
URL: http://hackage.haskell.org/package/json
BuildRequires: ghc >= 6.12.3
BuildRequires: ghc-array
@@ -117,15 +117,18 @@ rm -rf $RPM_BUILD_ROOT
%doc CHANGES %{name}-%{version}-doc/*
%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
%dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}
-%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/HSjson-%{version}.o
-%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHSjson-%{version}.a
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHSjson-%{version}-*.so
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHSjson-%{version}-*.a
+%exclude %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHSjson-%{version}-*_p.a
%dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Text
%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Text/*.hi
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Text/*.dyn_hi
%dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Text/JSON
%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Text/JSON/*.hi
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Text/JSON/*.dyn_hi
%files prof
%defattr(644,root,root,755)
-%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHSjson-%{version}_p.a
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHSjson-%{version}-*_p.a
%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Text/*.p_hi
%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Text/JSON/*.p_hi
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ghc-json.git/commitdiff/21ad35d31b04dd3f5b3fa90ecfbd838d35a61169
More information about the pld-cvs-commit
mailing list