The package rpms/rust-gvdb.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-gvdb.git/commit/?id=1284e76c....
Change:
-%ifnarch s390x
Thanks.
Full change:
============
commit 1284e76c4db00dbe17b6541e510a712616fff700
Author: Kalev Lember <klember(a)redhat.com>
Date: Wed Aug 30 12:22:22 2023 +0200
Update to 0.5.2 (rhbz#2235902)
- Drop test-data exclusion now that upstream has clarified the licensing
- Re-enable tests on s390x
diff --git a/.gitignore b/.gitignore
index 7eea039..5bda4d9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/gvdb-0.4.1.crate
/gvdb-0.5.1.crate
+/gvdb-0.5.2.crate
diff --git a/gvdb-fix-metadata.diff b/gvdb-fix-metadata.diff
deleted file mode 100644
index 086814e..0000000
--- a/gvdb-fix-metadata.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- gvdb-0.5.1/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ gvdb-0.5.1/Cargo.toml 2023-08-21T17:19:02.549007+00:00
-@@ -14,7 +14,7 @@
- rust-version = "1.65"
- name = "gvdb"
- version = "0.5.1"
--exclude = ["test/c"]
-+exclude = ["test/c", "test-data"]
- description = "Read and write GLib GVariant database files"
- readme = "README.md"
- keywords = [
diff --git a/rust-gvdb.spec b/rust-gvdb.spec
index f746cb4..befa43c 100644
--- a/rust-gvdb.spec
+++ b/rust-gvdb.spec
@@ -5,20 +5,13 @@
%global crate gvdb
Name: rust-gvdb
-Version: 0.5.1
+Version: 0.5.2
Release: %autorelease
Summary: Read and write GLib GVariant database files
License: MIT
URL:
https://crates.io/crates/gvdb
Source: %{crates_source}
-# Add missing LICENSE.md file from upstream
-#
https://github.com/felinira/gvdb-rs/pull/12
-Source1:
https://raw.githubusercontent.com/felinira/gvdb-rs/main/LICENSE.md
-# Manually created patch for downstream crate metadata changes
-# * Exclude test-data directory that has unclear licensing
-#
https://github.com/felinira/gvdb-rs/issues/11
-Patch: gvdb-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@@ -37,6 +30,7 @@ This package contains library source intended for building other
packages which
use the "%{crate}" crate.
%files devel
+%license %{crate_instdir}/LICENSE.Icons.md
%license %{crate_instdir}/LICENSE.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
@@ -91,8 +85,6 @@ use the "mmap" feature of the "%{crate}" crate.
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
-#
https://github.com/felinira/gvdb-rs/pull/12
-cp %{SOURCE1} .
%cargo_prep
%generate_buildrequires
@@ -105,12 +97,9 @@ cp %{SOURCE1} .
%cargo_install
%if %{with check}
-#
https://github.com/felinira/gvdb-rs/issues/13
-%ifnarch s390x
%check
%cargo_test
%endif
-%endif
%changelog
%autochangelog
diff --git a/sources b/sources
index 1deae66..e103c51 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gvdb-0.5.1.crate) =
95de76c0cecc63b4c5d91beff772e938ad04a0d26abf84a78d38c9f84d478471ce698983e904553985cbd97fa75ed30520f8e5f6749bf414b8dcdbb67222a731
+SHA512 (gvdb-0.5.2.crate) =
0eba602a7cdb2aee6e2abec2c72df454c1636d5c6cdc439c0744bd3b4e6ca55f2234bb534928d440408e3872dc43519202590634b35eb0308097521e4d954aba