The package rpms/rust-glutin_glx_sys.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-glutin_glx_sys.git/commit/?id=c....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit c7e4981f73033be91ab418e675808dbc780a31a4 Author: returntrip stefano@figura.im Date: Tue Jun 30 00:30:31 2020 +0200
Initial import (#1850085).
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e58c2ee --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/glutin_glx_sys-0.1.6.crate diff --git a/glutin_glx_sys-fix-metadata.diff b/glutin_glx_sys-fix-metadata.diff new file mode 100644 index 0000000..19490ca --- /dev/null +++ b/glutin_glx_sys-fix-metadata.diff @@ -0,0 +1,11 @@ +diff '--color=auto' -ru glutin_glx_sys-0.1.6.orig/Cargo.toml glutin_glx_sys-0.1.6/Cargo.toml +--- glutin_glx_sys-0.1.6.orig/Cargo.toml 2020-01-29 11:03:31.000000000 +0100 ++++ glutin_glx_sys-0.1.6/Cargo.toml 2020-06-30 00:23:45.073727387 +0200 +@@ -21,6 +21,6 @@ + license = "Apache-2.0" + repository = "https://github.com/rust-windowing/glutin" + [build-dependencies.gl_generator] +-version = "0.13" ++version = "0.14" + [target."cfg(any(target_os = "linux", target_os = "freebsd", target_os="dragonfly", target_os="netbsd", target_os="openbsd"))".dependencies.x11-dl] + version = "2.18.3" diff --git a/rust-glutin_glx_sys.spec b/rust-glutin_glx_sys.spec new file mode 100644 index 0000000..21d3c8e --- /dev/null +++ b/rust-glutin_glx_sys.spec @@ -0,0 +1,79 @@ +# Generated by rust2rpm 13 +%bcond_without check +%global debug_package %{nil} + +%global crate glutin_glx_sys + +Name: rust-%{crate} +Version: 0.1.6 +Release: 1%{?dist} +Summary: Glx bindings for glutin + +# Upstream license specification: Apache-2.0 +# https://github.com/rust-windowing/glutin/pull/1311 +License: ASL 2.0 +URL: https://crates.io/crates/glutin_glx_sys +Source: %{crates_source} +# Initial patched metadata +# Bump gl_generator dep to version 0.14 +# https://github.com/rust-windowing/glutin/pull/1312 +Patch0: glutin_glx_sys-fix-metadata.diff + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Glx bindings for glutin.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages +which use "%{crate}" crate. + +%files devel +%doc README.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%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 "default" feature of "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Mon Jun 22 20:59:04 CEST 2020 returntrip stefano@figura.im - 0.1.6-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..ba9f455 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (glutin_glx_sys-0.1.6.crate) = 387774b25099ac9478329556ed39b745122b52b603a0955f3490dab21f30512e717ea09c19f862e50b2e18f677a7ed8965b4c0bfc1c7a39b1f66ec01409b7660
arch-excludes@lists.fedoraproject.org