The package rpms/rust-xkbcommon.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-xkbcommon.git/commit/?id=61d....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 0f05dd4a716b7f932e532844e6d8d1211c7aeb27
Author: Aleksei Bavshin <alebastr(a)fedoraproject.org>
Date: Wed Dec 20 20:59:58 2023 -0800
Update to 0.7.0 (rhbz#2251774)
diff --git a/.gitignore b/.gitignore
index e55b709..b8b03fd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/xkbcommon-0.4.0.crate
+/xkbcommon-0.7.0.crate
diff --git a/rust-xkbcommon.spec b/rust-xkbcommon.spec
index 71ee36f..483018a 100644
--- a/rust-xkbcommon.spec
+++ b/rust-xkbcommon.spec
@@ -1,11 +1,11 @@
-# Generated by rust2rpm 24
+# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate xkbcommon
Name: rust-xkbcommon
-Version: 0.4.0
+Version: 0.7.0
Release: %autorelease
Summary: Rust bindings and wrappers for libxkbcommon
@@ -13,10 +13,11 @@ License: MIT
URL:
https://crates.io/crates/xkbcommon
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
-# * drop unused x11 feature (missing dependencies)
+# * Update memmap2 to 0.9.0
+# * Drop "quick-evdev" example due to unpackaged "evdev" crate
Patch: xkbcommon-fix-metadata.diff
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Rust bindings and wrappers for libxkbcommon.}
@@ -50,16 +51,28 @@ use the "default" feature of the "%{crate}"
crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+memmap-devel
+%package -n %{name}+as-raw-xcb-connection-devel
Summary: %{summary}
BuildArch: noarch
-%description -n %{name}+memmap-devel %{_description}
+%description -n %{name}+as-raw-xcb-connection-devel %{_description}
This package contains library source intended for building other packages which
-use the "memmap" feature of the "%{crate}" crate.
+use the "as-raw-xcb-connection" feature of the "%{crate}" crate.
-%files -n %{name}+memmap-devel
+%files -n %{name}+as-raw-xcb-connection-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+memmap2-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+memmap2-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "memmap2" feature of the "%{crate}" crate.
+
+%files -n %{name}+memmap2-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+wayland-devel
@@ -74,9 +87,23 @@ use the "wayland" feature of the "%{crate}" crate.
%files -n %{name}+wayland-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+x11-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+x11-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "x11" feature of the "%{crate}" crate.
+
+%files -n %{name}+x11-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
%cargo_prep
+# requires unpackaged dependency "evdev"
+rm -f examples/quick-evdev.rs
%generate_buildrequires
%cargo_generate_buildrequires
diff --git a/rust2rpm.conf b/rust2rpm.conf
deleted file mode 100644
index 4bdff6b..0000000
--- a/rust2rpm.conf
+++ /dev/null
@@ -1,5 +0,0 @@
-[DEFAULT]
-buildrequires =
- libxkbcommon-devel
-lib.requires =
- libxkbcommon-devel
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..86585dc
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,3 @@
+[requires]
+build = ["libxkbcommon-devel"]
+lib = ["libxkbcommon-devel"]
diff --git a/sources b/sources
index 81757c1..f4f28dd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xkbcommon-0.4.0.crate) =
968dba8b059de25219cab2416aaa696cd937013cdbad33e77007f1ba64ff0d393dc6c6ba9ac9991292837a1e69af99fedbeeb46b8320b1d3906e8cb7a24ec372
+SHA512 (xkbcommon-0.7.0.crate) =
490b86c89bc9287b45a5c14ebc3f81144a08ffde9c3169f252ae92d77e65a968247758ea40562fdc696705c005fe7c03bec60eafd369ef6f11572f0434d0c8a5
diff --git a/xkbcommon-fix-metadata.diff b/xkbcommon-fix-metadata.diff
index 1f73041..8ffdbc3 100644
--- a/xkbcommon-fix-metadata.diff
+++ b/xkbcommon-fix-metadata.diff
@@ -1,14 +1,29 @@
---- xkbcommon-0.4.0/Cargo.toml 1970-01-01T00:00:00+00:00
-+++ xkbcommon-0.4.0/Cargo.toml 2023-08-05T22:25:58.509789+00:00
-@@ -27,11 +27,5 @@
- version = "0.7"
+--- xkbcommon-0.7.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ xkbcommon-0.7.0/Cargo.toml 2023-12-18T19:06:12.039478+00:00
+@@ -29,9 +29,6 @@
+ [package.metadata.docs.rs]
+ all-features = true
+
+-[[example]]
+-name = "quick-evdev"
+-
+ [dependencies.as-raw-xcb-connection]
+ version = "1.0"
optional = true
+@@ -40,15 +37,12 @@
+ version = "0.2.148"
+
+ [dependencies.memmap2]
+-version = "0.8.0"
++version = "0.9.0"
+ optional = true
+
+ [dependencies.xkeysym]
+ version = "0.2.0"
--[dependencies.xcb]
--version = "0.8"
--features = ["xkb"]
--optional = true
+-[dev-dependencies.evdev]
+-version = "0.11.4"
-
[features]
- wayland = ["memmap"]
--x11 = ["xcb"]
+ default = ["wayland"]
+ wayland = ["memmap2"]
commit 61de122c2f78b94dc533039b576e71f93e1eefca
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sun Aug 6 00:26:57 2023 +0200
Regenerate with rust2rpm v24
diff --git a/README.md b/README.md
deleted file mode 100644
index 4c6e166..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-xkbcommon
-
-The rust-xkbcommon package
\ No newline at end of file
diff --git a/rust-xkbcommon.spec b/rust-xkbcommon.spec
index 09cb73a..71ee36f 100644
--- a/rust-xkbcommon.spec
+++ b/rust-xkbcommon.spec
@@ -1,25 +1,22 @@
-# Generated by rust2rpm 20
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate xkbcommon
-Name: rust-%{crate}
+Name: rust-xkbcommon
Version: 0.4.0
Release: %autorelease
Summary: Rust bindings and wrappers for libxkbcommon
-# Upstream license specification: MIT
License: MIT
URL:
https://crates.io/crates/xkbcommon
Source: %{crates_source}
-# Initial patched metadata
+# Manually created patch for downstream crate metadata changes
# * drop unused x11 feature (missing dependencies)
-Patch0: xkbcommon-fix-metadata.diff
+Patch: xkbcommon-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Rust bindings and wrappers for libxkbcommon.}
@@ -37,9 +34,9 @@ This package contains library source intended for building other
packages which
use the "%{crate}" crate.
%files devel
-%license LICENSE
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -51,7 +48,7 @@ This package contains library source intended for building other
packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+memmap-devel
Summary: %{summary}
@@ -63,7 +60,7 @@ This package contains library source intended for building other
packages which
use the "memmap" feature of the "%{crate}" crate.
%files -n %{name}+memmap-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+wayland-devel
Summary: %{summary}
@@ -75,7 +72,7 @@ This package contains library source intended for building other
packages which
use the "wayland" feature of the "%{crate}" crate.
%files -n %{name}+wayland-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/.rust2rpm.conf b/rust2rpm.conf
similarity index 100%
rename from .rust2rpm.conf
rename to rust2rpm.conf
diff --git a/xkbcommon-fix-metadata.diff b/xkbcommon-fix-metadata.diff
index 4f83588..1f73041 100644
--- a/xkbcommon-fix-metadata.diff
+++ b/xkbcommon-fix-metadata.diff
@@ -1,5 +1,5 @@
--- xkbcommon-0.4.0/Cargo.toml 1970-01-01T00:00:00+00:00
-+++ xkbcommon-0.4.0/Cargo.toml 2022-01-25T22:12:41.837261+00:00
++++ xkbcommon-0.4.0/Cargo.toml 2023-08-05T22:25:58.509789+00:00
@@ -27,11 +27,5 @@
version = "0.7"
optional = true
commit da1026aa28a8370c8c1623cc55f8d3f72c5f81ef
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sun Aug 6 00:24:52 2023 +0200
Convert to %autorelease and %autochangelog
[skip changelog]
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..80c4c03
--- /dev/null
+++ b/changelog
@@ -0,0 +1,32 @@
+* Sat Jul 22 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.0-11
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
+
+* Sat Jan 21 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.0-10
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
+* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.0-9
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Tue Jan 25 2022 Fabio Valentini <decathorpe(a)gmail.com> - 0.4.0-8
+- Drop unused x11 feature (missing dependencies).
+
+* Sat Jan 22 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.0-7
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.0-6
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.0-5
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.0-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Thu Mar 26 07:13:49 CET 2020 Igor Raits <ignatenkobrain(a)fedoraproject.org> -
0.4.0-3
+- Add missing Requires
+
+* Tue Mar 24 11:28:00 PST 2020 Nikhil Jha - 0.4.0-2
+- Add license to package
+
+* Thu Feb 27 17:19:14 PST 2020 Nikhil Jha - 0.4.0-1
+- Initial package
diff --git a/rust-xkbcommon.spec b/rust-xkbcommon.spec
index e58de06..09cb73a 100644
--- a/rust-xkbcommon.spec
+++ b/rust-xkbcommon.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.4.0
-Release: 11%{?dist}
+Release: %autorelease
Summary: Rust bindings and wrappers for libxkbcommon
# Upstream license specification: MIT
@@ -97,35 +97,4 @@ echo 'libxkbcommon-devel'
%endif
%changelog
-* Sat Jul 22 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.0-11
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
-
-* Sat Jan 21 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.0-10
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
-
-* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.0-9
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Tue Jan 25 2022 Fabio Valentini <decathorpe(a)gmail.com> - 0.4.0-8
-- Drop unused x11 feature (missing dependencies).
-
-* Sat Jan 22 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.0-7
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.0-6
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.0-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.0-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Thu Mar 26 07:13:49 CET 2020 Igor Raits <ignatenkobrain(a)fedoraproject.org> -
0.4.0-3
-- Add missing Requires
-
-* Tue Mar 24 11:28:00 PST 2020 Nikhil Jha - 0.4.0-2
-- Add license to package
-
-* Thu Feb 27 17:19:14 PST 2020 Nikhil Jha - 0.4.0-1
-- Initial package
+%autochangelog
commit 7ccd7b498caf9834e56bf50b45130d17e02850b8
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jul 22 00:46:29 2023 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/rust-xkbcommon.spec b/rust-xkbcommon.spec
index b457e59..e58de06 100644
--- a/rust-xkbcommon.spec
+++ b/rust-xkbcommon.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.4.0
-Release: 10%{?dist}
+Release: 11%{?dist}
Summary: Rust bindings and wrappers for libxkbcommon
# Upstream license specification: MIT
@@ -97,6 +97,9 @@ echo 'libxkbcommon-devel'
%endif
%changelog
+* Sat Jul 22 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.0-11
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
+
* Sat Jan 21 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.0-10
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild