refresh to cabal-rpm-0.13

epel9
Jens Petersen 6 years ago
parent 1746bdeef1
commit 751372e2a3

@ -1,4 +1,4 @@
# generated by cabal-rpm-0.12.1
# generated by cabal-rpm-0.13
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name setenv
@ -6,16 +6,19 @@
Name: ghc-%{pkg_name}
Version: 0.1.1.3
Release: 11%{?dist}
Release: 12%{?dist}
Summary: Cross-platform library for setting environment variables
License: MIT
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
# End cabal-rpm sources
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-unix-devel
# End cabal-rpm deps
@ -43,15 +46,22 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
cp -bp %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup
%build
# Begin cabal-rpm build:
%ghc_lib_build
# End cabal-rpm build
%install
# Begin cabal-rpm install
%ghc_lib_install
# End cabal-rpm install
%post devel
@ -63,13 +73,18 @@ This package provides the Haskell %{pkg_name} library development files.
%files -f %{name}.files
# Begin cabal-rpm files:
%license LICENSE
# End cabal-rpm files
%files devel -f %{name}-devel.files
%changelog
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.1.1.3-12
- refresh to cabal-rpm-0.13
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1.3-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

@ -0,0 +1,34 @@
name: setenv
version: 0.1.1.3
x-revision: 1
license: MIT
license-file: LICENSE
copyright: (c) 2012-2015 Simon Hengel
author: Simon Hengel <sol@typeful.net>
maintainer: Simon Hengel <sol@typeful.net>
category: System
synopsis: A cross-platform library for setting environment variables
description: A cross-platform library for setting environment variables
.
Note: Since @base-4.7.0.0@ the functions @setEnv@ and
@unsetEnv@ are provided by @System.Environment@.
@System.SetEnv@ merily re-exports those functions when built
with @base >= 4.7@.
build-type: Simple
cabal-version: >= 1.8
source-repository head
type: git
location: https://github.com/sol/setenv
library
ghc-options:
-Wall
hs-source-dirs:
src
exposed-modules:
System.SetEnv
build-depends:
base == 4.*
if !os(windows)
build-depends: unix
Loading…
Cancel
Save