Accepting request 760297 from devel:languages:haskell

version update

OBS-URL: https://build.opensuse.org/request/show/760297
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-rpm-macros?expand=0&rev=39
This commit is contained in:
Dominique Leuenberger 2020-01-03 16:35:45 +00:00 committed by Git OBS Bridge
commit bbad8b5b6b
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 30 20:05:43 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- add workaround for license
needed for work on ppc64 ghc compiler
-------------------------------------------------------------------
Fri Dec 20 07:44:37 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -15,6 +15,10 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%if 0%{?suse_version} <= 1320
%global license doc
%endif
%global macros_dir %{_sysconfdir}/rpm
%global without_hscolour 1
@ -74,6 +78,10 @@ install -p -D -m 0755 ghc-pkg-wrapper %{buildroot}/%{_prefix}/lib/rpm/ghc-pkg-wr
install -p -D -m 0644 ghc.attr %{buildroot}/%{_prefix}/lib/rpm/fileattrs/ghc.attr
install -p -D -m 0755 ghc-dirs.sh %{buildroot}/%{_prefix}/lib/rpm/ghc-dirs.sh
install -p -D -m 0644 Setup.hs %{buildroot}/%{_datadir}/%{name}/Setup.hs
%if 0%{?suse_version} <= 1320
install -d -D -m 0755 %{buildroot}%{_datadir}/licenses
%endif
%files
%doc AUTHORS
@ -89,6 +97,9 @@ install -p -D -m 0644 Setup.hs %{buildroot}/%{_datadir}/%{name}/Setup.hs
%{_prefix}/lib/rpm/ghc-dirs.sh
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/Setup.hs
%if 0%{?suse_version} <= 1320
%dir %{_datadir}/licenses
%endif
%files extra
%config %{macros_dir}/macros.ghc-extra