diff --git a/_service b/_service
index 5df93ba..4afcb02 100644
--- a/_service
+++ b/_service
@@ -3,7 +3,7 @@
https://github.com/1player/host-spawn
git
.git
- 1.5.1
+ v1.6.0
@PARENT_TAG@
enable
(.*)
diff --git a/_servicedata b/_servicedata
index 46c4d1f..4022f18 100644
--- a/_servicedata
+++ b/_servicedata
@@ -1,4 +1,4 @@
https://github.com/1player/host-spawn
- d1b5a7092d604f8467bc57a5470c3e25969da196
\ No newline at end of file
+ e150d2cf98d93e08db9fba7a87cabc51a9c9e34a
\ No newline at end of file
diff --git a/host-spawn-1.5.1.tar.zst b/host-spawn-1.5.1.tar.zst
deleted file mode 100644
index b605e59..0000000
--- a/host-spawn-1.5.1.tar.zst
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:03d705a6cef864d514c9fbc8f4581766dce49d3df3d68e610e2e9d8c320bca00
-size 7142
diff --git a/host-spawn-v1.6.0.tar.zst b/host-spawn-v1.6.0.tar.zst
new file mode 100644
index 0000000..54425e9
--- /dev/null
+++ b/host-spawn-v1.6.0.tar.zst
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5e78be865f9f8742f5098abbf8a6093358633daa302f845346b85779defe8a61
+size 7001
diff --git a/host-spawn.changes b/host-spawn.changes
index d68e9d5..9fd5c6b 100644
--- a/host-spawn.changes
+++ b/host-spawn.changes
@@ -1,3 +1,10 @@
+-------------------------------------------------------------------
+Tue Jun 04 14:39:54 UTC 2024 - michal.vyskocil@gmail.com
+
+- Update to version v1.6.0:
+ * Add -cwd flag to change the working directory of the spawned process.
+ Thanks @someone13574.
+
-------------------------------------------------------------------
Sun Apr 28 03:08:16 UTC 2024 - jun wang
diff --git a/host-spawn.spec b/host-spawn.spec
index a4587f3..01c6737 100644
--- a/host-spawn.spec
+++ b/host-spawn.spec
@@ -17,21 +17,22 @@
Name: host-spawn
-Version: 1.5.1
+Version: 1.6.0
Release: 0
Summary: A reimplementation of flatpak-spawn --host
License: MIT-0
URL: https://github.com/1player/host-spawn
-Source0: %{name}-%{version}.tar.zst
+Source0: %{name}-v%{version}.tar.zst
Source1: vendor.tar.zst
-BuildRequires: zstd
+# Go packaging wiki suggests golang-packaging, but this does not work on 15.5
BuildRequires: golang(API) >= 1.18
+BuildRequires: zstd
%description
Run commands on your host machine from inside your flatpak sandbox, toolbox or distrobox containers.
%prep
-%autosetup -p1 -a1
+%autosetup -p1 -a1 -n %{name}-v%{version}
%build
# https://github.com/1player/host-spawn/blob/master/build.sh#L22
diff --git a/vendor.tar.zst b/vendor.tar.zst
index 07e66fa..d8d9e27 100644
--- a/vendor.tar.zst
+++ b/vendor.tar.zst
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:8946e8abc3a926026d89aaed808cdc4678b4bd6972b5c25a1942df7f30dc29ad
-size 642225
+oid sha256:4046b37943ac11b8dda74e6d6b14912417647a161a22a69f047d5134f02b522b
+size 350852