The package rpms/rust-minimp3-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-minimp3-sys.git/commit/?id=2....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 209ec7012efbc7eabc2ec1eba61e29818e64a83e
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Wed Jul 7 23:58:48 2021 -0400
Initial import
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e49c7ed
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/minimp3-sys-0.3.2.crate
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..9403f99
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2018 German Gomez Bajo
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/rust-minimp3-sys.spec b/rust-minimp3-sys.spec
new file mode 100644
index 0000000..91c1699
--- /dev/null
+++ b/rust-minimp3-sys.spec
@@ -0,0 +1,85 @@
+# Generated by rust2rpm 17
+# Deactivate tests as there are missing files
+#
https://github.com/germangb/minimp3-rs/issues/35
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate minimp3-sys
+
+Name: rust-%{crate}
+Version: 0.3.2
+Release: 1%{?dist}
+Summary: Rust bindings for the minimp3 library
+
+# Upstream license specification: MIT
+License: MIT and CC0
+URL:
https://crates.io/crates/minimp3-sys
+Source: %{crates_source}
+# Download license file
+#
https://github.com/germangb/minimp3-rs/issues/34
+Source1:
https://raw.githubusercontent.com/germangb/minimp3-rs/master/LICENSE
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+Provides: bundled(minimp3) = 0-0.1.2010704gitef9e212
+
+%global _description %{expand:
+Rust bindings for the minimp3 library.}
+
+%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
+%license LICENSE LICENSE-minimp3
+%doc README.md README-minimp3.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
+cp %{SOURCE1} LICENSE
+mv -v minimp3/README.md README-minimp3.md
+mv -v minimp3/LICENSE LICENSE-minimp3
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Fri Jun 25 23:33:35 EDT 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.3.2-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..f5a95c5
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (minimp3-sys-0.3.2.crate) =
7e8443b6b6b51d3a3696092ce4512f020be8922aad55e8de44e5d3469cce9949843b24210c741091dd89d909c31d8bfb59e3ac385abaca9e3ef60b07a0cce856