diff --git a/_service b/_service
index a6f3f8b..abc2055 100644
--- a/_service
+++ b/_service
@@ -3,7 +3,7 @@
https://github.com/eqrion/cbindgen.git
@PARENT_TAG@+git@TAG_OFFSET@
git
- v0.24.3
+ v0.26.0
*
v(\d+\.\d+\.\d+)
\1
@@ -13,16 +13,15 @@
*.tar
- xz
+ zst
-
+
cbindgen
- xz
+ zst
true
cbindgen
- Cargo.lock
-
+
diff --git a/_servicedata b/_servicedata
new file mode 100644
index 0000000..750c0a2
--- /dev/null
+++ b/_servicedata
@@ -0,0 +1,4 @@
+
+
+ https://github.com/eqrion/cbindgen.git
+ 703b53c06f9fe2dbc0193d67626558cfa84a0f62
\ No newline at end of file
diff --git a/cbindgen-0.24.3+git0.tar.xz b/cbindgen-0.24.3+git0.tar.xz
deleted file mode 100644
index 558c8b9..0000000
--- a/cbindgen-0.24.3+git0.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4cb2659fff0d94239387bb768098fda8e74cf06cdf4d2ba65170afb569bbb1e4
-size 155912
diff --git a/cbindgen-0.26.0+git0.tar.zst b/cbindgen-0.26.0+git0.tar.zst
new file mode 100644
index 0000000..20636fe
--- /dev/null
+++ b/cbindgen-0.26.0+git0.tar.zst
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:db97b976c1bd4f66f31b2acaf40fb926e48d8815f5d897e9d625813a8248b289
+size 179065
diff --git a/rust-cbindgen.changes b/rust-cbindgen.changes
index 0869ea3..c530ac2 100644
--- a/rust-cbindgen.changes
+++ b/rust-cbindgen.changes
@@ -1,3 +1,53 @@
+-------------------------------------------------------------------
+Wed Sep 13 23:31:17 UTC 2023 - william.brown@suse.com
+
+- Update to version 0.26.0+git0:
+ * v0.26.0
+ * Update MSRV in Readme
+ * Add support for out-of-line bitfields declarations
+ * Update URLs
+ * Bump clippy msrv to 1.64
+ * Handle bitflags bits method calls
+ * CHANGES: Note #[deprecated] support.
+ * utilities: annotation: Clean-up deprecated parsing and getter.
+ * Add support for #[deprecated].
+ * Support "C-unwind" ABI
+
+-------------------------------------------------------------------
+Mon Sep 04 23:21:09 UTC 2023 - william.brown@suse.com
+
+- Update to version 0.25.0+git0:
+ * Fix minimal Rust version in CI
+ * Revert "Upgrade clap 3 to clap 4"
+ * Fix clippy warning
+ * Fix CI
+ * Update changelog for v0.25.0
+ * CI: Replace forbidden actions with cli code
+ * CI: Add semver checks to CI deploy job
+ * msrv 1.64
+ * Upgrade clap 3 to clap 4
+ * Add: Add rust-toolchain.toml
+
+-------------------------------------------------------------------
+Tue Jul 11 04:12:33 UTC 2023 - William Brown
+
+- Automatic update of vendored dependencies
+
+-------------------------------------------------------------------
+Tue Jul 11 03:53:57 UTC 2023 - william.brown@suse.com
+
+- Update to version 0.24.3+git0:
+ * Bump version.
+ * tests: Add a test for struct constants going through typedefs.
+ * bindings: Peel through typedefs for struct constant generation.
+ * Rustfmt recent changes.
+ * Version bump.
+ * bitflags: Be explicit in binary operators and such.
+ * Version bump.
+ * constant: Add support for unary negation.
+ * bitflags: Make more operations constexpr.
+ * Fix changelog typo.
+
-------------------------------------------------------------------
Wed Jul 27 07:30:01 UTC 2022 - wolfgang@rosenauer.org
diff --git a/rust-cbindgen.spec b/rust-cbindgen.spec
index 1eb5cbd..0feb22c 100644
--- a/rust-cbindgen.spec
+++ b/rust-cbindgen.spec
@@ -1,7 +1,7 @@
#
# spec file
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,18 +20,19 @@
%global crate_name cbindgen
%global rustflags -Clink-arg=-Wl,-z,relro,-z,now
Name: rust-%{crate_name}
-Version: 0.24.3+git0
+Version: 0.26.0+git0
Release: 0
Summary: A tool for generating C bindings from Rust code
License: MPL-2.0
Group: Development/Languages/Rust
URL: https://crates.io/crates/cbindgen
-Source0: %{crate_name}-%{version}.tar.xz
-Source1: vendor.tar.xz
+Source0: %{crate_name}-%{version}.tar.zst
+Source1: vendor.tar.zst
Source2: cargo_config
Source99: UPDATING.md
-BuildRequires: cargo >= 1.30.0
-BuildRequires: rust >= 1.30.0
+BuildRequires: cargo >= 1.70.0
+BuildRequires: cargo-packaging
+BuildRequires: rust >= 1.70.0
%description
A tool for generating C bindings from Rust code.
@@ -39,32 +40,17 @@ A tool for generating C bindings from Rust code.
%prep
%setup -q -T -b 0 -n %{crate_name}-%{version}
%setup -q -D -T -a 1 -n %{crate_name}-%{version}
-mkdir cargo-home
-cp %{SOURCE2} cargo-home/config
+install -D -m 644 %{SOURCE2} .cargo/config
%build
-# This should eventually migrate to distro policy
-# Enable optimization, debuginfo, and link hardening.
-export RUSTFLAGS="%{rustflags}"
-export CARGO_HOME=`pwd`/cargo-home/
-
-cargo build --release
+%{cargo_build}
%install
-# rustflags must be exported again at install as cargo build will
-# rebuild the project if it detects flags have changed (to none or other)
-export RUSTFLAGS="%{rustflags}"
-# install stage also requires re-export of 'cargo-home' or cargo
-# will try to download source deps and rebuild
-export CARGO_HOME=`pwd`/cargo-home/
-# cargo install appends /bin to the path
-cargo install --root=%{buildroot}%{_prefix} --path .
-# remove spurious files
-rm -f %{buildroot}%{_prefix}/.crates.toml
-rm -f %{buildroot}%{_prefix}/.crates2.json
+install -D -d -m 0755 %{buildroot}%{_bindir}
+install -m 0755 %{_builddir}/%{crate_name}-%{version}/target/release/%{crate_name} %{buildroot}%{_bindir}/%{crate_name}
%files
%license LICENSE
-%{_bindir}/cbindgen
+%{_bindir}/%{crate_name}
%changelog
diff --git a/vendor.tar.xz b/vendor.tar.xz
deleted file mode 100644
index b8f67ed..0000000
--- a/vendor.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0c88f8f28bee348e1bfdf84d62914ef22609ed96395181ee751d90d1ccb06538
-size 5678688
diff --git a/vendor.tar.zst b/vendor.tar.zst
new file mode 100644
index 0000000..8f5c46f
--- /dev/null
+++ b/vendor.tar.zst
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a2c1946bdf39829389145b02f8a43c30a45e56e6a2a6e47ac45508b486603521
+size 11555407