Accepting request 506850 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/506850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-temporary?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2017-07-05 21:56:14 +00:00 committed by Git OBS Bridge
commit 8a865db1de
4 changed files with 22 additions and 16 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 19 20:53:31 UTC 2017 - psimons@suse.com
- Update to version 1.2.1.
-------------------------------------------------------------------
Sun Jul 10 17:30:27 UTC 2016 - psimons@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-temporary
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,16 +17,16 @@
%global pkg_name temporary
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 1.2.0.4
Version: 1.2.1
Release: 0
Summary: Portable temporary file and directory support for Windows and Unix, based on code from Cabal
Summary: Portable temporary file and directory support
License: BSD-3-Clause
Group: System/Libraries
Group: Development/Languages/Other
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
# Begin cabal-rpm deps:
BuildRequires: ghc-directory-devel
BuildRequires: ghc-exceptions-devel
BuildRequires: ghc-filepath-devel
@ -34,14 +34,14 @@ BuildRequires: ghc-rpm-macros
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-unix-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# End cabal-rpm deps
%if %{with tests}
BuildRequires: ghc-base-compat-devel
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-hunit-devel
%endif
%description
The functions for creating temporary files and directories in the base library
are quite limited. The unixutils package contains some good ones, but they
aren't portable to Windows. This library just repackages the Cabal
implementations of its own temporary file and folder functions so that you can
use them without linking against Cabal or depending on it being installed.
Functions for creating temporary files and directories.
%package devel
Summary: Haskell %{pkg_name} library development files
@ -57,14 +57,14 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
%check
%cabal_test
%post devel
%ghc_pkg_recache
@ -78,5 +78,6 @@ This package provides the Haskell %{pkg_name} library development files.
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%doc CHANGELOG.md
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:51e713804246404df8a728919a2e7d1994f8cfda42cfa7a74ea65d8b7d206762
size 5347

3
temporary-1.2.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ecf88065cf69e965dc672c4a94f0b5e909d3e398c24d947bbd5e9814277a4f8
size 5137