[packages/ghc-temporary] - up to 1.3

baggins baggins at pld-linux.org
Sun May 24 14:31:23 CEST 2020


commit 27bb80adfd0a8f7fb585f51668ac3d52b5432460
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun May 24 14:31:14 2020 +0200

    - up to 1.3

 ghc-temporary.spec | 41 ++++++++++++++++++++---------------------
 1 file changed, 20 insertions(+), 21 deletions(-)
---
diff --git a/ghc-temporary.spec b/ghc-temporary.spec
index c9f5538..1a487c0 100644
--- a/ghc-temporary.spec
+++ b/ghc-temporary.spec
@@ -6,39 +6,39 @@
 Summary:	Portable temporary file and directory support for Windows and Unix
 Summary(pl.UTF-8):	Przenośna obsługa plików i katalogów tymczasowych dla Windows i Uniksa
 Name:		ghc-%{pkgname}
-Version:	1.1.2.4
+Version:	1.3
 Release:	1
 License:	BSD
 Group:		Development/Languages
 #Source0Download: http://hackage.haskell.org/package/temporary
 Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{version}.tar.gz
-# Source0-md5:	80bf7f663b8a1e2e92dc117fa74629d3
+# Source0-md5:	3f2d619133f19080886b8aa81da7f419
 URL:		http://hackage.haskell.org/package/temporary
 BuildRequires:	ghc >= 6.12.3
 BuildRequires:	ghc-base >= 3
-BuildRequires:	ghc-base < 6
 BuildRequires:	ghc-directory >= 1.0
-BuildRequires:	ghc-directory < 1.3
 BuildRequires:	ghc-filepath >= 1.1
-BuildRequires:	ghc-filepath < 1.4
+BuildRequires:	ghc-transformers >= 0.2.0.0
+BuildRequires:	ghc-exceptions >= 0.6
+BuildRequires:	ghc-random >= 1.1
 %if %{with prof}
 BuildRequires:	ghc-prof >= 6.12.3
 BuildRequires:	ghc-base-prof >= 3
-BuildRequires:	ghc-base-prof < 6
 BuildRequires:	ghc-directory-prof >= 1.0
-BuildRequires:	ghc-directory-prof < 1.3
 BuildRequires:	ghc-filepath-prof >= 1.1
-BuildRequires:	ghc-filepath-prof < 1.4
+BuildRequires:	ghc-transformers-prof >= 0.2.0.0
+BuildRequires:	ghc-exceptions-prof >= 0.6
+BuildRequires:	ghc-random-prof >= 1.1
 %endif
 BuildRequires:	rpmbuild(macros) >= 1.608
 Requires(post,postun):	/usr/bin/ghc-pkg
 %requires_eq	ghc
 Requires:	ghc-base >= 3
-Requires:	ghc-base < 6
 Requires:	ghc-directory >= 1.0
-Requires:	ghc-directory < 1.3
 Requires:	ghc-filepath >= 1.1
-Requires:	ghc-filepath < 1.4
+Requires:	ghc-transformers >= 0.2.0.0
+Requires:	ghc-exceptions >= 0.6
+Requires:	ghc-random >= 1.1
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # debuginfo is not useful for ghc
@@ -68,12 +68,13 @@ Summary:	Profiling %{pkgname} library for GHC
 Summary(pl.UTF-8):	Biblioteka profilująca %{pkgname} dla GHC
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Requires:	ghc-prof >= 6.12.3
 Requires:	ghc-base-prof >= 3
-Requires:	ghc-base-prof < 6
 Requires:	ghc-directory-prof >= 1.0
-Requires:	ghc-directory-prof < 1.3
 Requires:	ghc-filepath-prof >= 1.1
-Requires:	ghc-filepath-prof < 1.4
+Requires:	ghc-transformers-prof >= 0.2.0.0
+Requires:	ghc-exceptions-prof >= 0.6
+Requires:	ghc-random-prof >= 1.1
 
 %description prof
 Profiling %{pkgname} library for GHC. Should be installed when
@@ -136,20 +137,18 @@ rm -rf $RPM_BUILD_ROOT
 %doc LICENSE
 %{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
 %dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}
-%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/HStemporary-%{version}.o
-%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHStemporary-%{version}.a
-%dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Distribution
-%dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Distribution/Compat
-%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Distribution/Compat/*.hi
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHStemporary-%{version}-*.so
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHStemporary-%{version}-*.a
+%exclude %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHStemporary-%{version}-*_p.a
 %dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/System
 %dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/System/IO
 %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/System/IO/Temp.hi
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/System/IO/Temp.dyn_hi
 
 %if %{with prof}
 %files prof
 %defattr(644,root,root,755)
-%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHStemporary-%{version}_p.a
-%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Distribution/Compat/*.p_hi
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHStemporary-%{version}-*_p.a
 %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/System/IO/Temp.p_hi
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc-temporary.git/commitdiff/27bb80adfd0a8f7fb585f51668ac3d52b5432460



More information about the pld-cvs-commit mailing list