Hello community,

here is the log from the commit of package ghc-mod for openSUSE:Factory checked 
in at 2015-09-08 17:43:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-mod (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-mod.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-mod"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-mod/ghc-mod.changes  2015-08-28 
08:27:14.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-mod.new/ghc-mod.changes     2015-09-08 
17:48:52.000000000 +0200
@@ -1,0 +2,11 @@
+Sat Sep  5 17:02:47 UTC 2015 - mimi...@gmail.com
+
+- create /etc/profile.d/ghc-mod.* files to solve
+  issues with LIBEXECDIR and cabal-helper-wrapper
+
+-------------------------------------------------------------------
+Fri Aug 28 14:08:29 UTC 2015 - mimi...@gmail.com
+
+- add libexecdir specification to %_libexecdir 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ ghc-mod.spec ++++++
--- /var/tmp/diff_new_pack.13JaW0/_old  2015-09-08 17:48:53.000000000 +0200
+++ /var/tmp/diff_new_pack.13JaW0/_new  2015-09-08 17:48:53.000000000 +0200
@@ -103,12 +103,21 @@
 %setup -q
 
 %build
+%define cabal_configure_options --libexecdir=%{_libexecdir}
 %ghc_lib_build
 
 %install
 %ghc_lib_install
-
 %ghc_fix_dynamic_rpath %{pkg_name} ghc-modi
+mkdir -p %{buildroot}%{_sysconfdir}/profile.d
+touch %{buildroot}%{_sysconfdir}/profile.d/ghc-mod.sh
+touch %{buildroot}%{_sysconfdir}/profile.d/ghc-mod.csh
+echo 'export cabal_helper_libexecdir=%{_libexecdir}' > 
%{buildroot}%{_sysconfdir}/profile.d/ghc-mod.sh
+echo 'setenv cabal_helper_libexecdir %{_libexecdir}' > 
%{buildroot}%{_sysconfdir}/profile.d/ghc-mod.csh
+
+rm %{buildroot}%{_datadir}/%{name}-%{version}/LICENSE
+rm %{buildroot}%{_datadir}/%{name}-%{version}/COPYING.AGPL3
+rm %{buildroot}%{_datadir}/%{name}-%{version}/COPYING.BSD3
 
 %check
 %if %{with tests}
@@ -127,6 +136,8 @@
 %{_bindir}/%{name}
 %{_bindir}/ghc-modi
 %{_datadir}/%{name}-%{version}
+%{_sysconfdir}/profile.d/ghc-mod.sh
+%{_sysconfdir}/profile.d/ghc-mod.csh
 
 %files -n ghc-%{name} -f ghc-%{name}.files
 %defattr(-,root,root,-)


Reply via email to