The package rpms/rust-dlib0.4.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-dlib0.4.git/commit/?id=1f9a6dd3....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 1f9a6dd36638385d704d67da790e221032efd215 Author: Fabio Valentini decathorpe@gmail.com Date: Mon May 24 11:53:10 2021 +0200
initial import (dlib 0.4 compat package)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..07948ae --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/results_*/ +/*.src.rpm + +/dlib-0.4.2.crate diff --git a/README.md b/README.md deleted file mode 100644 index 24d122d..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-dlib0.4 - -The rust-dlib0.4 package diff --git a/rust-dlib0.4.spec b/rust-dlib0.4.spec new file mode 100644 index 0000000..ea6f4ec --- /dev/null +++ b/rust-dlib0.4.spec @@ -0,0 +1,87 @@ +# Generated by rust2rpm 17 +%bcond_without check +%global debug_package %{nil} + +%global crate dlib + +Name: rust-%{crate}0.4 +Version: 0.4.2 +Release: 1%{?dist} +Summary: Helper macros for handling manually loading optional system libraries + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/dlib +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Helper macros for handling manually loading optional system libraries.} + +%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.txt +%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 + +%package -n %{name}+dlopen-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+dlopen-devel %{_description} + +This package contains library source intended for building other packages +which use "dlopen" feature of "%{crate}" crate. + +%files -n %{name}+dlopen-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 +* Fri May 21 2021 Fabio Valentini decathorpe@gmail.com - 0.4.2-1 +- Initial compat package for dlib 0.4 diff --git a/sources b/sources new file mode 100644 index 0000000..7145262 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (dlib-0.4.2.crate) = 45dbdab9cd4b633f8217e26ef47fcef8f992f7856c7cde413afa95c90dd565a1c09677888dfef8b96a3373b4988bbf7fba91dca2e820baa9f41f96f8ba2eff6d
arch-excludes@lists.fedoraproject.org