File reproducible.patch of Package pythia

a variant was sent via mail to phil...@cern.ch

---
 Makefile  |    7 +++----
 configure |    4 ++--
 2 files changed, 5 insertions(+), 6 deletions(-)

Index: pythia8315/configure
===================================================================
--- pythia8315.orig/configure
+++ pythia8315/configure
@@ -296,7 +296,7 @@ function error() {
 ################################################################################
 
 # Check if help requested.
-bold "Running PYTHIA configuration script. Now is `date`"
+bold "Running PYTHIA configuration script"
 for VAR in "$@"; do
     if [ "$VAR" = "-h" ] || [ "$VAR" = "--h" ] || [ "$VAR" = "-help" ] \
 	   || [ "$VAR" = "--help" ]; then
@@ -307,7 +307,7 @@ done
 
 # Parse the user arguments and evaluate each as a global variable.
 echo "# PYTHIA configuration file." > $CFG_FILE
-echo "# Generated on" `date` "with the following command:" >> $CFG_FILE
+echo "# Generated on with the following command:" >> $CFG_FILE
 USER_CFG=""
 for VAR in "$@"; do
     if [[ $OPTIONS =~ (^| )${VAR%%=*}($| ) ]]; then USER_CFG+=" $VAR"
Index: pythia8315/Makefile
===================================================================
--- pythia8315.orig/Makefile
+++ pythia8315/Makefile
@@ -129,11 +129,10 @@ $(LOCAL_LIB)/libpythia8powheg%.so: $(POW
 	$(LOCAL_TMP)/LHAPowheg.o $(LOCAL_LIB)/libpythia8$(LIB_SUFFIX)
 	$(CXX) $(LOCAL_TMP)/LHAPowheg.o -o $@ $(CXX_COMMON) $(CXX_SHARED)\
 	 $(CXX_SONAME)$(notdir $@) -Llib -lpythia8\
-ifneq ($(DISABLE_RPATH),true)
-	 -Wl,-rpath,../lib:$(POWHEG_DIR) -L$(POWHEG_DIR) -l$*
-else
+   ifneq ($(DISABLE_RPATH),true)
+	 -Wl,-rpath,../lib:$(POWHEG_DIR)\
+   endif
 	 -L$(POWHEG_DIR) -l$*
-endif
 $(LOCAL_LIB)/libpythia8powhegHooks.so: $(LOCAL_TMP)/PowhegHooks.o\
 	$(LOCAL_LIB)/libpythia8$(LIB_SUFFIX)
 	$(CXX) $< -o $@ $(CXX_COMMON) $(CXX_SHARED) $(CXX_SONAME)$(notdir $@)\
openSUSE Build Service is sponsored by