The package rpms/rust-glutin_egl_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_egl_sys.git/commit/?i....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 4d31f8d23fc7e6cae46698c009d989de8a3e50ae
Author: returntrip <stefano(a)figura.im>
Date: Mon Jun 29 23:39:56 2020 +0200
Initial import (#1850097).
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..fc18919
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/glutin_egl_sys-0.1.4.crate
diff --git a/glutin_egl_sys-fix-metadata.diff b/glutin_egl_sys-fix-metadata.diff
new file mode 100644
index 0000000..27c2946
--- /dev/null
+++ b/glutin_egl_sys-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- glutin_egl_sys-0.1.4/Cargo.toml 2019-11-15T01:50:46+00:00
++++ glutin_egl_sys-0.1.4/Cargo.toml 2020-06-23T14:17:10.296016+00:00
+@@ -21,7 +21,4 @@
+ license = "Apache-2.0"
+ repository = "https://github.com/rust-windowing/glutin"
+ [build-dependencies.gl_generator]
+-version = "0.13"
+-[target."cfg(target_os = \"windows\")".dependencies.winapi]
+-version = "0.3"
+-features = ["winnt", "winuser", "wingdi",
"libloaderapi"]
++version = "0.14"
diff --git a/rust-glutin_egl_sys.spec b/rust-glutin_egl_sys.spec
new file mode 100644
index 0000000..66481af
--- /dev/null
+++ b/rust-glutin_egl_sys.spec
@@ -0,0 +1,79 @@
+# Generated by rust2rpm 13
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate glutin_egl_sys
+
+Name: rust-%{crate}
+Version: 0.1.4
+Release: 1%{?dist}
+Summary: Egl 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_egl_sys
+Source: %{crates_source}
+# Initial patched metadata
+# Bump gl_generator dep to version 0.13 and remove Windows target
+#
https://github.com/rust-windowing/glutin/pull/1312
+Patch0: glutin_egl_sys-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Egl 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
+* Tue Jun 23 16:17:10 CEST 2020 returntrip <stefano(a)figura.im> - 0.1.4-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..ef6f52d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (glutin_egl_sys-0.1.4.crate) =
eb6ac040a43758c1f35f5b7245064a2e32491b627b561e5a78bb2e6c4d004b9325a672ca0f62de71356c607a492355c04a088745c5971a6ba0cf03c171ce6e42