diff --git a/_service b/_service
index 323172e..f0ec61a 100644
--- a/_service
+++ b/_service
@@ -4,7 +4,7 @@
@PARENT_TAG@
v(.*)
git
- v2.2
+ v3
rust
enable
package/agama-cli.changes
diff --git a/agama-cli.changes b/agama-cli.changes
index 2719a56..61759ec 100644
--- a/agama-cli.changes
+++ b/agama-cli.changes
@@ -1,3 +1,71 @@
+-------------------------------------------------------------------
+Wed Aug 2 10:03:18 UTC 2023 - Imobach Gonzalez Sosa
+
+- Version 3
+
+-------------------------------------------------------------------
+Wed Jul 26 11:08:09 UTC 2023 - Josef Reidinger
+
+- CLI: add to "questions" command "answers" subcommand to set
+ file with predefined answers
+- dbus-server: add "AddAnswersFile" method to Questions service
+ (gh#openSUSE/agama#669)
+
+-------------------------------------------------------------------
+Tue Jul 18 13:32:04 UTC 2023 - Josef Reidinger
+
+- Add to CLI "questions" subcommand with mode option to set
+ interactive and non-interactive mode (gh#openSUSE/agama#668)
+
+-------------------------------------------------------------------
+Mon Jul 17 13:36:56 UTC 2023 - Imobach Gonzalez Sosa
+
+- Fix the logic to decide which network connections to write
+ due to a bug introduced in gh#openSUSE/agama#662
+ (gh#openSUSE/agama#667).
+
+-------------------------------------------------------------------
+Mon Jul 17 09:16:38 UTC 2023 - Josef Reidinger
+
+- Adapt to new questions D-Bus API to allow automatic answering of
+ questions when requested (gh#openSUSE/agama#637, reverts
+ gh#openSUSE/agama#649 as now default option is mandatory)
+
+-------------------------------------------------------------------
+Thu Jul 13 10:22:36 UTC 2023 - Imobach Gonzalez Sosa
+
+- Improve error reporting in the command-line interface
+ (gh#openSUSE/agama#659 and gh#openSUSE/agama#660).
+
+-------------------------------------------------------------------
+Thu Jul 13 08:56:40 UTC 2023 - José Iván López González
+
+- Read the storage candidate devices and show them with
+ "agama config show" (gh#openSUSE/agama#658).
+
+-------------------------------------------------------------------
+Fri Jul 7 14:12:03 UTC 2023 - Imobach Gonzalez Sosa
+
+- Improve the progress reporting (gh#openSUSE/agama#653).
+
+-------------------------------------------------------------------
+Thu Jul 6 09:13:47 UTC 2023 - Imobach Gonzalez Sosa
+
+- Improve the waiting logic and implement a retry mechanism for the
+ "agama install" command (bsc#1213047).
+
+-------------------------------------------------------------------
+Wed Jul 5 11:11:20 UTC 2023 - Imobach Gonzalez Sosa
+
+- Fix the questions service to handle questions with no default
+ option (gh#openSUSE/agama#649).
+
+-------------------------------------------------------------------
+Thu Jun 1 08:14:14 UTC 2023 - Imobach Gonzalez Sosa
+
+- Add a localization D-Bus service (gh#openSUSE/agama#533).
+- Add a network D-Bus service (gh#openSUSE/agama#571).
+
-------------------------------------------------------------------
Tue May 23 11:51:26 UTC 2023 - Martin Vidner
diff --git a/agama-cli.spec b/agama-cli.spec
index 899dbe5..bb291c9 100644
--- a/agama-cli.spec
+++ b/agama-cli.spec
@@ -24,19 +24,35 @@ Summary: Agama command line interface
# If you know the license, put it's SPDX string here.
# Alternately, you can use cargo lock2rpmprovides to help generate this.
License: GPL-2.0-only
-URL: https://github.com/yast/agama-cli
+URL: https://github.com/opensuse/agama
Source0: agama.tar
Source1: vendor.tar.zst
# Generated by the cargo_vendor OBS service
Source2: cargo_config
BuildRequires: cargo-packaging
BuildRequires: pkgconfig(openssl)
+# used in tests for dbus service
+BuildRequires: python-langtable-data
+BuildRequires: dbus-1-common
Requires: jsonnet
Requires: lshw
%description
Command line program to interact with the agama service.
+%package -n agama-dbus-server
+# This will be set by osc services, that will run after this.
+Version: 0
+Release: 0
+Summary: Agama Rust D-Bus service
+License: GPL-2.0-only
+URL: https://github.com/opensuse/agama
+Requires: dbus-1-common
+Requires: python-langtable-data
+
+%description -n agama-dbus-server
+DBus service for agama project. It provides so far localization service.
+
%prep
%autosetup -a1 -n agama
mkdir .cargo
@@ -50,8 +66,11 @@ cp %{SOURCE2} .cargo/config
%install
install -D -d -m 0755 %{buildroot}%{_bindir}
install -m 0755 %{_builddir}/agama/target/release/agama %{buildroot}%{_bindir}/agama
+install -m 0755 %{_builddir}/agama/target/release/agama-dbus-server %{buildroot}%{_bindir}/agama-dbus-server
install -D -d -m 0755 %{buildroot}%{_datadir}/agama-cli
install -m 0644 %{_builddir}/agama/agama-lib/share/profile.schema.json %{buildroot}%{_datadir}/agama-cli
+install --directory %{buildroot}%{_datadir}/dbus-1/agama-services
+install -m 0644 --target-directory=%{buildroot}%{_datadir}/dbus-1/agama-services %{_builddir}/agama/share/*.service
%check
%{cargo_test}
@@ -61,4 +80,8 @@ install -m 0644 %{_builddir}/agama/agama-lib/share/profile.schema.json %{buildro
%dir %{_datadir}/agama-cli
%{_datadir}/agama-cli/profile.schema.json
+%files -n agama-dbus-server
+%{_bindir}/agama-dbus-server
+%{_datadir}/dbus-1/agama-services
+
%changelog
diff --git a/agama.obscpio b/agama.obscpio
index 5b73d4b..fb25a1c 100644
--- a/agama.obscpio
+++ b/agama.obscpio
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e691a91afbb2969ddf8422f81595b51c917c6b29030fae77780f5d9f12a68f8c
-size 166923
+oid sha256:e38fb076af15badcc8cee3a6f08e619bc956f2412eeb06d35955c69eb5507bde
+size 374795
diff --git a/agama.obsinfo b/agama.obsinfo
index db69faa..7791883 100644
--- a/agama.obsinfo
+++ b/agama.obsinfo
@@ -1,4 +1,4 @@
name: agama
-version: 2.2
-mtime: 1684927342
-commit: d34d68d7bc1af4d72bb4939ad9f5c9b4b0bb1bea
+version: 3
+mtime: 1690975129
+commit: c4422b4ff4be2f8aed87ff8225e14463616970fd
diff --git a/vendor.tar.zst b/vendor.tar.zst
index abe4c41..fa53d70 100644
--- a/vendor.tar.zst
+++ b/vendor.tar.zst
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:07f0562d6440b1465306666cf8a688bc03015a5c5e8c230932000ba0f968b7b0
-size 36630520
+oid sha256:cbc2ceee9c99c77f9266007e22cc38f856549a890fec6d52ae2b6f63e24a7675
+size 34582254