[packages/libreoffice] - md5sum is needed in systemactions.pm

arekm arekm at pld-linux.org
Fri Jul 26 13:28:15 CEST 2013


commit e913346ac8e1b7bd7cb1166c4cb04e898839a2b6
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Jul 26 13:28:11 2013 +0200

    - md5sum is needed in systemactions.pm

 libreoffice-md5.patch | 20 ++++++++++++++++++++
 libreoffice.spec      |  2 ++
 2 files changed, 22 insertions(+)
---
diff --git a/libreoffice.spec b/libreoffice.spec
index e07e73a..20be3bd 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -78,6 +78,7 @@ Source25:	http://dev-www.libreoffice.org/src/a7983f859eafb2677d7ff386a023bc40-xs
 
 Patch0:		%{name}-hamcrest.patch
 Patch1:		%{name}-mdds.patch
+Patch2:		%{name}-md5.patch
 URL:		http://www.documentfoundation.org/
 BuildRequires:	/usr/bin/getopt
 BuildRequires:	GConf2-devel
@@ -2532,6 +2533,7 @@ bashowe uzupełnianie nazw dla LibreOffice.
 
 %patch0 -p0
 %patch1 -p1
+%patch2 -p1
 
 for dir in *-%{version}; do
 	[ -f $dir/ChangeLog ] && mv $dir/ChangeLog ChangeLog-$dir
diff --git a/libreoffice-md5.patch b/libreoffice-md5.patch
new file mode 100644
index 0000000..f248868
--- /dev/null
+++ b/libreoffice-md5.patch
@@ -0,0 +1,20 @@
+--- libreoffice-4.1.0.4/configure.ac~	2013-07-26 08:27:33.000000000 +0200
++++ libreoffice-4.1.0.4/configure.ac	2013-07-26 13:22:18.812129639 +0200
+@@ -11308,6 +11308,8 @@
+     AC_MSG_ERROR([neither wget nor curl found!])
+ fi
+ 
++fi
++
+ for i in md5 md5sum /usr/local/bin/md5sum gmd5sum /usr/sfw/bin/md5sum /opt/sfw/bin/gmd5sum /opt/local/bin/md5sum; do
+     if test "$i" = "md5"; then
+         eval "$i -x" > /dev/null 2>&1
+@@ -11333,8 +11335,6 @@
+     AC_MSG_ERROR([no md5sum: found!])
+ fi
+ 
+-fi
+-
+ AC_SUBST(WGET)
+ AC_SUBST(CURL)
+ AC_SUBST(MD5SUM)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libreoffice.git/commitdiff/e913346ac8e1b7bd7cb1166c4cb04e898839a2b6



More information about the pld-cvs-commit mailing list