public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ghc-tar] rawhide: file-io is packaged in Fedora
@ 2026-11-05 10:16 Jens Petersen
0 siblings, 0 replies; only message in thread
From: Jens Petersen @ 2026-11-05 10:16 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ghc-tar
Branch : rawhide
Commit : 4877fd38f94ac7be225bf1ac635f8f8c9425842a
Author : Jens Petersen <petersen@redhat.com>
Date : 2026-11-05T18:03:02+08:00
Stats : +21/-17 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ghc-tar/c/4877fd38f94ac7be225bf1ac635f8f8c9425842a?branch=rawhide
Log:
file-io is packaged in Fedora
---
diff --git a/ghc-tar.spec b/ghc-tar.spec
index 18022b5..ae7a2ad 100644
--- a/ghc-tar.spec
+++ b/ghc-tar.spec
@@ -1,4 +1,4 @@
-# generated by cabal-rpm-2.3.2 --subpackage
+# generated by cabal-rpm-2.4.0 --subpackage
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name tar
@@ -7,17 +7,15 @@
%global atomiccounter atomic-counter-0.1.2.4
%global directoryospathstreaming directory-ospath-streaming-0.2.2
-%global fileio file-io-0.1.5
-%global subpkgs %{atomiccounter} %{directoryospathstreaming} %{fileio}
+%global subpkgs %{atomiccounter} %{directoryospathstreaming}
-# cabal-rpm not generating deps for subpkgs
%bcond tests 0
Name: ghc-%{pkg_name}
Version: 0.6.4.0
# can only be reset when all subpkgs bumped
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Reading, writing and manipulating ".tar" archive files
License: BSD-3-Clause
@@ -26,8 +24,7 @@ URL: https://hackage.haskell.org/package/tar
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{atomiccounter}/%{atomiccounter}.tar.gz
Source2: https://hackage.haskell.org/package/%{directoryospathstreaming}/%{directoryospathstreaming}.tar.gz
-Source3: https://hackage.haskell.org/package/%{fileio}/%{fileio}.tar.gz
-Source4: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
+Source3: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
# End cabal-rpm sources
# Begin cabal-rpm deps:
@@ -41,7 +38,7 @@ BuildRequires: ghc-containers-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-directory-devel
#BuildRequires: ghc-directory-ospath-streaming-devel
-#BuildRequires: ghc-file-io-devel
+BuildRequires: ghc-file-io-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-os-string-devel
BuildRequires: ghc-time-devel
@@ -54,7 +51,7 @@ BuildRequires: ghc-containers-prof
BuildRequires: ghc-deepseq-prof
BuildRequires: ghc-directory-prof
#BuildRequires: ghc-directory-ospath-streaming-prof
-#BuildRequires: ghc-file-io-prof
+BuildRequires: ghc-file-io-prof
BuildRequires: ghc-filepath-prof
BuildRequires: ghc-os-string-prof
BuildRequires: ghc-time-prof
@@ -67,15 +64,19 @@ BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-quickcheck-devel
BuildRequires: ghc-temporary-devel
%endif
+# for missing dep 'atomic-counter':
+%if %{with tests}
+BuildRequires: ghc-async-devel
+%endif
# for missing dep 'directory-ospath-streaming':
BuildRequires: ghc-unix-devel
%if %{with ghc_prof}
BuildRequires: ghc-unix-prof
%endif
-# for missing dep 'file-io':
-BuildRequires: ghc-unix-devel
-%if %{with ghc_prof}
-BuildRequires: ghc-unix-prof
+%if %{with tests}
+BuildRequires: ghc-directory-devel
+BuildRequires: ghc-random-devel
+BuildRequires: ghc-tasty-hunit-devel
%endif
# End cabal-rpm deps
@@ -119,6 +120,8 @@ This package provides the Haskell %{pkg_name} library documentation.
%package prof
Summary: Haskell %{pkg_name} profiling library
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
+Provides: %{name}-prof-static = %{version}-%{release}
+Provides: %{name}-prof-static%{?_isa} = %{version}-%{release}
Supplements: (%{name}-devel and ghc-prof)
%description prof
@@ -131,7 +134,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%if %{defined ghclibdir}
%ghc_lib_subpackage -l Apache-2.0 %{atomiccounter}
%ghc_lib_subpackage -l Apache-2.0 %{directoryospathstreaming}
-%ghc_lib_subpackage -l BSD-3-Clause %{fileio}
%endif
%global version %{main_version}
@@ -139,8 +141,8 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
-%setup -q -n %{pkgver} -a1 -a2 -a3
-dos2unix -k -n %{SOURCE4} %{pkg_name}.cabal
+%setup -q -n %{pkgver} -a1 -a2
+dos2unix -k -n %{SOURCE3} %{pkg_name}.cabal
# End cabal-rpm setup
@@ -186,6 +188,9 @@ dos2unix -k -n %{SOURCE4} %{pkg_name}.cabal
%changelog
+* Thu Nov 05 2026 Jens Petersen <petersen@redhat.com> - 0.6.4.0-3
+- file-io is packaged in Fedora
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index 97c31dc..dd90af4 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,3 @@
SHA512 (tar-0.6.4.0.tar.gz) = 857c779f7287abce19ed1ff889ee8cdf2dac3301fe2d68fc828d88cdd1336eee357debaa7ab13627733796367d29108f85cb93876ec290da57ea312f21afc86c
SHA512 (atomic-counter-0.1.2.4.tar.gz) = b0bcc09026469d4ee3bd4865e5abc0c39e901f3804ef00a7dc262250abd89b4bea62336a989564840bf11d4f7a6098b1ce3a2f54a9900fdc2647331e73bd4eb0
SHA512 (directory-ospath-streaming-0.2.2.tar.gz) = 4909fc4bf760b811fc039a4a8d23ba614826f889cb099e9d7efa6ccdac6f3b8d9c218652c6fd31410720892808a9cc0c0b2fe797a0323dfb1134542c621ab172
-SHA512 (file-io-0.1.5.tar.gz) = 83d053a5f71b0128c446f83def9c2e6e751d665ece4f59cb7509a392a6e6febb3723c360d315fd46e9d3c06b6aff62d4330d6b745757e3e3dea62f625a52e1b2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-05 10:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-05 10:16 [rpms/ghc-tar] rawhide: file-io is packaged in Fedora Jens Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox