Accepting request 361034 from devel:languages:haskell:lts

- update to 1.5.0
- update for ghc-8.0
- ghc-deps uses --provides and --requires again

- dropped add-group.patch and files-defattr.patch
- dropped: sle-sp1-rpmdeps.patch
           remove-flags.patch
- regenerated sle-sp1-rpmdeps.patch
* fix build on openSUSE 11.4
  * no macro %__global_ldflags in openSUSE
  * fixed upstream
- make package noarch and remove rpmlintrc
* fixed by patch 18 in ghc.spec
* do not use -O2 optimization (out of memory failures on OBS)
* support RUNPATH as well as RPATH
- enable shared libraries and dynamic linking on ppc64 and ppc64le
- disable dependency on prelink for arm and aarch64 architectures
- add rpmlintrc to spec file
- SLES11 does not support a different BuildArch for subpackages
- BR xz for SLE 11 builds
    you will probably get rpmlint warnings about it
- use stable URL (no git hash)
* define _pkgdocdir macro
- refresh sle-sp1-rpmdeps.patch
- disable colorized documentation for ppc bootstrap
- fix typo in email address for patch 2
- refresh files-defattr.patch
- enable colorized documentation
* remove unused patch2 in setup section
- enable colorized documentation for all Haskell packages

OBS-URL: https://build.opensuse.org/request/show/361034
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-rpm-macros?expand=0&rev=57
This commit is contained in:
Ondřej Súkup 2016-02-23 18:03:26 +00:00 committed by Git OBS Bridge
parent 400ab46f58
commit 2d4c1ffe50
4 changed files with 79 additions and 72 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3013400a3466bf4f48c87d6a9701be8de352b4290316e4dad0bf087a5f5d2af0
size 15486

View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Feb 18 14:55:41 UTC 2016 - mimi.vx@gmail.com
- update to 1.5.0
- update for ghc-8.0
- ghc-deps uses --provides and --requires again
-------------------------------------------------------------------
Mon Oct 26 14:26:32 UTC 2015 - mimi.vx@gmail.com
@ -16,7 +23,7 @@ Wed Sep 16 09:26:31 UTC 2015 - mimi.vx@gmail.com
- update to 1.4.94
- refreshed remove-flags.patch
- dropped add-group.patch and files-defattr.patch
- dropped add-group.patch and files-defattr.patch
-------------------------------------------------------------------
Thu Aug 27 08:45:19 UTC 2015 - mimi.vx@gmail.com
@ -59,9 +66,9 @@ Thu Aug 27 08:45:19 UTC 2015 - mimi.vx@gmail.com
Wed Aug 19 08:08:54 UTC 2015 - mimi.vx@gmail.com
- update to fake version 1.4.8 based on 1.3.91
- dropped: sle-sp1-rpmdeps.patch
- dropped: sle-sp1-rpmdeps.patch
fix-gen-filelists.patch
remove-flags.patch
remove-flags.patch
- added patches: ldflags.patch
version-docdirs.patch
fix-runpath.patch
@ -70,13 +77,13 @@ Wed Aug 19 08:08:54 UTC 2015 - mimi.vx@gmail.com
-------------------------------------------------------------------
Tue Apr 14 07:10:18 UTC 2015 - mimi.vx@gmail.com
- regenerated sle-sp1-rpmdeps.patch
- regenerated sle-sp1-rpmdeps.patch
-------------------------------------------------------------------
Fri Mar 27 08:17:55 UTC 2015 - peter.trommler@ohm-hochschule.de
- add rpm library directory to files on older openSUSE
* fix build on openSUSE 11.4
* fix build on openSUSE 11.4
-------------------------------------------------------------------
Mon Feb 23 16:38:21 UTC 2015 - peter.trommler@ohm-hochschule.de
@ -89,20 +96,20 @@ Mon Feb 23 16:38:21 UTC 2015 - peter.trommler@ohm-hochschule.de
- refresh suse-docdir.patch
- add remove-flags.patch
* remove passing of CFLAGS and LDFLAGS to ghc
* no macro %__global_ldflags in openSUSE
* no macro %__global_ldflags in openSUSE
- remove provides ghc() workaround
* fixed upstream
* fixed upstream
-------------------------------------------------------------------
Sun Dec 14 09:26:31 UTC 2014 - peter.trommler@ohm-hochschule.de
- make package noarch and remove rpmlintrc
- make package noarch and remove rpmlintrc
-------------------------------------------------------------------
Sat Dec 13 09:33:54 UTC 2014 - peter.trommler@ohm-hochschule.de
- do not disable dynamic libraries on ppc anymore
* fixed by patch 18 in ghc.spec
* fixed by patch 18 in ghc.spec
-------------------------------------------------------------------
Tue Oct 21 15:05:27 UTC 2014 - peter.trommler@ohm-hochschule.de
@ -110,7 +117,7 @@ Tue Oct 21 15:05:27 UTC 2014 - peter.trommler@ohm-hochschule.de
- update to 1.3.6
* remove execstack workaround and prelink requirement
* improve ghc_fix_dynamic_rpath macro
* do not use -O2 optimization (out of memory failures on OBS)
* do not use -O2 optimization (out of memory failures on OBS)
- refresh patches:
* add-group.patch
* files-defattr.patch
@ -121,14 +128,14 @@ Tue Oct 21 15:05:27 UTC 2014 - peter.trommler@ohm-hochschule.de
* fixed in ghc 7.8
- add fix-runpath.patch
* starting with ghc 7.8 shared objects with RUNPATH work
* support RUNPATH as well as RPATH
- enable shared libraries and dynamic linking on ppc64 and ppc64le
* support RUNPATH as well as RPATH
- enable shared libraries and dynamic linking on ppc64 and ppc64le
* shared libraries for ppc still disabled (see haskell trac #8024)
-------------------------------------------------------------------
Fri Sep 12 13:11:17 UTC 2014 - dmueller@suse.com
- disable dependency on prelink for arm and aarch64 architectures
- disable dependency on prelink for arm and aarch64 architectures
-------------------------------------------------------------------
Thu Jul 31 16:10:06 UTC 2014 - dimstar@opensuse.org
@ -139,17 +146,17 @@ Thu Jul 31 16:10:06 UTC 2014 - dimstar@opensuse.org
-------------------------------------------------------------------
Thu Jun 26 11:17:24 UTC 2014 - peter.trommler@ohm-hochschule.de
- add rpmlintrc to spec file
- add rpmlintrc to spec file
-------------------------------------------------------------------
Thu Jun 26 06:52:11 UTC 2014 - martin.koegler@chello.at
- SLES11 does not support a different BuildArch for subpackages
- SLES11 does not support a different BuildArch for subpackages
-------------------------------------------------------------------
Thu May 29 19:39:26 UTC 2014 - peter.trommler@ohm-hochschule.de
- BR xz for SLE 11 builds
- BR xz for SLE 11 builds
-------------------------------------------------------------------
Sat May 10 20:56:02 UTC 2014 - peter.trommler@ohm-hochschule.de
@ -167,14 +174,14 @@ Sat May 10 20:56:02 UTC 2014 - peter.trommler@ohm-hochschule.de
* disable execstack workaround on ppc64le
* prelink is not available on ppc64le yet
* ghc does not handle executable stack note properly
you will probably get rpmlint warnings about it
you will probably get rpmlint warnings about it
-------------------------------------------------------------------
Sat Feb 1 08:46:53 UTC 2014 - peter.trommler@ohm-hochschule.de
- update to 1.2.2
* fix error message
- use stable URL (no git hash)
- use stable URL (no git hash)
-------------------------------------------------------------------
Mon Dec 16 15:26:01 UTC 2013 - peter.trommler@ohm-hochschule.de
@ -186,29 +193,29 @@ Mon Dec 16 15:26:01 UTC 2013 - peter.trommler@ohm-hochschule.de
Fri Dec 13 21:56:16 UTC 2013 - peter.trommler@ohm-hochschule.de
- fix suse-docdir.patch
* define _pkgdocdir macro
* define _pkgdocdir macro
-------------------------------------------------------------------
Wed Dec 11 19:40:34 UTC 2013 - peter.trommler@ohm-hochschule.de
- refresh sle-sp1-rpmdeps.patch
- refresh sle-sp1-rpmdeps.patch
-------------------------------------------------------------------
Tue Oct 29 21:01:53 UTC 2013 - peter.trommler@ohm-hochschule.de
- disable colorized documentation for ppc bootstrap
- disable colorized documentation for ppc bootstrap
-------------------------------------------------------------------
Sat Oct 26 18:34:10 UTC 2013 - peter.trommler@ohm-hochschule.de
- fix typo in email address for patch 2
- fix typo in email address for patch 2
-------------------------------------------------------------------
Sat Oct 26 18:32:22 UTC 2013 - peter.trommler@ohm-hochschule.de
- refresh suse-disable-debug-packages.patch
- refresh add-group.patch
- refresh files-defattr.patch
- refresh files-defattr.patch
-------------------------------------------------------------------
Sat Oct 26 18:26:21 UTC 2013 - peter.trommler@ohm-hochschule.de
@ -229,44 +236,44 @@ Fri Oct 11 19:00:13 UTC 2013 - peter.trommler@ohm-hochschule.de
- add files-defattr.patch as patch 3
* set file permissions according to specfile guidelines
- thanks to Scott Bahling for preparing those patches
- enable colorized documentation
- enable colorized documentation
-------------------------------------------------------------------
Thu Sep 26 06:59:33 UTC 2013 - peter.trommler@ohm-hochschule.de
- clean up spec file
* fix comment for patch 1 (wrong file name)
* remove unused patch2 in setup section
* remove unused patch2 in setup section
-------------------------------------------------------------------
Thu Sep 26 06:56:57 UTC 2013 - peter.trommler@ohm-hochschule.de
- enable colorized documentation for all Haskell packages
- enable colorized documentation for all Haskell packages
-------------------------------------------------------------------
Thu Aug 1 15:18:38 UTC 2013 - dvaleev@suse.com
- fix %{macros_dir}/macros.ghc for non x86 arches
- fix %{macros_dir}/macros.ghc for non x86 arches
-------------------------------------------------------------------
Wed May 1 19:51:20 UTC 2013 - peter.trommler@ohm-hochschule.de
- put version back into html doc directory (needed by haddock)
- put version back into html doc directory (needed by haddock)
-------------------------------------------------------------------
Wed May 1 18:42:46 UTC 2013 - peter.trommler@ohm-hochschule.de
- fix library directory for ghc packages
- fix library directory for ghc packages
-------------------------------------------------------------------
Wed May 1 17:59:27 UTC 2013 - peter.trommler@ohm-hochschule.de
- drop library version in html documentation directory
- drop library version in html documentation directory
-------------------------------------------------------------------
Mon Apr 29 17:16:30 UTC 2013 - peter.trommler@ohm-hochschule.de
- add patch to fix ghc_gen_filelists macro
- add patch to fix ghc_gen_filelists macro
-------------------------------------------------------------------
Mon Apr 29 08:59:04 UTC 2013 - peter.trommler@ohm-hochschule.de
@ -274,14 +281,14 @@ Mon Apr 29 08:59:04 UTC 2013 - peter.trommler@ohm-hochschule.de
- update to 0.99 from upstream
- support for ghc 7.6
- more transparent file lists
- macros dealing with subpackages moved to extra subbpackage
- macros dealing with subpackages moved to extra subbpackage
-------------------------------------------------------------------
Sat Mar 9 16:17:16 UTC 2013 - peter.trommler@ohm-hochschule.de
- update to 0.98.1 from upstream
- new ghc_fix_dynamic_rpath macro to make executables work that
are linked to their own library
are linked to their own library
-------------------------------------------------------------------
Sat Nov 17 12:41:05 UTC 2012 - peter.trommler@ohm-hochschule.de
@ -336,14 +343,14 @@ Sun Jun 24 08:53:28 UTC 2012 - peter.trommler@ohm-hochschule.de
- cleaned up file list
- remove Obsoletes clauses from macros (buildService.patch)
- rebased sle-sp1-rpmdeps.patch
- rebased sle-sp1-rpmdeps.patch
-------------------------------------------------------------------
Sat May 5 10:02:41 UTC 2012 - peter.trommler@ohm-hochschule.de
- bumped version number to match upstream
- dropped fix for magic, not needed anymore
- added copyright notice
- added copyright notice
-------------------------------------------------------------------
Thu Apr 26 15:36:41 UTC 2012 - peter.trommler@ohm-hochschule.de
@ -355,144 +362,144 @@ Thu Apr 26 15:36:41 UTC 2012 - peter.trommler@ohm-hochschule.de
- no longer provide doc subpackage
- do not provide prof when without_prof set
- remove SUSE_ASNEEDED in buildService.patch
- rebase sle patch
- rebase sle patch
-------------------------------------------------------------------
Mon Mar 19 18:58:47 UTC 2012 - peter.trommler@ohm-hochschule.de
- fix ghc-deps.sh (ignore builtin_ffi)
- fix ghc-deps.sh (ignore builtin_ffi)
-------------------------------------------------------------------
Mon Mar 19 16:27:03 UTC 2012 - peter.trommler@ohm-hochschule.de
- upgrade to 0.15.5 from upstream
- undo patch for dependency generation (redundant provides)
- undo patch for dependency generation (redundant provides)
-------------------------------------------------------------------
Thu Feb 23 07:38:02 UTC 2012 - peter.trommler@ohm-hochschule.de
- fix patch for sle11
- fix patch for sle11
-------------------------------------------------------------------
Tue Feb 21 10:10:00 UTC 2012 - peter.trommler@ohm-hochschule.de
- define _rpmconfigdir on SLE-11-SP1
- define _rpmconfigdir on SLE-11-SP1
-------------------------------------------------------------------
Sun Feb 19 15:11:35 UTC 2012 - peter.trommler@ohm-hochschule.de
- update to 0.15.4 from upstream
- patches rebased
- fix rpmdeps on SLE-11-SP1
- fix rpmdeps on SLE-11-SP1
-------------------------------------------------------------------
Mon Feb 6 19:41:51 UTC 2012 - peter.trommler@ohm-hochschule.de
- do not pass .conf file to rpmdeps (fails on SLE-11-SP1)
- do not pass .conf file to rpmdeps (fails on SLE-11-SP1)
-------------------------------------------------------------------
Thu Feb 2 21:38:35 UTC 2012 - peter.trommler@ohm-hochschule.de
- remove version on docs dir
- remove version on docs dir
-------------------------------------------------------------------
Thu Feb 2 20:45:36 UTC 2012 - peter.trommler@ohm-hochschule.de
- put documentation into /usr/share/doc/ghc-<version>
- put documentation into /usr/share/doc/ghc-<version>
-------------------------------------------------------------------
Thu Feb 2 14:15:48 UTC 2012 - peter.trommler@ohm-hochschule.de
- add build root tag (for SLE11)
- add build root tag (for SLE11)
-------------------------------------------------------------------
Sun Jan 22 15:28:04 UTC 2012 - peter.trommler@ohm-hochschule.de
- Fix license tag
- Fix license tag
-------------------------------------------------------------------
Sun Jan 22 15:12:34 UTC 2012 - peter.trommler@ohm-hochschule.de
- remove version numbers again
- remove version numbers again
- move documentation to ghc-docs
-------------------------------------------------------------------
Sat Jan 21 11:06:27 UTC 2012 - peter.trommler@ohm-hochschule.de
- update to version 0.15.2 from upstream
- put version numbers in packages back in
- put version numbers in packages back in
-------------------------------------------------------------------
Mon Dec 26 10:57:44 UTC 2011 - peter.trommler@ohm-hochschule.de
- fix document directories
- fix document directories
-------------------------------------------------------------------
Thu Dec 22 16:54:29 UTC 2011 - peter.trommler@ohm-hochschule.de
- ghc-deps.sh: add dependencies for requires
- ghc-deps.sh: add dependencies for requires
-------------------------------------------------------------------
Sat Dec 10 07:54:54 UTC 2011 - peter.trommler@ohm-hochschule.de
- ghc-deps.sh again
- ghc-deps.sh again
-------------------------------------------------------------------
Fri Dec 9 16:49:46 UTC 2011 - peter.trommler@ohm-hochschule.de
- fixed ghc-deps.sh
- fixed ghc-deps.sh
-------------------------------------------------------------------
Fri Dec 9 14:37:28 UTC 2011 - peter.trommler@ohm-hochschule.de
- generate dependencies that keep OBS happy
- generate dependencies that keep OBS happy
-------------------------------------------------------------------
Fri Dec 9 08:35:14 UTC 2011 - peter.trommler@ohm-hochschule.de
- fixed sed unterminated s command
- fixed sed unterminated s command
-------------------------------------------------------------------
Thu Dec 8 18:40:26 UTC 2011 - peter.trommler@ohm-hochschule.de
- do not require builtin_ffi for executables
- do not require builtin_ffi for executables
-------------------------------------------------------------------
Tue Dec 6 16:19:05 UTC 2011 - peter.trommler@ohm-hochschule.de
- required packages format changed for executables
- required packages format changed for executables
-------------------------------------------------------------------
Sat Dec 3 11:02:36 UTC 2011 - peter.trommler@ohm-hochschule.de
- Upgraded to 0.14.3-1 from upstream
- added ghc dependency generator back in and started OBS fix for it
- added ghc dependency generator back in and started OBS fix for it
-------------------------------------------------------------------
Fri Nov 25 07:41:36 UTC 2011 - peter.trommler@ohm-hochschule.de
- Fixed patch
- Fixed patch
-------------------------------------------------------------------
Thu Nov 24 18:53:43 UTC 2011 - peter.trommler@ohm-hochschule.de
- Add SUSE_ASNEEDED=0
- Add SUSE_ASNEEDED=0
-------------------------------------------------------------------
Wed Nov 23 18:53:11 UTC 2011 - peter.trommler@ohm-hochschule.de
- Upgraded to version 0.14.2 from upstream
- Disabled ghc dependency generator. It breaks all builds on OBS
- Disabled ghc dependency generator. It breaks all builds on OBS
-------------------------------------------------------------------
Mon Oct 31 13:37:09 UTC 2011 - peter.trommler@ohm-hochschule.de
- Fix: Wrong files uploaded.
- Fix: Wrong files uploaded.
-------------------------------------------------------------------
Mon Oct 31 12:12:08 UTC 2011 - peter.trommler@ohm-hochschule.de
- Upgraded to 0.13.13 from upstream.
- Upgraded to 0.13.13 from upstream.
-------------------------------------------------------------------
Mon Oct 17 12:20:53 UTC 2011 - peter.trommler@ohm-hochschule.de
@ -502,12 +509,12 @@ Mon Oct 17 12:20:53 UTC 2011 - peter.trommler@ohm-hochschule.de
-------------------------------------------------------------------
Thu Oct 13 16:17:35 UTC 2011 - peter.trommler@ohm-hochschule.de
- Undo patch.
- Undo patch.
-------------------------------------------------------------------
Wed Oct 12 19:35:26 UTC 2011 - peter.trommler@ohm-hochschule.de
- use runghc in cabal macro to fing ghc libraries.
- use runghc in cabal macro to fing ghc libraries.
-------------------------------------------------------------------
Fri Oct 7 16:36:03 UTC 2011 - peter.trommler@ohm-hochschule.de
@ -517,10 +524,10 @@ Fri Oct 7 16:36:03 UTC 2011 - peter.trommler@ohm-hochschule.de
-------------------------------------------------------------------
Fri Oct 7 16:12:31 UTC 2011 - peter.trommler@ohm-hochschule.de
- Fixed Group tag.
- Fixed Group tag.
-------------------------------------------------------------------
Fri Oct 7 16:09:35 UTC 2011 - peter.trommler@ohm-hochschule.de
- Initial packaging
- Initial packaging

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-rpm-macros
#
# 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
@ -20,7 +20,7 @@
%global without_hscolour 1
Name: ghc-rpm-macros
Version: 1.4.98
Version: 1.5.0
Release: 0
BuildArch: noarch
Summary: RPM Macros for building packages for GHC
@ -74,7 +74,7 @@ install -p -D -m 0644 macros.ghc-extra %{buildroot}/%{macros_dir}/macros.ghc-ext
install -p -D -m 0755 ghc-deps.sh %{buildroot}/%{_prefix}/lib/rpm/ghc-deps.sh
install -p -D -m 0755 cabal-tweak-dep-ver %{buildroot}/%{_bindir}/cabal-tweak-dep-ver
install -p -D -m 0755 cabal-tweak-flag %{buildroot}/%{_bindir}/cabal-tweak-flag
install -p -D -m 0755 ghc-pkg-wrapper %{buildroot}/%{_prefix}/lib/rpm/ghc-pkg-wrapper
install -p -D -m 0755 ghc-pkg-wrapper %{buildroot}/%{_prefix}/lib/rpm/ghc-pkg-wrapper
install -p -D -m 0644 ghc.attr %{buildroot}/%{_prefix}/lib/rpm/fileattrs/ghc.attr
%files