[packages/seafile] - up to 7.0.5

baggins baggins at pld-linux.org
Sun Feb 9 12:48:56 CET 2020


commit 5ecdb85b258d6ed8984669a5122ad195bc1f0cf9
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Feb 9 12:46:56 2020 +0100

    - up to 7.0.5

 codegen.patch | 11 -----------
 seafile.spec  | 17 ++++++++++-------
 2 files changed, 10 insertions(+), 18 deletions(-)
---
diff --git a/seafile.spec b/seafile.spec
index 84b2a07..421c88e 100644
--- a/seafile.spec
+++ b/seafile.spec
@@ -8,13 +8,12 @@
 
 Summary:	File syncing and sharing software with file encryption and group sharing
 Name:		seafile
-Version:	6.2.5
-Release:	2
+Version:	7.0.5
+Release:	1
 License:	GPL v2
 Group:		Applications/Networking
-Source0:	https://github.com/haiwen/seafile/archive/v%{version}.tar.gz
-# Source0-md5:	220790c24a8cb1ff88bacc03e4e87976
-Patch0:		codegen.patch
+Source0:	https://github.com/haiwen/seafile/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	9904adcb43b7194a8e89552794f77209
 URL:		http://seafile.com/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -56,10 +55,14 @@ developing applications that use %{name}.
 
 %prep
 %setup -q
-%patch0 -p1
 
 # bogus destdir?
-sed -i -e 's/(DESTDIR)//' lib/libseafile.pc.in
+%{__sed} -i -e 's/(DESTDIR)//' lib/libseafile.pc.in
+
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' \
+      app/seaf-cli \
+      scripts/breakpad.py \
+      setupwin.py
 
 %build
 %{__glib_gettextize}
diff --git a/codegen.patch b/codegen.patch
deleted file mode 100644
index fe72b82..0000000
--- a/codegen.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- seafile-5.1.2-server/./lib/Makefile.am~	2016-05-10 15:25:35.000000000 +0300
-+++ seafile-5.1.2-server/./lib/Makefile.am	2016-06-07 23:22:19.846875742 +0300
-@@ -64,7 +64,7 @@
- 	@rm -f rpc_table.tmp
- 	@touch rpc_table.tmp
- 	@echo "[libsearpc]: generating rpc header files"
--	@PYTHON@ `which searpc-codegen.py` ${top_srcdir}/lib/rpc_table.py
-+	@PYTHON@ /usr/bin/searpc-codegen ${top_srcdir}/lib/rpc_table.py
- 	@echo "[libsearpc]: done"
- 	@mv -f rpc_table.tmp $@
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/seafile.git/commitdiff/5ecdb85b258d6ed8984669a5122ad195bc1f0cf9



More information about the pld-cvs-commit mailing list