commit ghc-word-wrap for openSUSE:Factory

2020-09-07 Thread root
Hello community,

here is the log from the commit of package ghc-word-wrap for openSUSE:Factory 
checked in at 2020-09-07 22:04:32

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


Package is "ghc-word-wrap"

Mon Sep  7 22:04:32 2020 rev:3 rq:832340 version:0.4.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-word-wrap/ghc-word-wrap.changes  
2020-08-28 21:41:22.392887157 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-word-wrap.new.3399/ghc-word-wrap.changes
2020-09-07 22:04:34.806127461 +0200
@@ -1,0 +2,6 @@
+Mon Aug 31 09:34:30 UTC 2020 - psim...@suse.com
+
+- Update word-wrap to version 0.4.1 revision 1.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+---



Other differences:
--



commit ghc-word-wrap for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-word-wrap for openSUSE:Factory 
checked in at 2020-08-28 21:41:20

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


Package is "ghc-word-wrap"

Fri Aug 28 21:41:20 2020 rev:2 rq:829496 version:0.4.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-word-wrap/ghc-word-wrap.changes  
2020-06-19 17:06:00.848904821 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-word-wrap.new.3399/ghc-word-wrap.changes
2020-08-28 21:41:22.392887157 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:46:39 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-word-wrap.spec ++
--- /var/tmp/diff_new_pack.BuPBBq/_old  2020-08-28 21:41:23.124887426 +0200
+++ /var/tmp/diff_new_pack.BuPBBq/_new  2020-08-28 21:41:23.128887428 +0200
@@ -47,7 +47,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build




commit ghc-word-wrap for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-word-wrap for openSUSE:Factory 
checked in at 2020-06-19 17:05:59

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


Package is "ghc-word-wrap"

Fri Jun 19 17:05:59 2020 rev:1 rq:814994 version:0.4.1

Changes:

New Changes file:

--- /dev/null   2020-05-28 02:28:09.919761697 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-word-wrap.new.3606/ghc-word-wrap.changes
2020-06-19 17:06:00.848904821 +0200
@@ -0,0 +1,5 @@
+---
+Tue Jun  9 09:26:17 UTC 2020 - psim...@suse.com
+
+- Add word-wrap at version 0.4.1.
+

New:

  ghc-word-wrap.changes
  ghc-word-wrap.spec
  word-wrap-0.4.1.tar.gz
  word-wrap.cabal



Other differences:
--
++ ghc-word-wrap.spec ++
#
# spec file for package ghc-word-wrap
#
# 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 word-wrap
%bcond_with tests
Name:   ghc-%{pkg_name}
Version:0.4.1
Release:0
Summary:A library for word-wrapping
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
Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
BuildRequires:  ghc-Cabal-devel
BuildRequires:  ghc-rpm-macros
BuildRequires:  ghc-text-devel
%if %{with tests}
BuildRequires:  ghc-hspec-devel
%endif

%description
A library for wrapping long lines of text.

%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}
cp -p %{SOURCE1} %{pkg_name}.cabal

%build
%ghc_lib_build

%install
%ghc_lib_install

%check
%cabal_test

%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 README.md

%changelog
++ word-wrap.cabal ++
name:word-wrap
version: 0.4.1
x-revision: 1
synopsis:A library for word-wrapping
description: A library for wrapping long lines of text.
license: BSD3
license-file:LICENSE
author:  Jonathan Daugherty
maintainer:  cyg...@foobox.com
copyright:   2017 Jonathan Daugherty
category:Text
build-type:  Simple
cabal-version:   >=1.18
Homepage:https://github.com/jtdaugherty/word-wrap/
Bug-reports: https://github.com/jtdaugherty/word-wrap/issues

extra-doc-files:
  README.md
  CHANGELOG.md

Source-Repository head
  type: git
  location: git://github.com/jtdaugherty/word-wrap.git

library
  exposed-modules:
Text.Wrap

  hs-source-dirs:  src
  default-language:Haskell2010
  ghc-options: -Wall
  build-depends:   base >= 4.8 && < 5,
   text

benchmark word-wrap-benchmarks
  type:exitcode-stdio-1.0
  default-language:Haskell2010
  hs-source-dirs:  benchmarks
  main-is: Main.hs
  ghc-options: -Wall
  build-depends:   base < 5,
   word-wrap,
   criterion,
   text

test-suite word-wrap-tests
  type:exitcode-stdio-1.0
  default-language:Haskell2010
  hs-source-dirs:  tests
  main-is: Main.hs
  ghc-options: -Wall
  build-depends:   base < 5,
   word-wrap,
   hspec >= 2.4