forked from pool/ghc-rpm-macros
osc copypac from project:devel:languages:haskell:ghc-8.8.x package:ghc-rpm-macros revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-rpm-macros?expand=0&rev=97
This commit is contained in:
parent
0604d47fb8
commit
17d66a531e
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user