commit ghc-strict for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-strict for openSUSE:Factory 
checked in at 2020-08-28 21:38:35

Comparing /work/SRC/openSUSE:Factory/ghc-strict (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-strict.new.3399 (New)


Package is "ghc-strict"

Fri Aug 28 21:38:35 2020 rev:2 rq:829429 version:0.4

Changes:

--- /work/SRC/openSUSE:Factory/ghc-strict/ghc-strict.changes2020-08-18 
12:24:25.999807124 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-strict.new.3399/ghc-strict.changes  
2020-08-28 21:38:35.524815161 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:46:06 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-strict.spec ++
--- /var/tmp/diff_new_pack.PaTeFI/_old  2020-08-28 21:38:35.996815385 +0200
+++ /var/tmp/diff_new_pack.PaTeFI/_new  2020-08-28 21:38:36.000815386 +0200
@@ -82,7 +82,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-strict for openSUSE:Factory

2020-08-18 Thread root
Hello community,

here is the log from the commit of package ghc-strict for openSUSE:Factory 
checked in at 2020-08-18 12:24:19

Comparing /work/SRC/openSUSE:Factory/ghc-strict (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-strict.new.3399 (New)


Package is "ghc-strict"

Tue Aug 18 12:24:19 2020 rev:1 rq:825791 version:0.4

Changes:

New Changes file:

--- /dev/null   2020-08-06 00:20:10.149648038 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-strict.new.3399/ghc-strict.changes  
2020-08-18 12:24:25.999807124 +0200
@@ -0,0 +1,5 @@
+---
+Tue Aug 11 09:28:18 UTC 2020 - psim...@suse.com
+
+- Add strict at version 0.4.
+

New:

  ghc-strict.changes
  ghc-strict.spec
  strict-0.4.tar.gz



Other differences:
--
++ ghc-strict.spec ++
#
# spec file for package ghc-strict
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%global pkg_name strict
Name:   ghc-%{pkg_name}
Version:0.4
Release:0
Summary:Strict data types and String IO
License:BSD-3-Clause
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-assoc-devel
BuildRequires:  ghc-binary-devel
BuildRequires:  ghc-bytestring-devel
BuildRequires:  ghc-deepseq-devel
BuildRequires:  ghc-hashable-devel
BuildRequires:  ghc-rpm-macros
BuildRequires:  ghc-text-devel
BuildRequires:  ghc-these-devel
BuildRequires:  ghc-transformers-devel

%description
This package provides strict versions of some standard Haskell data types
(pairs, Maybe and Either). It also contains strict IO operations.

It is common knowledge that lazy datastructures can lead to space-leaks.
This problem is particularly prominent, when using lazy datastructures to store
the state of a long-running application in memory. One common solution to this
problem is to use 'seq' and its variants in every piece of code that updates
your state. However a much easier solution is to use fully strict types to
store such state values. By "fully strict types" we mean types for whose values
it holds that, if they are in weak-head normal form, then they are also in
normal form. Intuitively, this means that values of fully strict types cannot
contain unevaluated thunks.

To define a fully strict datatype, one typically uses the following recipe.

1. Make all fields of every constructor strict; i.e., add a bang to all fields.

2. Use only strict types for the fields of the constructors.

The second requirement is problematic as it rules out the use of the standard
Haskell 'Maybe', 'Either', and pair types. This library solves this problem by
providing strict variants of these types and their corresponding standard
support functions and type-class instances.

Note that this library does currently not provide fully strict lists.
They can be added if they are really required. However, in many cases one
probably wants to use unboxed or strict boxed vectors from the 'vector' library
() instead of strict lists.
Moreover, instead of 'String's one probably wants to use strict 'Text' values
from the 'text' library ().

This library comes with batteries included; i.e., mirror functions and
instances of the lazy versions in 'base'. It also includes instances for
type-classes from the 'deepseq', 'binary', and 'hashable' packages.

%package devel
Summary:Haskell %{pkg_name} library development files
Requires:   %{name} = %{version}-%{release}
Requires:   ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}

%description devel
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

%postun devel
%ghc_pkg_recache

%files -f %{name}.files
%license LICENSE

%files devel -f %{name}-devel.files
%doc CHANGELOG.md


commit ghc-strict for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-strict for openSUSE:Factory 
checked in at 2017-09-15 22:15:06

Comparing /work/SRC/openSUSE:Factory/ghc-strict (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-strict.new (New)


Package is "ghc-strict"

Fri Sep 15 22:15:06 2017 rev:2 rq:525445 version:0.3.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-strict/ghc-strict.changes2016-11-02 
12:40:33.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-strict.new/ghc-strict.changes   
2017-09-15 22:15:07.332298821 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ ghc-strict.spec ++
--- /var/tmp/diff_new_pack.sdI9JP/_old  2017-09-15 22:15:08.256168676 +0200
+++ /var/tmp/diff_new_pack.sdI9JP/_new  2017-09-15 22:15:08.260168112 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-strict
 #
-# 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
@@ -22,15 +22,12 @@
 Release:0
 Summary:Strict data types and String IO
 License:BSD-3-Clause
-Group:  System/Libraries
-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
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-array-devel
 BuildRequires:  ghc-rpm-macros
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-# End cabal-rpm deps
 
 %description
 This package provides strict versions of some standard Haskell data types
@@ -38,7 +35,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}
@@ -50,15 +47,12 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %post devel
 %ghc_pkg_recache
 
@@ -66,10 +60,8 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 
 %changelog




commit ghc-strict for openSUSE:Factory

2016-11-02 Thread h_root
Hello community,

here is the log from the commit of package ghc-strict for openSUSE:Factory 
checked in at 2016-11-02 12:40:32

Comparing /work/SRC/openSUSE:Factory/ghc-strict (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-strict.new (New)


Package is "ghc-strict"

Changes:

New Changes file:

--- /dev/null   2016-10-27 01:54:32.792041256 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-strict.new/ghc-strict.changes   
2016-11-02 12:40:33.0 +0100
@@ -0,0 +1,5 @@
+---
+Sun Jul 10 17:28:58 UTC 2016 - psim...@suse.com
+
+- Update to version 0.3.2 revision 0 with cabal2obs.
+

New:

  ghc-strict.changes
  ghc-strict.spec
  strict-0.3.2.tar.gz



Other differences:
--
++ ghc-strict.spec ++
#
# spec file for package ghc-strict
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#


%global pkg_name strict
Name:   ghc-%{pkg_name}
Version:0.3.2
Release:0
Summary:Strict data types and String IO
License:BSD-3-Clause
Group:  System/Libraries
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-array-devel
BuildRequires:  ghc-rpm-macros
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
# End cabal-rpm deps

%description
This package provides strict versions of some standard Haskell data types
(pairs, Maybe and Either). It also contains strict IO operations.

%package devel
Summary:Haskell %{pkg_name} library development files
Group:  Development/Libraries/Other
Requires:   %{name} = %{version}-%{release}
Requires:   ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}

%description devel
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

%postun devel
%ghc_pkg_recache

%files -f %{name}.files
%defattr(-,root,root,-)
%doc LICENSE

%files devel -f %{name}-devel.files
%defattr(-,root,root,-)

%changelog