Hello community,

here is the log from the commit of package syncthing for openSUSE:Factory 
checked in at 2020-08-19 18:53:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/syncthing (Old)
 and      /work/SRC/openSUSE:Factory/.syncthing.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "syncthing"

Wed Aug 19 18:53:38 2020 rev:96 rq:827640 version:1.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/syncthing/syncthing.changes      2020-04-08 
19:56:03.785096193 +0200
+++ /work/SRC/openSUSE:Factory/.syncthing.new.3399/syncthing.changes    
2020-08-19 18:55:59.719820765 +0200
@@ -1,0 +2,38 @@
+Tue Aug 18 11:46:09 UTC 2020 - Marius Kittler <marius.kitt...@suse.com>
+
+- Prevent the build system to download Go modules which would require an
+  internet connection during the build
+- Update to 1.8.0
+  - The 1.8.0 release
+    - adds the experimental copyRangeMethod config on folders, for use on
+      filesystems with copy-on-write support. Please see
+      https://docs.syncthing.net/advanced/folder-copyrangemethod.html for
+      details.
+    - adds TCP hole punching, used to establish high performance TCP
+      connections in certain NAT scenarios where only relay or QUIC
+      connections could be used previously.
+    - adds a configuration to file versioning for how often to run cleanup.
+      This defaults to once an hour, but is configurable from very
+      frequently to never.
+  - The 1.7.0 release performs a database migration to optimize for clusters
+    with many devices.
+  - The 1.6.0 release performs a database schema migration, and adds the
+    BlockPullOrder, DisableFsync and MaxConcurrentWrites folder
+    options to the configuration schema. The LocalChangeDetected event no
+    longer has the action set to added for new files, instead showing modified
+    for all local file changes.
+  - The 1.5.0 release changes the default location for the index database under
+    some circumstances. Two new flags can also be used to affect the
+    location of the configuration (-config) and database (-data)
+    separately. The old -home flag is equivalent to setting both of these
+    to the same directory. When no flags are given the following logic is
+    used to determine the data location:
+
+    If a database exists in the old default location, that location is
+    still used. This means existing installations are not affected by this
+    change.
+    If $XDG_DATA_HOME is set, use $XDG_DATA_HOME/syncthing.
+    If ~/.local/share/syncthing exists, use that location.
+    Use the old default location.
+
+-------------------------------------------------------------------

Old:
----
  syncthing-source-v1.4.2.tar.gz
  syncthing-source-v1.4.2.tar.gz.asc

New:
----
  syncthing-source-v1.8.0.tar.gz
  syncthing-source-v1.8.0.tar.gz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ syncthing.spec ++++++
--- /var/tmp/diff_new_pack.Ms8kSy/_old  2020-08-19 18:56:02.343822159 +0200
+++ /var/tmp/diff_new_pack.Ms8kSy/_new  2020-08-19 18:56:02.347822161 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           syncthing
-Version:        1.4.2
+Version:        1.8.0
 Release:        0
 Summary:        Continuous File Synchronisation
 License:        MPL-2.0
@@ -51,31 +51,32 @@
 %setup -q -n %{name}
 
 %build
-export BUILD_USER=abuild
-export BUILD_HOST=openSUSE
-mkdir -p build/src/ build/vendor/
-export GOPATH="$PWD/build:$PWD/build/vendor"
-
-mkdir -p build/src/github.com/%{name}/%{name}
-ls | sed '/^build$/d' | xargs cp -at build/src/github.com/%{name}/%{name}
-cp -a vendor build/vendor/src
+# move source archive which is extracted as "syncthing" to be 
"src/github.com/syncthing/syncthing"
+cd ..
+install -d "src/github.com/syncthing/"
+mv %{name} "src/github.com/syncthing/"%{name}
+mkdir syncthing
+cd "$PWD/src/github.com/syncthing/"%{name}
+
+# set build environment, in particular use "-mod=vendor" to use the Go modules 
from the source archive's vendor dir
+export BUILD_USER=abuild BUILD_HOST=openSUSE
+export CGO_CPPFLAGS="${CPPFLAGS}" CGO_CFLAGS="${CFLAGS}" 
CGO_CXXFLAGS="${CXXFLAGS}" CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-trimpath -mod=vendor"
 
-pushd build/src/github.com/%{name}/%{name}/
 # build and install stcli which has no dedicated target and can not be built 
with -no-upgrade
 go run build.go -version v%{version} install all
 # build and install syncthing without automatic updates
 go run build.go -no-upgrade -version v%{version} install
 # build and install strelaysrv without automatic updates
 go run build.go -no-upgrade -version v%{version} install strelaysrv
-popd
 
 %install
-install -Dpm 0755 build/src/github.com/%{name}/%{name}/bin/%{name} \
-  %{buildroot}%{_bindir}/%{name}
-install -Dpm 0755 build/src/github.com/%{name}/%{name}/bin/stcli \
-  %{buildroot}%{_bindir}/stcli
-install -Dpm 0755 build/src/github.com/%{name}/%{name}/bin/strelaysrv \
-  %{buildroot}%{_bindir}/strelaysrv
+st_dir=$PWD
+cd ../src/github.com/syncthing/%{name}
+mv LICENSE AUTHORS CONDUCT.md CONTRIBUTING.md README.md "$st_dir"
+install -Dpm 0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
+install -Dpm 0755 bin/stcli %{buildroot}%{_bindir}/stcli
+install -Dpm 0755 bin/strelaysrv %{buildroot}%{_bindir}/strelaysrv
 install -dm 0750 %{buildroot}/%{_localstatedir}/lib/strelaysrv
 install -Dpm 0644 cmd/strelaysrv/etc/linux-systemd/strelaysrv.service \
   %{buildroot}%{_unitdir}/strelaysrv.service

++++++ syncthing-source-v1.4.2.tar.gz -> syncthing-source-v1.8.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/syncthing/syncthing-source-v1.4.2.tar.gz 
/work/SRC/openSUSE:Factory/.syncthing.new.3399/syncthing-source-v1.8.0.tar.gz 
differ: char 5, line 1


Reply via email to