Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2017-11-21 15:33:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/petsc (Old)
 and      /work/SRC/openSUSE:Factory/.petsc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "petsc"

Tue Nov 21 15:33:13 2017 rev:5 rq:543900 version:3.7.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/petsc/petsc.changes      2017-11-13 
14:06:41.176527343 +0100
+++ /work/SRC/openSUSE:Factory/.petsc.new/petsc.changes 2017-11-21 
15:33:16.831235054 +0100
@@ -1,0 +2,6 @@
+Tue Nov 14 11:40:02 UTC 2017 - e...@suse.com
+
+- emvironment modules: only set BIN when binary path exists.
+- Fix RPM macro name %hpc_upcase.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ petsc.spec ++++++
--- /var/tmp/diff_new_pack.0LivDn/_old  2017-11-21 15:33:18.203185336 +0100
+++ /var/tmp/diff_new_pack.0LivDn/_new  2017-11-21 15:33:18.207185191 +0100
@@ -397,9 +397,10 @@
 prepend-path    PATH                %{hpc_bindir}
 prepend-path    LD_LIBRARY_PATH     %{hpc_libdir}
 
-setenv          %{upcase %pname}_DIR        %{hpc_prefix}
-setenv          %{upcase %pname}_BIN        %{hpc_bidnir}
-
+setenv          %{hpc_upcase %pname}_DIR        %{hpc_prefix}
+if {[file isdirectory  %{hpc_bindir}]} {
+setenv          %{hpc_upcase %pname}_BIN        %{hpc_bidnir}
+}
 if {[file isdirectory  %{hpc_includedir}]} {
 prepend-path    LIBRARY_PATH        %{hpc_libdir}
 prepend-path    CPATH               %{hpc_includedir}
@@ -408,8 +409,8 @@
 prepend-path    INCLUDE                         %{hpc_includedir}
 %hpc_modulefile_add_pkgconfig_path
 
-setenv          %{upcase %pname}_INC        %{hpc_includedir}
-setenv          %{upcase %pname}_LIB        %{hpc_libdir}
+setenv          %{hpc_upcase %pname}_INC        %{hpc_includedir}
+setenv          %{hpc_upcase %pname}_LIB        %{hpc_libdir}
 }
 EOF
 %endif  # with hpc


Reply via email to