public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pagure-cli] f45: https://hackage.haskell.org/package/pagure-cli-0.3/changelog
@ 2026-11-23 16:02 Jens Petersen
  0 siblings, 0 replies; only message in thread
From: Jens Petersen @ 2026-11-23 16:02 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/pagure-cli
Branch : f45
Commit : 3757755dac8e0b1a1345bbb0475c8c2d308c7e6f
Author : Jens Petersen <petersen@redhat.com>
Date   : 2026-11-23T22:26:06+08:00
Stats  : +92/-11 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/pagure-cli/c/3757755dac8e0b1a1345bbb0475c8c2d308c7e6f?branch=f45

Log:
https://hackage.haskell.org/package/pagure-cli-0.3/changelog

---
diff --git a/.gitignore b/.gitignore
index 26fa088..84e7f25 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /pagure-cli-0.2.1.tar.gz
 /pagure-cli-0.2.2.tar.gz
 /pagure-cli-0.2.3.tar.gz
+/pagure-cli-0.3.tar.gz

diff --git a/pagure-cli.spec b/pagure-cli.spec
index 02add00..8c1cd06 100644
--- a/pagure-cli.spec
+++ b/pagure-cli.spec
@@ -1,15 +1,19 @@
-# generated by cabal-rpm-2.3.2 --stream hackage
+# generated by cabal-rpm-2.4.0 --stream hackage
 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
 
-Name:           pagure-cli
-Version:        0.2.3
+%global pkg_name pagure-cli
+%global pkgver %{pkg_name}-%{version}
+%{?haskell_setup}
+
+Name:           %{pkg_name}
+Version:        0.3
 Release:        %autorelease
 Summary:        A Pagure gitforge query tool
 
 License:        GPL-2.0-or-later
 URL:            https://hackage.haskell.org/package/pagure-cli
 # Begin cabal-rpm sources:
-Source0:        https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
+Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
 # End cabal-rpm sources
 
 # Begin cabal-rpm deps:
@@ -20,16 +24,27 @@ BuildRequires:  ghc-aeson-pretty-devel
 BuildRequires:  ghc-base-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-extra-devel
-BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-http-query-devel
-BuildRequires:  ghc-optparse-applicative-devel
 BuildRequires:  ghc-pagure-devel
 BuildRequires:  ghc-simple-cmd-devel
 BuildRequires:  ghc-simple-cmd-args-devel
 BuildRequires:  ghc-text-devel
-BuildRequires:  ghc-unordered-containers-devel
 BuildRequires:  ghc-vector-devel
 BuildRequires:  ghc-yaml-devel
+%if %{with ghc_prof}
+BuildRequires:  ghc-aeson-prof
+BuildRequires:  ghc-aeson-pretty-prof
+BuildRequires:  ghc-base-prof
+BuildRequires:  ghc-bytestring-prof
+BuildRequires:  ghc-extra-prof
+BuildRequires:  ghc-http-query-prof
+BuildRequires:  ghc-pagure-prof
+BuildRequires:  ghc-simple-cmd-prof
+BuildRequires:  ghc-simple-cmd-args-prof
+BuildRequires:  ghc-text-prof
+BuildRequires:  ghc-vector-prof
+BuildRequires:  ghc-yaml-prof
+%endif
 BuildRequires:  help2man
 # End cabal-rpm deps
 
@@ -38,6 +53,50 @@ A command-line Pagure (gitforge) client for querying and listing projects,
 users, groups, and issues.
 
 
+%package -n ghc-%{name}
+Summary:        Haskell %{name} library
+
+%description -n ghc-%{name}
+This package provides the Haskell %{name} shared library.
+
+
+%package -n ghc-%{name}-devel
+Summary:        Haskell %{name} library development files
+Provides:       ghc-%{name}-static = %{version}-%{release}
+Provides:       ghc-%{name}-static%{?_isa} = %{version}-%{release}
+%if %{defined ghc_version}
+Requires:       ghc-compiler = %{ghc_version}
+%endif
+Requires:       ghc-%{name}%{?_isa} = %{version}-%{release}
+
+%description -n ghc-%{name}-devel
+This package provides the Haskell %{name} library development files.
+
+
+%if %{with haddock}
+%package -n ghc-%{name}-doc
+Summary:        Haskell %{name} library documentation
+BuildArch:      noarch
+Requires:       ghc-filesystem
+
+%description -n ghc-%{name}-doc
+This package provides the Haskell %{name} library documentation.
+%endif
+
+
+%if %{with ghc_prof}
+%package -n ghc-%{name}-prof
+Summary:        Haskell %{name} profiling library
+Requires:       ghc-%{name}-devel%{?_isa} = %{version}-%{release}
+Provides:       ghc-%{name}-prof-static = %{version}-%{release}
+Provides:       ghc-%{name}-prof-static%{?_isa} = %{version}-%{release}
+Supplements:    (ghc-%{name}-devel and ghc-prof)
+
+%description -n ghc-%{name}-prof
+This package provides the Haskell %{name} profiling library.
+%endif
+
+
 %prep
 # Begin cabal-rpm setup:
 %setup -q
@@ -46,13 +105,13 @@ users, groups, and issues.
 
 %build
 # Begin cabal-rpm build:
-%ghc_bin_build
+%ghc_lib_build
 # End cabal-rpm build
 
 
 %install
 # Begin cabal-rpm install
-%ghc_bin_install
+%ghc_lib_install
 
 set noclobber
 mkdir -p %{buildroot}%{bash_completions_dir}
@@ -60,7 +119,7 @@ mkdir -p %{buildroot}%{fish_completions_dir}
 mkdir -p %{buildroot}%{zsh_completions_dir}
 %{buildroot}%{_bindir}/pagure --bash-completion-script pagure | sed s/filenames/default/ > %{buildroot}%{bash_completions_dir}/pagure
 %{buildroot}%{_bindir}/pagure --fish-completion-script pagure > %{buildroot}%{fish_completions_dir}/pagure
-%{buildroot}%{_bindir}/pagure --zsh-completion-script pagure | sed s/filenames/default/ > %{buildroot}%{zsh_completions_dir}/_pagure
+%{buildroot}%{_bindir}/pagure --zsh-completion-script pagure > %{buildroot}%{zsh_completions_dir}/_pagure
 
 mkdir -p %{buildroot}%{_mandir}/man1/
 help2man --no-info %{buildroot}%{_bindir}/pagure > %{buildroot}%{_mandir}/man1/pagure.1
@@ -79,5 +138,26 @@ help2man --no-info %{buildroot}%{_bindir}/pagure > %{buildroot}%{_mandir}/man1/p
 # End cabal-rpm files
 
 
+%files -n ghc-%{name} -f ghc-%{name}.files
+# Begin cabal-rpm files:
+%license LICENSE
+# End cabal-rpm files
+
+
+%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
+%doc CHANGELOG.md README.md
+
+
+%if %{with haddock}
+%files -n ghc-%{name}-doc -f ghc-%{name}-doc.files
+%license LICENSE
+%endif
+
+
+%if %{with ghc_prof}
+%files -n ghc-%{name}-prof -f ghc-%{name}-prof.files
+%endif
+
+
 %changelog
 %autochangelog

diff --git a/sources b/sources
index 188858c..00fbb99 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pagure-cli-0.2.3.tar.gz) = 86d1da851e203f5828f218ee20257f791289decafef1cb0d5de151eec7007541f8abae65d197d92b9abcd617b3fd77ac44e84976b488f4523a8b2df4d28420aa
+SHA512 (pagure-cli-0.3.tar.gz) = db22af552e5c27d199d5173917dd3df408525fab6e65cbb0d46f5846be1d9bf8e6247aeff6672006994b565e4547a2bde66edad94b8be220f97ca03a80773aa2

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-23 16:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 16:02 [rpms/pagure-cli] f45: https://hackage.haskell.org/package/pagure-cli-0.3/changelog Jens Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox