The package rpms/rust-libwebp-sys2.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-libwebp-sys2.git/commit/?id=....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 198dd65660f6f81abcc66f0a4c6fb5287cd0061c
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Fri Jun 18 19:32:49 2021 -0400
Initial import
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5540252
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/libwebp-sys2-0.1.2.crate
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..5d56ce0
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,11 @@
+Copyright 2018-2021 Masaki Hara
+
+Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this list of
conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice, this list of
conditions and the following disclaimer in the documentation and/or other materials
provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its contributors may be used
to endorse or promote products derived from this software without specific prior written
permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/rust-libwebp-sys2.spec b/rust-libwebp-sys2.spec
new file mode 100644
index 0000000..0c4fb95
--- /dev/null
+++ b/rust-libwebp-sys2.spec
@@ -0,0 +1,189 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate libwebp-sys2
+
+Name: rust-%{crate}
+Version: 0.1.2
+Release: 1%{?dist}
+Summary: Handwritten raw interface to libwebp
+
+# Upstream license specification: BSD-3-Clause
+License: BSD
+URL:
https://crates.io/crates/libwebp-sys2
+Source: %{crates_source}
+# Import license file
+#
https://github.com/qnighy/libwebp-sys2-rs/issues/8
+Source1:
https://raw.githubusercontent.com/qnighy/libwebp-sys2-rs/master/LICENSE
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Handwritten raw interface to libwebp.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+Requires: libwebp
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%doc README.md CHANGELOG.md
+%license LICENSE
+%{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
+
+%package -n %{name}+0_5-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+0_5-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "0_5" feature of "%{crate}" crate.
+
+%files -n %{name}+0_5-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+0_6-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+0_6-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "0_6" feature of "%{crate}" crate.
+
+%files -n %{name}+0_6-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+1_1-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+1_1-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "1_1" feature of "%{crate}" crate.
+
+%files -n %{name}+1_1-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+1_2-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+1_2-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "1_2" feature of "%{crate}" crate.
+
+%files -n %{name}+1_2-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+__doc_cfg-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+__doc_cfg-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "__doc_cfg" feature of "%{crate}" crate.
+
+%files -n %{name}+__doc_cfg-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+demux-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+demux-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "demux" feature of "%{crate}" crate.
+
+%files -n %{name}+demux-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+extern-types-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+extern-types-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "extern-types" feature of "%{crate}" crate.
+
+%files -n %{name}+extern-types-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+mux-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+mux-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "mux" feature of "%{crate}" crate.
+
+%files -n %{name}+mux-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+static-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+static-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "static" feature of "%{crate}" crate.
+
+%files -n %{name}+static-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+cp %{SOURCE1} LICENSE
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+echo "pkgconfig(libwebp)"
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Mon Jun 07 02:00:22 EDT 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.1.2-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..0f95567
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (libwebp-sys2-0.1.2.crate) =
e1f2f48dea9603901d8eed1dbc045d0e80e2655205d94ec613ec5392db87962e20196d95c866d18718f6bf0b0886ed7746da8af9c38a1448a7e6b7428389226d