forked from pool/ghc-rpm-macros
Accepting request 265138 from devel:languages:haskell
1 OBS-URL: https://build.opensuse.org/request/show/265138 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-rpm-macros?expand=0&rev=17
This commit is contained in:
commit
4c894f7f6d
@ -1 +0,0 @@
|
|||||||
addFilter("no-binary")
|
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 14 09:26:31 UTC 2014 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 21 15:05:27 UTC 2014 - peter.trommler@ohm-hochschule.de
|
Tue Oct 21 15:05:27 UTC 2014 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
Name: ghc-rpm-macros
|
Name: ghc-rpm-macros
|
||||||
Version: 1.3.6
|
Version: 1.3.6
|
||||||
Release: 0
|
Release: 0
|
||||||
|
BuildArch: noarch
|
||||||
Summary: RPM Macros for building packages for GHC
|
Summary: RPM Macros for building packages for GHC
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
@ -32,7 +33,6 @@ Group: Development/Libraries/Other
|
|||||||
Url: https://fedoraproject.org/wiki/Haskell_SIG
|
Url: https://fedoraproject.org/wiki/Haskell_SIG
|
||||||
|
|
||||||
Source0: http://pkgs.fedoraproject.org/cgit/%{name}.git/snapshot/%{name}-%{git_hash}.tar.xz
|
Source0: http://pkgs.fedoraproject.org/cgit/%{name}.git/snapshot/%{name}-%{git_hash}.tar.xz
|
||||||
Source1: ghc-rpm-macros-rpmlintrc
|
|
||||||
# PATCH-FIX-OPENSUSE suse-disable-debug-packages.patch peter.trommler@ohm-hochschule.de -- openSUSE way to disable debug packages
|
# PATCH-FIX-OPENSUSE suse-disable-debug-packages.patch peter.trommler@ohm-hochschule.de -- openSUSE way to disable debug packages
|
||||||
Patch1: suse-disable-debug-packages.patch
|
Patch1: suse-disable-debug-packages.patch
|
||||||
# PATCH-FIX-OPENSUSE add-group.patch sbahling@suse.com -- Make sure a Group: tag is generated in subpackages; peter.trommler@ohm-hochschule.de: also puts libraries in System/Libraries, see package group guidelines
|
# PATCH-FIX-OPENSUSE add-group.patch sbahling@suse.com -- Make sure a Group: tag is generated in subpackages; peter.trommler@ohm-hochschule.de: also puts libraries in System/Libraries, see package group guidelines
|
||||||
@ -110,18 +110,6 @@ install -p -D -m 0644 ghc.attr %{buildroot}/%{_prefix}/lib/rpm/fileattrs/ghc.att
|
|||||||
install -p -D -m 0755 cabal-tweak-dep-ver %{buildroot}/%{_bindir}/cabal-tweak-dep-ver
|
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 cabal-tweak-flag %{buildroot}/%{_bindir}/cabal-tweak-flag
|
||||||
|
|
||||||
# this is why this package is (still) arch-dependent:
|
|
||||||
# turn off shared libs and dynamic linking on ppc
|
|
||||||
# See Haskell trac #8024
|
|
||||||
%ifarch ppc
|
|
||||||
cat >> %{buildroot}%{macros_dir}/macros.ghc <<EOF
|
|
||||||
|
|
||||||
# shared libraries are only supported on primary intel archs
|
|
||||||
%%ghc_without_dynamic 1
|
|
||||||
%%ghc_without_shared 1
|
|
||||||
EOF
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING AUTHORS
|
%doc COPYING AUTHORS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user