]> git.pld-linux.org Git - packages/seafile.git/commitdiff
- up to 7.0.5 auto/th/seafile-7.0.5-1
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 9 Feb 2020 11:46:56 +0000 (12:46 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 9 Feb 2020 11:46:56 +0000 (12:46 +0100)
codegen.patch [deleted file]
seafile.spec

diff --git a/codegen.patch b/codegen.patch
deleted file mode 100644 (file)
index fe72b82..0000000
+++ /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 $@
index 84b2a07fb896766b9f2e90516dfa9577288a90bb..421c88e5a69ac001386b22f3871ea90d60bc066a 100644 (file)
@@ -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}
This page took 0.061353 seconds and 4 git commands to generate.