commit ghc-temporary for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-temporary for openSUSE:Factory checked in at 2020-08-28 21:39:01 Comparing /work/SRC/openSUSE:Factory/ghc-temporary (Old) and /work/SRC/openSUSE:Factory/.ghc-temporary.new.3399 (New) Package is "ghc-temporary" Fri Aug 28 21:39:01 2020 rev:13 rq:829441 version:1.3 Changes: --- /work/SRC/openSUSE:Factory/ghc-temporary/ghc-temporary.changes 2020-06-19 17:19:31.747234512 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-temporary.new.3399/ghc-temporary.changes 2020-08-28 21:39:03.500828415 +0200 @@ -1,0 +2,5 @@ +Tue Aug 18 10:46:12 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + +--- Other differences: -- ++ ghc-temporary.spec ++ --- /var/tmp/diff_new_pack.EseXGj/_old 2020-08-28 21:39:04.068828684 +0200 +++ /var/tmp/diff_new_pack.EseXGj/_new 2020-08-28 21:39:04.072828686 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-temporary # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -53,7 +53,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} +%autosetup -n %{pkg_name}-%{version} %build %ghc_lib_build
commit ghc-temporary for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-temporary for openSUSE:Factory checked in at 2020-06-19 17:19:27 Comparing /work/SRC/openSUSE:Factory/ghc-temporary (Old) and /work/SRC/openSUSE:Factory/.ghc-temporary.new.3606 (New) Package is "ghc-temporary" Fri Jun 19 17:19:27 2020 rev:12 rq:815188 version:1.3 Changes: --- /work/SRC/openSUSE:Factory/ghc-temporary/ghc-temporary.changes 2019-12-27 13:58:08.952796905 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-temporary.new.3606/ghc-temporary.changes 2020-06-19 17:19:31.747234512 +0200 @@ -1,0 +2,5 @@ +Tue Jun 16 11:14:41 UTC 2020 - Peter Simons + +- Re-generate file with latest version of spec-cleaner. + +--- Other differences: -- ++ ghc-temporary.spec ++ --- /var/tmp/diff_new_pack.auUq7K/_old 2020-06-19 17:19:32.379236173 +0200 +++ /var/tmp/diff_new_pack.auUq7K/_new 2020-06-19 17:19:32.379236173 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-temporary # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed
commit ghc-temporary for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-temporary for openSUSE:Factory checked in at 2019-12-27 13:58:08 Comparing /work/SRC/openSUSE:Factory/ghc-temporary (Old) and /work/SRC/openSUSE:Factory/.ghc-temporary.new.6675 (New) Package is "ghc-temporary" Fri Dec 27 13:58:08 2019 rev:11 rq:759526 version:1.3 Changes: --- /work/SRC/openSUSE:Factory/ghc-temporary/ghc-temporary.changes 2018-10-25 08:19:07.383997567 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-temporary.new.6675/ghc-temporary.changes 2019-12-27 13:58:08.952796905 +0100 @@ -1,0 +2,5 @@ +Fri Nov 8 16:14:55 UTC 2019 - Peter Simons + +- Drop obsolete group attributes. + +--- Other differences: -- ++ ghc-temporary.spec ++ --- /var/tmp/diff_new_pack.SGFB2v/_old 2019-12-27 13:58:09.448797146 +0100 +++ /var/tmp/diff_new_pack.SGFB2v/_new 2019-12-27 13:58:09.452797147 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-temporary # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -23,7 +23,6 @@ Release:0 Summary:Portable temporary file and directory support License:BSD-3-Clause -Group: Development/Libraries/Haskell 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 @@ -45,7 +44,6 @@ %package devel Summary:Haskell %{pkg_name} library development files -Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version}
commit ghc-temporary for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-temporary for openSUSE:Factory checked in at 2018-10-25 08:19:03 Comparing /work/SRC/openSUSE:Factory/ghc-temporary (Old) and /work/SRC/openSUSE:Factory/.ghc-temporary.new (New) Package is "ghc-temporary" Thu Oct 25 08:19:03 2018 rev:10 rq:642899 version:1.3 Changes: --- /work/SRC/openSUSE:Factory/ghc-temporary/ghc-temporary.changes 2018-07-21 10:23:32.450981835 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-temporary.new/ghc-temporary.changes 2018-10-25 08:19:07.383997567 +0200 @@ -1,0 +2,12 @@ +Thu Oct 4 09:42:54 UTC 2018 - psim...@suse.com + +- Update temporary to version 1.3. + ## 1.3 + + * Generated directory names are now based on random hex strings rather than PIDs. + + This got a major version bump as a courtesy to users who may depend on the + specific form of generated names, but that form is not part of the API + contract and should not be depended upon. + +--- Old: temporary-1.2.1.1.tar.gz New: temporary-1.3.tar.gz Other differences: -- ++ ghc-temporary.spec ++ --- /var/tmp/diff_new_pack.1gKrzr/_old 2018-10-25 08:19:09.603996587 +0200 +++ /var/tmp/diff_new_pack.1gKrzr/_new 2018-10-25 08:19:09.619996580 +0200 @@ -12,14 +12,14 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %global pkg_name temporary %bcond_with tests Name: ghc-%{pkg_name} -Version:1.2.1.1 +Version:1.3 Release:0 Summary:Portable temporary file and directory support License:BSD-3-Clause @@ -30,6 +30,7 @@ BuildRequires: ghc-directory-devel BuildRequires: ghc-exceptions-devel BuildRequires: ghc-filepath-devel +BuildRequires: ghc-random-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-transformers-devel BuildRequires: ghc-unix-devel ++ temporary-1.2.1.1.tar.gz -> temporary-1.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/temporary-1.2.1.1/CHANGELOG.md new/temporary-1.3/CHANGELOG.md --- old/temporary-1.2.1.1/CHANGELOG.md 2017-07-26 13:48:57.0 +0200 +++ new/temporary-1.3/CHANGELOG.md 2018-04-10 16:15:41.0 +0200 @@ -1,3 +1,11 @@ +## 1.3 + +* Generated directory names are now based on random hex strings rather than PIDs. + +This got a major version bump as a courtesy to users who may depend on the +specific form of generated names, but that form is not part of the API +contract and should not be depended upon. + ## 1.2.1.1 * Improve the docs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/temporary-1.2.1.1/System/IO/Temp.hs new/temporary-1.3/System/IO/Temp.hs --- old/temporary-1.2.1.1/System/IO/Temp.hs 2017-07-26 13:47:57.0 +0200 +++ new/temporary-1.3/System/IO/Temp.hs 2018-04-10 16:20:22.0 +0200 @@ -1,4 +1,4 @@ -{-# LANGUAGE CPP #-} +{-# LANGUAGE CPP, ScopedTypeVariables #-} -- | Functions to create temporary files and directories. -- -- Most functions come in two flavours: those that create files/directories @@ -21,11 +21,15 @@ -- placed between between the name and the extension to yield a unique file -- name, e.g. @name1804289383846930886.ext@. -- --- For directories, no extension is recognized, so a number will be simply --- appended to the end of the template. Moreover, the number will be --- smaller, as it is derived from the current process's PID --- (but the result is still a unique directory name). So, for instance, --- the directory template @dir@ may result in a directory named @dir30112@. +-- For directories, no extension is recognized. +-- A random hexadecimal string (whose length depends on the system's word +-- size) is appended to the end of the template. +-- For instance, +-- the directory template @dir@ may result in a directory named +-- @dir-e4bd89e5d00acdee@. +-- +-- You shouldn't rely on the specific form of file or directory names +-- generated by the library; it has changed in the past and may change in the future. module System.IO.Temp ( withSystemTempFile, withSystemTempDirectory, withTempFile, withTempDirectory, @@ -43,17 +47,23 @@ import qualified Control.Monad.Catch as MC import Control.Monad.IO.Class +import Data.Bits -- no import list: we use different functions + -- depending on the base version +#if !MIN_VERSION_base(4,8,0) +import Data.Word (Word) +#endif import System.Directory
commit ghc-temporary for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-temporary for openSUSE:Factory checked in at 2018-07-21 10:23:28 Comparing /work/SRC/openSUSE:Factory/ghc-temporary (Old) and /work/SRC/openSUSE:Factory/.ghc-temporary.new (New) Package is "ghc-temporary" Sat Jul 21 10:23:28 2018 rev:9 rq:623868 version:1.2.1.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-temporary/ghc-temporary.changes 2018-05-30 12:27:28.293933879 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-temporary.new/ghc-temporary.changes 2018-07-21 10:23:32.450981835 +0200 @@ -1,0 +2,6 @@ +Wed Jul 18 14:26:43 UTC 2018 - psim...@suse.com + +- Cosmetic: replace tabs with blanks, strip trailing white space, + and update copyright headers with spec-cleaner. + +--- @@ -60 +65,0 @@ - Other differences: --
commit ghc-temporary for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-temporary for openSUSE:Factory checked in at 2018-05-30 12:14:23 Comparing /work/SRC/openSUSE:Factory/ghc-temporary (Old) and /work/SRC/openSUSE:Factory/.ghc-temporary.new (New) Package is "ghc-temporary" Wed May 30 12:14:23 2018 rev:8 rq:607898 version:1.2.1.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-temporary/ghc-temporary.changes 2017-07-05 23:56:15.458664322 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-temporary.new/ghc-temporary.changes 2018-05-30 12:27:28.293933879 +0200 @@ -1,0 +2,6 @@ +Mon May 14 17:02:11 UTC 2018 - psim...@suse.com + +- Update temporary to version 1.2.1.1. + * Improve the docs + +--- Old: temporary-1.2.1.tar.gz New: temporary-1.2.1.1.tar.gz Other differences: -- ++ ghc-temporary.spec ++ --- /var/tmp/diff_new_pack.aFSbMz/_old 2018-05-30 12:27:29.165903491 +0200 +++ /var/tmp/diff_new_pack.aFSbMz/_new 2018-05-30 12:27:29.165903491 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-temporary # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -19,12 +19,12 @@ %global pkg_name temporary %bcond_with tests Name: ghc-%{pkg_name} -Version:1.2.1 +Version:1.2.1.1 Release:0 Summary:Portable temporary file and directory support License:BSD-3-Clause -Group: Development/Languages/Other -Url:https://hackage.haskell.org/package/%{pkg_name} +Group: Development/Libraries/Haskell +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 BuildRequires: ghc-directory-devel @@ -33,7 +33,6 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-transformers-devel BuildRequires: ghc-unix-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-base-compat-devel BuildRequires: ghc-tasty-devel @@ -45,7 +44,7 @@ %package devel Summary:Haskell %{pkg_name} library development files -Group: Development/Libraries/Other +Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} @@ -73,11 +72,9 @@ %ghc_pkg_recache %files -f %{name}.files -%defattr(-,root,root,-) -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files -%defattr(-,root,root,-) %doc CHANGELOG.md %changelog ++ temporary-1.2.1.tar.gz -> temporary-1.2.1.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/temporary-1.2.1/CHANGELOG.md new/temporary-1.2.1.1/CHANGELOG.md --- old/temporary-1.2.1/CHANGELOG.md2017-06-11 18:56:51.0 +0200 +++ new/temporary-1.2.1.1/CHANGELOG.md 2017-07-26 13:48:57.0 +0200 @@ -1,3 +1,7 @@ +## 1.2.1.1 + +* Improve the docs + ## 1.2.1 * Limit support to GHC 7.0+ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/temporary-1.2.1/System/IO/Temp.hs new/temporary-1.2.1.1/System/IO/Temp.hs --- old/temporary-1.2.1/System/IO/Temp.hs 2017-06-11 18:39:36.0 +0200 +++ new/temporary-1.2.1.1/System/IO/Temp.hs 2017-07-26 13:47:57.0 +0200 @@ -12,6 +12,20 @@ -- -- The action inside 'withTempFile' or 'withTempDirectory' is allowed to -- remove the temporary file/directory if it needs to. +-- +-- == Templates and file names +-- +-- The treatment of templates differs somewhat for files vs directories. +-- +-- For files, the template has form @name.ext@, and a random number will be +-- placed between between the name and the extension to yield a unique file +-- name, e.g. @name1804289383846930886.ext@. +-- +-- For directories, no extension is recognized, so a number will be simply +-- appended to the end of the template. Moreover, the number will be +-- smaller, as it is derived from the current process's PID +-- (but the result is still a unique directory name). So, for instance, +-- the directory template @dir@ may result in a directory named @dir30112@. module System.IO.Temp ( withSystemTempFile, withSystemTempDirectory, withTempFile, withTempDirectory, @@ -41,12 +55,14 @@ import qualified System.Posix #endif --- | Create and use a temporary file in the system standard temporary
commit ghc-temporary for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-temporary for openSUSE:Factory checked in at 2017-07-05 23:56:14 Comparing /work/SRC/openSUSE:Factory/ghc-temporary (Old) and /work/SRC/openSUSE:Factory/.ghc-temporary.new (New) Package is "ghc-temporary" Wed Jul 5 23:56:14 2017 rev:7 rq:506850 version:1.2.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-temporary/ghc-temporary.changes 2016-07-21 08:17:12.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-temporary.new/ghc-temporary.changes 2017-07-05 23:56:15.458664322 +0200 @@ -1,0 +2,5 @@ +Mon Jun 19 20:53:31 UTC 2017 - psim...@suse.com + +- Update to version 1.2.1. + +--- Old: temporary-1.2.0.4.tar.gz New: temporary-1.2.1.tar.gz Other differences: -- ++ ghc-temporary.spec ++ --- /var/tmp/diff_new_pack.RsG05S/_old 2017-07-05 23:56:16.082576434 +0200 +++ /var/tmp/diff_new_pack.RsG05S/_new 2017-07-05 23:56:16.086575871 +0200 @@ -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-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 @@ %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 @@ %files devel -f %{name}-devel.files %defattr(-,root,root,-) +%doc CHANGELOG.md %changelog ++ temporary-1.2.0.4.tar.gz -> temporary-1.2.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/temporary-1.2.0.4/CHANGELOG.md new/temporary-1.2.1/CHANGELOG.md --- old/temporary-1.2.0.4/CHANGELOG.md 1970-01-01 01:00:00.0 +0100 +++ new/temporary-1.2.1/CHANGELOG.md2017-06-11 18:56:51.0 +0200 @@ -0,0 +1,11 @@ +## 1.2.1 + +* Limit support to GHC 7.0+ +* Add new functions: `writeTempFile,` `writeSystemTempFile,` `emptyTempFile,` `emptySystemTempFile` +* Make sure that system* functions return canonicalized paths +* Modernize the code base, add tests and documentation + +## 1.2.0.4 + +* Update maintainership information +* Fix the docs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/temporary-1.2.0.4/Distribution/Compat/Exception.hs new/temporary-1.2.1/Distribution/Compat/Exception.hs --- old/temporary-1.2.0.4/Distribution/Compat/Exception.hs 2015-09-25 10:16:11.0 +0200 +++ new/temporary-1.2.1/Distribution/Compat/Exception.hs1970-01-01 01:00:00.0 +0100 @@ -1,49 +0,0 @@ -{-# OPTIONS -cpp #-} --- OPTIONS required for ghc-6.4.x compat, and must appear first -{-# LANGUAGE CPP #-} -{-# OPTIONS_GHC -cpp #-} -{-# OPTIONS_NHC98 -cpp #-} -{-# OPTIONS_JHC -fcpp #-} - -#if !(defined(__HUGS__) || (defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ < 610)) -#define NEW_EXCEPTION -#endif - -module
commit ghc-temporary for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-temporary for openSUSE:Factory checked in at 2016-07-21 08:17:06 Comparing /work/SRC/openSUSE:Factory/ghc-temporary (Old) and /work/SRC/openSUSE:Factory/.ghc-temporary.new (New) Package is "ghc-temporary" Changes: --- /work/SRC/openSUSE:Factory/ghc-temporary/ghc-temporary.changes 2016-01-28 17:25:01.0 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-temporary.new/ghc-temporary.changes 2016-07-21 08:17:12.0 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:30:27 UTC 2016 - psim...@suse.com + +- Update to version 1.2.0.4 revision 0 with cabal2obs. + +--- Other differences: -- ++ ghc-temporary.spec ++ --- /var/tmp/diff_new_pack.9e1jDg/_old 2016-07-21 08:17:13.0 +0200 +++ /var/tmp/diff_new_pack.9e1jDg/_new 2016-07-21 08:17:13.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-temporary # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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,62 +17,55 @@ %global pkg_name temporary - -Name: ghc-temporary +Name: ghc-%{pkg_name} Version:1.2.0.4 Release:0 -Summary:Haskell portable temporary file and directory support +Summary:Portable temporary file and directory support for Windows and Unix, based on code from Cabal License:BSD-3-Clause Group: System/Libraries - -Url:http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build - +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 -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-directory-devel BuildRequires: ghc-exceptions-devel BuildRequires: ghc-filepath-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-transformers-devel BuildRequires: ghc-unix-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build # End cabal-rpm deps %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. - -#' Help EMACS syntax highlighting. +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. %package devel Summary:Haskell %{pkg_name} library development files Group: Development/Libraries/Other -Requires: ghc-compiler -Requires(post): ghc-compiler -Requires(postun): ghc-compiler Requires: %{name} = %{version}-%{release} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} %description devel -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. - -#' Help EMACS syntax highlighting. - +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 + %post devel %ghc_pkg_recache
commit ghc-temporary for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-temporary for openSUSE:Factory checked in at 2016-01-28 17:24:08 Comparing /work/SRC/openSUSE:Factory/ghc-temporary (Old) and /work/SRC/openSUSE:Factory/.ghc-temporary.new (New) Package is "ghc-temporary" Changes: --- /work/SRC/openSUSE:Factory/ghc-temporary/ghc-temporary.changes 2015-05-21 08:12:12.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-temporary.new/ghc-temporary.changes 2016-01-28 17:25:01.0 +0100 @@ -1,0 +2,5 @@ +Tue Jan 26 10:04:40 UTC 2016 - mimi...@gmail.com + +- update to 1.2.0.4 + +--- Old: temporary-1.2.0.3.tar.gz New: temporary-1.2.0.4.tar.gz Other differences: -- ++ ghc-temporary.spec ++ --- /var/tmp/diff_new_pack.JUVaOB/_old 2016-01-28 17:25:02.0 +0100 +++ /var/tmp/diff_new_pack.JUVaOB/_new 2016-01-28 17:25:02.0 +0100 @@ -19,7 +19,7 @@ %global pkg_name temporary Name: ghc-temporary -Version:1.2.0.3 +Version:1.2.0.4 Release:0 Summary:Haskell portable temporary file and directory support License:BSD-3-Clause ++ temporary-1.2.0.3.tar.gz -> temporary-1.2.0.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/temporary-1.2.0.3/System/IO/Temp.hs new/temporary-1.2.0.4/System/IO/Temp.hs --- old/temporary-1.2.0.3/System/IO/Temp.hs 2014-05-11 14:22:06.0 +0200 +++ new/temporary-1.2.0.4/System/IO/Temp.hs 2016-01-24 22:49:53.0 +0100 @@ -20,7 +20,7 @@ import Distribution.Compat.TempFile --- | Create and use a temporary directory in the system standard temporary directory. +-- | Create and use a temporary file in the system standard temporary directory. -- -- Behaves exactly the same as 'withTempFile', except that the parent temporary directory -- will be that returned by 'getTemporaryDirectory'. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/temporary-1.2.0.3/temporary.cabal new/temporary-1.2.0.4/temporary.cabal --- old/temporary-1.2.0.3/temporary.cabal 2014-05-11 14:22:06.0 +0200 +++ new/temporary-1.2.0.4/temporary.cabal 2016-01-24 23:33:16.0 +0100 @@ -1,5 +1,5 @@ name:temporary -version: 1.2.0.3 +version: 1.2.0.4 cabal-version: >= 1.6 synopsis:Portable temporary file and directory support for Windows and Unix, based on code from Cabal description: The functions for creating temporary files and directories in the base library are quite limited. The unixutils @@ -14,10 +14,14 @@ (c) 2005-2009, Duncan Coutts author: Isaac JonesDuncan Coutts -maintainer: Max Bolingbroke -homepage:http://www.github.com/batterseapower/temporary +maintainer: Mateusz Kowalczyk , Roman Cheplyaka +homepage:http://www.github.com/feuerbach/temporary build-type: Simple +source-repository head + type: git + location: git://github.com/feuerbach/temporary.git + Library exposed-modules: System.IO.Temp other-modules: Distribution.Compat.Exception
commit ghc-temporary for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-temporary for openSUSE:Factory checked in at 2015-05-21 08:12:11 Comparing /work/SRC/openSUSE:Factory/ghc-temporary (Old) and /work/SRC/openSUSE:Factory/.ghc-temporary.new (New) Package is ghc-temporary Changes: --- /work/SRC/openSUSE:Factory/ghc-temporary/ghc-temporary.changes 2014-11-26 20:55:32.0 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-temporary.new/ghc-temporary.changes 2015-05-21 08:12:12.0 +0200 @@ -1,0 +2,6 @@ +Wed Apr 22 10:33:42 UTC 2015 - mimi...@gmail.com + +- update to 1.2.0.3 +* no upstream changelog + +--- Old: _service temporary-1.1.2.5.tar.gz New: temporary-1.2.0.3.tar.gz Other differences: -- ++ ghc-temporary.spec ++ --- /var/tmp/diff_new_pack.aWkTuJ/_old 2015-05-21 08:12:12.0 +0200 +++ /var/tmp/diff_new_pack.aWkTuJ/_new 2015-05-21 08:12:12.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-temporary # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -19,7 +19,7 @@ %global pkg_name temporary Name: ghc-temporary -Version:1.1.2.5 +Version:1.2.0.3 Release:0 Summary:Haskell portable temporary file and directory support License:BSD-3-Clause @@ -33,7 +33,9 @@ BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-directory-devel +BuildRequires: ghc-exceptions-devel BuildRequires: ghc-filepath-devel +BuildRequires: ghc-transformers-devel BuildRequires: ghc-unix-devel # End cabal-rpm deps ++ temporary-1.1.2.5.tar.gz - temporary-1.2.0.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/temporary-1.1.2.5/System/IO/Temp.hs new/temporary-1.2.0.3/System/IO/Temp.hs --- old/temporary-1.1.2.5/System/IO/Temp.hs 2013-12-25 11:54:43.0 +0100 +++ new/temporary-1.2.0.3/System/IO/Temp.hs 2014-05-11 14:22:06.0 +0200 @@ -11,8 +11,9 @@ -- file in the Cabal checkout. -import qualified Control.Exception as Exception +import Control.Monad.Catch as Exception +import Control.Monad.IO.Class import System.Directory import System.IO @@ -21,21 +22,23 @@ -- | Create and use a temporary directory in the system standard temporary directory. -- --- Behaves exactly the same as 'withTempDirectory', except that the parent temporary directory +-- Behaves exactly the same as 'withTempFile', except that the parent temporary directory -- will be that returned by 'getTemporaryDirectory'. -withSystemTempFile :: String -- ^ File name template. See 'openTempFile'. - - (FilePath - Handle - IO a) -- ^ Callback that can use the file - - IO a -withSystemTempFile template action = getTemporaryDirectory = \tmpDir - withTempFile tmpDir template action +withSystemTempFile :: (MonadIO m, MonadMask m) = + String -- ^ File name template. See 'openTempFile'. + - (FilePath - Handle - m a) -- ^ Callback that can use the file + - m a +withSystemTempFile template action = liftIO getTemporaryDirectory = \tmpDir - withTempFile tmpDir template action -- | Create and use a temporary directory in the system standard temporary directory. -- -- Behaves exactly the same as 'withTempDirectory', except that the parent temporary directory -- will be that returned by 'getTemporaryDirectory'. -withSystemTempDirectory :: String -- ^ Directory name template. See 'openTempFile'. -- (FilePath - IO a) -- ^ Callback that can use the directory -- IO a -withSystemTempDirectory template action = getTemporaryDirectory = \tmpDir - withTempDirectory tmpDir template action +withSystemTempDirectory :: (MonadIO m, MonadMask m) = + String -- ^ Directory name template. See 'openTempFile'. +- (FilePath - m a) -- ^ Callback that can use the directory +- m a +withSystemTempDirectory template action = liftIO getTemporaryDirectory = \tmpDir - withTempDirectory tmpDir template action -- | Use a temporary filename that doesn't already exist. @@ -47,14 +50,15 @@ -- -- The @tmpFlie@ will be file in the given directory, e.g. -- @src/sdist.342@. -withTempFile :: FilePath -- ^ Temp dir to create the file in +withTempFile :: (MonadIO m, MonadMask m) = +FilePath
commit ghc-temporary for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-temporary for openSUSE:Factory checked in at 2014-11-26 20:55:23 Comparing /work/SRC/openSUSE:Factory/ghc-temporary (Old) and /work/SRC/openSUSE:Factory/.ghc-temporary.new (New) Package is ghc-temporary Changes: --- /work/SRC/openSUSE:Factory/ghc-temporary/ghc-temporary.changes 2014-04-02 17:18:55.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-temporary.new/ghc-temporary.changes 2014-11-26 20:55:32.0 +0100 @@ -1,0 +2,7 @@ +Thu Nov 13 14:50:59 UTC 2014 - peter.tromm...@ohm-hochschule.de + +- update to 1.1.2.5 +* compatibility with Haskell Platform 2014.2.0.0 +* no upstream changelog + +--- Old: temporary-1.1.2.4.tar.gz New: temporary-1.1.2.5.tar.gz Other differences: -- ++ ghc-temporary.spec ++ --- /var/tmp/diff_new_pack.FhBDgg/_old 2014-11-26 20:55:33.0 +0100 +++ /var/tmp/diff_new_pack.FhBDgg/_new 2014-11-26 20:55:33.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-temporary # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name temporary Name: ghc-temporary -Version:1.1.2.4 +Version:1.1.2.5 Release:0 Summary:Haskell portable temporary file and directory support License:BSD-3-Clause ++ temporary-1.1.2.4.tar.gz - temporary-1.1.2.5.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/temporary-1.1.2.4/temporary.cabal new/temporary-1.1.2.5/temporary.cabal --- old/temporary-1.1.2.4/temporary.cabal 2012-10-04 14:42:49.0 +0200 +++ new/temporary-1.1.2.5/temporary.cabal 2013-12-25 11:54:43.0 +0100 @@ -1,10 +1,10 @@ name:temporary -version: 1.1.2.4 +version: 1.1.2.5 cabal-version: = 1.6 synopsis:Portable temporary file and directory support for Windows and Unix, based on code from Cabal 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. category:System, Utils @@ -23,6 +23,6 @@ other-modules: Distribution.Compat.Exception Distribution.Compat.TempFile build-depends: base = 3 6, filepath = 1.1 1.4, directory = 1.0 1.3 - + if !os(windows) -build-depends: unix = 2.3 2.7 +build-depends: unix = 2.3 2.8 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org