[packages/ghc-unordered-containers] - package CHANGELOG.md, updated dependencies

qboosh qboosh at pld-linux.org
Sat Jul 19 21:56:36 CEST 2025


commit f093c4776bdfe52962148d1b3328f517fb76d75f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jul 19 21:58:13 2025 +0200

    - package CHANGELOG.md, updated dependencies

 ghc-unordered-containers.spec | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/ghc-unordered-containers.spec b/ghc-unordered-containers.spec
index b0c6c8f..b254c7a 100644
--- a/ghc-unordered-containers.spec
+++ b/ghc-unordered-containers.spec
@@ -15,20 +15,21 @@ Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
 # Source0-md5:	5994101f6b1f19b264dcfdf863f57324
 Patch0:		hashable-1.3.patch
 URL:		http://hackage.haskell.org/package/unordered-containers
-BuildRequires:	ghc >= 6.12.3
-BuildRequires:	ghc-base >= 4
+BuildRequires:	ghc >= 7.8.1
+BuildRequires:	ghc-base >= 4.7
+BuildRequires:	ghc-base < 5
 BuildRequires:	ghc-deepseq >= 1.1
 BuildRequires:	ghc-hashable >= 1.0.1.1
 %if %{with prof}
-BuildRequires:	ghc-prof >= 6.12.3
-BuildRequires:	ghc-base-prof >= 4
+BuildRequires:	ghc-prof >= 7.8.1
+BuildRequires:	ghc-base-prof >= 4.7
 BuildRequires:	ghc-deepseq-prof >= 1.1
 BuildRequires:	ghc-hashable-prof >= 1.0.1.1
 %endif
 BuildRequires:	rpmbuild(macros) >= 1.608
 Requires(post,postun):	/usr/bin/ghc-pkg
 %requires_eq	ghc
-Requires:	ghc-base >= 4
+Requires:	ghc-base >= 4.7
 Requires:	ghc-deepseq >= 1.1
 Requires:	ghc-hashable >= 1.0.1.1
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -54,7 +55,7 @@ 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-base-prof >= 4
+Requires:	ghc-base-prof >= 4.7
 Requires:	ghc-deepseq-prof >= 1.1
 Requires:	ghc-hashable-prof >= 1.0.1.1
 
@@ -79,7 +80,7 @@ Dokumentacja w formacie HTML dla pakietu ghc %{pkgname}.
 
 %prep
 %setup -q -n %{pkgname}-%{version}
-%patch -p1
+%patch -P0 -p1
 
 %build
 runhaskell Setup.hs configure -v2 \
@@ -90,6 +91,7 @@ runhaskell Setup.hs configure -v2 \
 	--docdir=%{_docdir}/%{name}-%{version}
 
 runhaskell Setup.hs build
+
 runhaskell Setup.hs haddock --executables
 
 %install
@@ -117,10 +119,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc LICENSE
+%doc CHANGES.md LICENSE
 %{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
 %dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}
-%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHSunordered-containers-%{version}-*.so
+%attr(755,root,root) %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHSunordered-containers-%{version}-*.so
 %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHSunordered-containers-%{version}-*.a
 %exclude %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHSunordered-containers-%{version}-*_p.a
 %dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Data
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc-unordered-containers.git/commitdiff/f093c4776bdfe52962148d1b3328f517fb76d75f



More information about the pld-cvs-commit mailing list