From 5f7a680f15d741c104cb2c18bd95c83bb20c9d28 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 7 Feb 2019 11:55:07 +0200 Subject: [PATCH] up to 66.4.84 --- dropbox.spec | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/dropbox.spec b/dropbox.spec index 12c8c4f..ff35afa 100644 --- a/dropbox.spec +++ b/dropbox.spec @@ -10,15 +10,15 @@ Summary: Sync and backup files between computers Name: dropbox # https://www.dropboxforum.com/hc/en-us/community/posts/206682016-New-Versioning-Scheme -Version: 61.4.95 +Version: 66.4.84 Release: 1 License: Proprietary Group: Daemons Source0: https://clientupdates.dropboxstatic.com/dbx-releng/client/%{name}-lnx.x86-%{version}.tar.gz -# NoSource0-md5: efaa5f37452dd2e8700c0c29dda168c2 +# NoSource0-md5: 95a25bc9e57e053defc133e67e590c5c NoSource: 0 Source1: https://clientupdates.dropboxstatic.com/dbx-releng/client/%{name}-lnx.x86_64-%{version}.tar.gz -# NoSource1-md5: 1e02a01aaeb55177a58f30f8e2df7ffd +# NoSource1-md5: 3a28db85d941c5d8628964684370e788 NoSource: 1 URL: https://www.dropbox.com/ BuildRequires: rpmbuild(macros) >= 1.566 @@ -94,13 +94,14 @@ test -f librsync.so.1 %if 1 # fun, let's delete non-linux files from archive -unzip -l python-packages-35.zip | \ +d=.delete-lib.txt +unzip -l python-packages-36.zip | \ grep -E '(arch|dropbox)/(mac|win32)|_(win32|mac)\.py|pymac|ui/cocoa|unittest' | \ grep -vE 'pymac/(__init__|constants|types|lazydll|lazyframework)\.py' | \ - grep -vE 'dropbox/mac/(version|__init__).py' | \ - awk '{print $NF}' > lib.delete -zip python-packages-35.zip -d $(cat lib.delete) -rm lib.delete + grep -vE 'dropbox/mac/(version|__init__)\.py' | \ + grep -vF 'dropbox/client/features/files/local/operations/_mac.py' | \ + awk '{print $NF}' > $d +zip python-packages-36.zip -d $(cat $d) %endif %install @@ -110,7 +111,7 @@ ln -s %{_libdir}/%{name}/dropboxd $RPM_BUILD_ROOT%{_bindir}/dropboxd # install everything else install -d $RPM_BUILD_ROOT%{_libdir}/%{name} -cp -a . $RPM_BUILD_ROOT%{_libdir}/%{name} +cp -a * $RPM_BUILD_ROOT%{_libdir}/%{name} # in doc %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{ACKNOWLEDGEMENTS,VERSION,README} -- 2.44.0