The package rpms/rust-cloudflare-zlib.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-cloudflare-zlib.git/commit/?id=... https://src.fedoraproject.org/cgit/rpms/rust-cloudflare-zlib.git/commit/?id=... https://src.fedoraproject.org/cgit/rpms/rust-cloudflare-zlib.git/commit/?id=....
Change: +ExclusiveArch: x86_64 +ExclusiveArch: x86_64 aarch64 +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit ffb68054391627f6b06a7d15f26c929da02d00cc Author: Rémi Lauzier remilauzier@protonmail.com Date: Mon Jun 14 12:08:57 2021 -0400
update comment
diff --git a/rust-cloudflare-zlib.spec b/rust-cloudflare-zlib.spec index 2c31d90..99429b0 100644 --- a/rust-cloudflare-zlib.spec +++ b/rust-cloudflare-zlib.spec @@ -14,7 +14,7 @@ License: MIT and zlib or ASL 2.0 and zlib URL: https://crates.io/crates/cloudflare-zlib Source: %{crates_source}
-# Remove aarch64 for now +# Remove aarch64 for now until rust arm detection is stable # https://gitlab.com/kornelski/cloudflare-zlib-sys/-/issues/2 ExclusiveArch: x86_64 %if %{__cargo_skip_build}
commit a565366b02ad85f08e78d1625099aad27c6008d6 Author: Rémi Lauzier remilauzier@protonmail.com Date: Mon Jun 7 13:19:57 2021 -0400
Repare error
diff --git a/rust-cloudflare-zlib.spec b/rust-cloudflare-zlib.spec index a931ddd..2c31d90 100644 --- a/rust-cloudflare-zlib.spec +++ b/rust-cloudflare-zlib.spec @@ -68,7 +68,7 @@ which use "arm-always" feature of "%{crate}" crate.
%package -n %{name}+arm-conditional-devel Summary: %{summary} -BuildArch: noarchhttps://gitlab.com/kornelski/cloudflare-zlib-sys/-/issues/2 +BuildArch: noarch
%description -n %{name}+arm-conditional-devel %{_description}
commit 0f5090a6fed0cd5e5cff45860f72e7e73570cc17 Author: Rémi Lauzier remilauzier@protonmail.com Date: Mon Jun 7 13:15:40 2021 -0400
Remove aarch64 for now
diff --git a/rust-cloudflare-zlib.spec b/rust-cloudflare-zlib.spec index 365b6cc..a931ddd 100644 --- a/rust-cloudflare-zlib.spec +++ b/rust-cloudflare-zlib.spec @@ -14,7 +14,9 @@ License: MIT and zlib or ASL 2.0 and zlib URL: https://crates.io/crates/cloudflare-zlib Source: %{crates_source}
-ExclusiveArch: x86_64 aarch64 +# Remove aarch64 for now +# https://gitlab.com/kornelski/cloudflare-zlib-sys/-/issues/2 +ExclusiveArch: x86_64 %if %{__cargo_skip_build} BuildArch: noarch %endif @@ -66,7 +68,7 @@ which use "arm-always" feature of "%{crate}" crate.
%package -n %{name}+arm-conditional-devel Summary: %{summary} -BuildArch: noarch +BuildArch: noarchhttps://gitlab.com/kornelski/cloudflare-zlib-sys/-/issues/2
%description -n %{name}+arm-conditional-devel %{_description}
commit 118d0dcd7762e4146e8824fd43edd6e133005efd Author: Rémi Lauzier remilauzier@protonmail.com Date: Mon Jun 7 13:02:26 2021 -0400
Upstream only support 64bit arm and intel cpu
diff --git a/rust-cloudflare-zlib.spec b/rust-cloudflare-zlib.spec index 6afe03c..365b6cc 100644 --- a/rust-cloudflare-zlib.spec +++ b/rust-cloudflare-zlib.spec @@ -14,7 +14,7 @@ License: MIT and zlib or ASL 2.0 and zlib URL: https://crates.io/crates/cloudflare-zlib Source: %{crates_source}
-ExclusiveArch: %{rust_arches} +ExclusiveArch: x86_64 aarch64 %if %{__cargo_skip_build} BuildArch: noarch %endif
commit 0409613fd2607099a22e67b34185dc919a778607 Author: Rémi Lauzier remilauzier@protonmail.com Date: Mon Jun 7 12:18:57 2021 -0400
Initial import
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..82a1a7d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/cloudflare-zlib-0.2.9.crate diff --git a/rust-cloudflare-zlib.spec b/rust-cloudflare-zlib.spec new file mode 100644 index 0000000..6afe03c --- /dev/null +++ b/rust-cloudflare-zlib.spec @@ -0,0 +1,112 @@ +# Generated by rust2rpm 17 +%bcond_without check +%global debug_package %{nil} + +%global crate cloudflare-zlib + +Name: rust-%{crate} +Version: 0.2.9 +Release: 1%{?dist} +Summary: Safe wrapper for Cloudflare's optimized zlib + +# Upstream license specification: MIT AND Zlib OR Apache-2.0 AND Zlib +License: MIT and zlib or ASL 2.0 and zlib +URL: https://crates.io/crates/cloudflare-zlib +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Safe wrapper for Cloudflare's optimized zlib.} + +%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 +%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}+arm-always-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+arm-always-devel %{_description} + +This package contains library source intended for building other packages +which use "arm-always" feature of "%{crate}" crate. + +%files -n %{name}+arm-always-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+arm-conditional-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+arm-conditional-devel %{_description} + +This package contains library source intended for building other packages +which use "arm-conditional" feature of "%{crate}" crate. + +%files -n %{name}+arm-conditional-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+asm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+asm-devel %{_description} + +This package contains library source intended for building other packages +which use "asm" feature of "%{crate}" crate. + +%files -n %{name}+asm-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep +sed -e '0,/^## License/d' README.md > LICENSE + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Mon May 31 16:48:54 EDT 2021 Rémi Lauzier remilauzier@protonmail.com - 0.2.9-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..3cb99e3 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (cloudflare-zlib-0.2.9.crate) = 05dd747e4a7b2ea999a3a155304d9a05782b49e6a5af8ce07374c48e4b3c4601250a0c02a3a10c795aa887101c12679bbdc0d5ea7b89c7dfe5325aa51b6a42ad