commit ff31ebe799645ac786256fb82d27f967db6d4504 Author: MSVSphere Packaging Team Date: Fri Dec 20 16:59:48 2024 +0300 import rust-rustc-hash1-1.1.0-2.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8a35e90 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/rustc-hash-1.1.0.crate diff --git a/.rust-rustc-hash1.metadata b/.rust-rustc-hash1.metadata new file mode 100644 index 0000000..e7ea24a --- /dev/null +++ b/.rust-rustc-hash1.metadata @@ -0,0 +1 @@ +d787ac995dbe7c8059910fc43aa11446dc010e1c SOURCES/rustc-hash-1.1.0.crate diff --git a/SPECS/rust-rustc-hash1.spec b/SPECS/rust-rustc-hash1.spec new file mode 100644 index 0000000..8703fc1 --- /dev/null +++ b/SPECS/rust-rustc-hash1.spec @@ -0,0 +1,102 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.1) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 2; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate rustc-hash + +Name: rust-rustc-hash1 +Version: 1.1.0 +Release: %autorelease +Summary: Speed, non-cryptographic hash used in rustc + +# Upstream license specification: Apache-2.0/MIT +License: Apache-2.0 OR MIT +URL: https://crates.io/crates/rustc-hash +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Speed, non-cryptographic hash used in rustc.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CODE_OF_CONDUCT.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%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 the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 1.1.0-2 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sun Jul 07 2024 Fabio Valentini - 1.1.0-1 +- Initial import (rustc-hash 1 compat package) +## END: Generated by rpmautospec