Hello community,

here is the log from the commit of package ghc-rpm-macros for openSUSE:Factory 
checked in at 2020-01-03 17:35:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-rpm-macros (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-rpm-macros.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-rpm-macros"

Fri Jan  3 17:35:45 2020 rev:39 rq:760297 version:1.9.90

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-rpm-macros/ghc-rpm-macros.changes    
2019-12-30 12:34:45.983802441 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-rpm-macros.new.6675/ghc-rpm-macros.changes  
2020-01-03 17:36:08.483269701 +0100
@@ -1,0 +2,6 @@
+Mon Dec 30 20:05:43 UTC 2019 - Ondřej Súkup <[email protected]>
+
+- add workaround for license
+  needed for work on ppc64 ghc compiler
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-rpm-macros.spec ++++++
--- /var/tmp/diff_new_pack.2W3sfe/_old  2020-01-03 17:36:08.851269890 +0100
+++ /var/tmp/diff_new_pack.2W3sfe/_new  2020-01-03 17:36:08.855269892 +0100
@@ -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 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 @@
 %{_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


Reply via email to