2 Commits

5 changed files with 11 additions and 56 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6d89e064fcf02df4dc98df2de0a26b6c7376bb2de79199ba08817c7bd43b2e70
size 332461

3
cabal2spec-2.8.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6951b70d204988b810253b383cc8c64be5b9f5da191cbe1d18984f2f755eef96
size 332478

View File

@@ -1,49 +0,0 @@
name: cabal2spec
version: 2.7.1
x-revision: 1
synopsis: Convert Cabal files into rpm spec files
description: Convert
Cabal files into a
<http://ftp.rpm.org/max-rpm/s1-rpm-build-creating-spec-file.html spec file>
suitable for building the package with the RPM package manager. This
tool primarily targets the <http://www.suse.com/ SUSE> and
<http://www.opensuse.org openSUSE> familiy of distributions. Support
for other RPM-based distributions is currently not available. Check
out <http://hackage.haskell.org/package/cabal-rpm cabal-rpm> if you
need this.
license: GPL-3
license-file: LICENSE
author: Peter Simons, Bryan O'Sullivan, Jens Petersen
maintainer: simons@cryp.to
tested-with: GHC == 9.2.8 || == 9.4.8 || == 9.6.4 || == 9.8.2
category: Distribution
homepage: https://github.com/peti/cabal2spec
build-type: Simple
extra-source-files: README.md
test/golden-test-cases/*.cabal
test/golden-test-cases/*.spec.golden
cabal-version: >= 1.10
source-repository head
type: git
location: https://github.com/peti/cabal2spec.git
library
exposed-modules: Cabal2Spec
hs-source-dirs: src
build-depends: base > 4.12 && < 5, Cabal >= 3.8 && < 3.13, filepath, time >= 1.5
default-language: Haskell2010
executable cabal2spec
main-is: Main.hs
other-modules: Paths_cabal2spec
hs-source-dirs: cabal2spec
build-depends: base, Cabal, cabal2spec, filepath, optparse-applicative
default-language: Haskell2010
test-suite regression-test
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
build-depends: base, Cabal, cabal2spec, filepath, tasty, tasty-golden
default-language: Haskell2010

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 23 13:04:07 UTC 2025 - Peter Simons <psimons@suse.com>
- Update cabal2spec to version 2.8.0.
Upstream does not provide a change log file.
-------------------------------------------------------------------
Sun Oct 27 09:33:30 UTC 2024 - Peter Simons <psimons@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package cabal2spec
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,13 +20,12 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: %{pkg_name}
Version: 2.7.1
Version: 2.8.0
Release: 0
Summary: Convert Cabal files into rpm spec files
License: GPL-3.0-or-later
URL: https://hackage.haskell.org/package/%{name}
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{name}.cabal
BuildRequires: chrpath
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-Cabal-prof
@@ -90,7 +89,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup
cp -p %{SOURCE1} %{name}.cabal
%build
%ghc_lib_build