commit 5e4ddcfbe647ed2bb6481d84978b7f1be465e059 Author: MSVSphere Packaging Team Date: Fri Dec 20 18:06:44 2024 +0300 import rust-wayland-client-0.31.7-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e158b1e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/wayland-client-0.31.7.crate diff --git a/.rust-wayland-client.metadata b/.rust-wayland-client.metadata new file mode 100644 index 0000000..1e72428 --- /dev/null +++ b/.rust-wayland-client.metadata @@ -0,0 +1 @@ +f0065eb0c66ab130df0ebe45b8d2ba8f497742d6 SOURCES/wayland-client-0.31.7.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..5bbcb28 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,5 @@ +[package] +cargo-toml-patch-comments = [ + "remove example code with undeclared wayland-protocols dependency", +] + diff --git a/SOURCES/wayland-client-fix-metadata.diff b/SOURCES/wayland-client-fix-metadata.diff new file mode 100644 index 0000000..e41c2f6 --- /dev/null +++ b/SOURCES/wayland-client-fix-metadata.diff @@ -0,0 +1,13 @@ +--- wayland-client-0.31.7/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ wayland-client-0.31.7/Cargo.toml 2024-10-26T21:39:41.916169+00:00 +@@ -53,10 +53,6 @@ + name = "list_globals_no_dispatch" + path = "examples/list_globals_no_dispatch.rs" + +-[[example]] +-name = "simple_window" +-path = "examples/simple_window.rs" +- + [dependencies.bitflags] + version = "2" + diff --git a/SPECS/rust-wayland-client.spec b/SPECS/rust-wayland-client.spec new file mode 100644 index 0000000..f5f23a2 --- /dev/null +++ b/SPECS/rust-wayland-client.spec @@ -0,0 +1,182 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate wayland-client + +Name: rust-wayland-client +Version: 0.31.7 +Release: %autorelease +Summary: Bindings to the standard C implementation of the wayland protocol, client side + +License: MIT +URL: https://crates.io/crates/wayland-client +Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * remove example code with undeclared wayland-protocols dependency +Patch: wayland-client-fix-metadata.diff + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Bindings to the standard C implementation of the wayland protocol, +client side.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE.txt +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+log-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+log-devel %{_description} + +This package contains library source intended for building other packages which +use the "log" feature of the "%{crate}" crate. + +%files -n %{name}+log-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.31.7-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Oct 26 2024 Aleksei Bavshin - 0.31.7-1 +- Update to 0.31.7 (rhbz#2321314) + +* Wed Sep 18 2024 Fabio Valentini - 0.31.6-1 +- Update to version 0.31.6; Fixes RHBZ#2309823 + +* Sun Aug 11 2024 Fabio Valentini - 0.31.5-1 +- Update to version 0.31.5; Fixes RHBZ#2295708 + +* Sat Jul 20 2024 Fedora Release Engineering - 0.31.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Jun 10 2024 Fabio Valentini - 0.31.3-1 +- Update to version 0.31.3; Fixes RHBZ#2284052 + +* Tue Jan 30 2024 Fabio Valentini - 0.31.2-1 +- Update to version 0.31.2; Fixes RHBZ#2260827 + +* Sat Jan 27 2024 Fedora Release Engineering - 0.31.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Dec 28 2023 Aleksei Bavshin - 0.31.1-1 +- Update to 0.31.1 (rhbz#2156601) + +* Sat Jul 22 2023 Fedora Release Engineering - 0.29.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Fedora Release Engineering - 0.29.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Dec 13 2022 Fabio Valentini - 0.29.5-1 +- Update to version 0.29.5; Fixes RHBZ#2121421 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.29.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Feb 25 2022 Zbigniew Jędrzejewski-Szmek - 0.29.4-1 +- Version 0.29.4 (rhbz#1985664) + +* Fri Feb 25 2022 Zbigniew Jędrzejewski-Szmek - 0.29.2-1 +- Version 0.29.2 (rhbz#1985664) + +* Sat Jan 22 2022 Fedora Release Engineering - 0.28.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.28.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon Jul 19 2021 Fabio Valentini - 0.28.6-1 +- Update to version 0.28.6; Fixes RHBZ#1977497 + +* Fri May 21 2021 Fabio Valentini - 0.28.5-1 +- Update to version 0.28.5. + +* Mon Mar 01 2021 Fabio Valentini - 0.28.4-1 +- Update to version 0.28.4. + +* Wed Jan 27 2021 Fedora Release Engineering - 0.28.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Dec 31 2020 Fabio Valentini - 0.28.3-1 +- Update to version 0.28.3. + +* Mon Nov 09 2020 Fabio Valentini - 0.28.2-1 +- Update to version 0.28.2. +- Fixes RHBZ#1895846 + +* Thu Oct 15 2020 Stefano Figura - 0.28.1-1 +- Update to version 0.28.1. + +* Sun Oct 04 2020 Fabio Valentini - 0.28.0-1 +- Update to version 0.28.0. + +* Wed Jul 29 2020 Fedora Release Engineering - 0.26.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jun 26 2020 Michel Alexandre Salim - 0.26.6-1 +- Update to 0.26.6 +- Package license and docs + +* Fri May 22 14:24:51 PDT 2020 Michel Alexandre Salim - 0.26.5-1 +- Initial package + +## END: Generated by rpmautospec