commit 1ee99ea596c7c1b1b4a8ea5bfd45d64d08c04682 Author: tigro Date: Tue Nov 21 13:19:47 2023 +0300 import rust-md-5-0.10.6-1.el9 diff --git a/.rust-md-5.metadata b/.rust-md-5.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/md-5-0.10.6.crate b/SOURCES/md-5-0.10.6.crate new file mode 100644 index 0000000..cdc3d21 Binary files /dev/null and b/SOURCES/md-5-0.10.6.crate differ diff --git a/SPECS/rust-md-5.spec b/SPECS/rust-md-5.spec new file mode 100644 index 0000000..994296d --- /dev/null +++ b/SPECS/rust-md-5.spec @@ -0,0 +1,211 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + 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 24 +%bcond_without check +%global debug_package %{nil} + +%global crate md-5 + +Name: rust-md-5 +Version: 0.10.6 +Release: %autorelease +Summary: MD5 hash function + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/md-5 +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +MD5 hash function.} + +%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}/CHANGELOG.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}+asm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+asm-devel %{_description} + +This package contains library source intended for building other packages which +use the "asm" feature of the "%{crate}" crate. + +%files -n %{name}+asm-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+force-soft-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+force-soft-devel %{_description} + +This package contains library source intended for building other packages which +use the "force-soft" feature of the "%{crate}" crate. + +%files -n %{name}+force-soft-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+loongarch64_asm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+loongarch64_asm-devel %{_description} + +This package contains library source intended for building other packages which +use the "loongarch64_asm" feature of the "%{crate}" crate. + +%files -n %{name}+loongarch64_asm-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+md5-asm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+md5-asm-devel %{_description} + +This package contains library source intended for building other packages which +use the "md5-asm" feature of the "%{crate}" crate. + +%files -n %{name}+md5-asm-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+oid-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+oid-devel %{_description} + +This package contains library source intended for building other packages which +use the "oid" feature of the "%{crate}" crate. + +%files -n %{name}+oid-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_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Tue Nov 21 2023 Arkady L. Shane - 0.10.6-1 +- Rebuilt for MSVSphere 9.2 + +* Sun Sep 24 2023 Fabio Valentini - 0.10.6-1 +- Update to version 0.10.6; Fixes RHBZ#2240236 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.10.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jul 21 2023 Fabio Valentini - 0.10.5-3 +- Enable feature for using optimized assembly implementations + +* Fri Jan 20 2023 Fedora Release Engineering - 0.10.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Oct 08 2022 Fabio Valentini - 0.10.5-1 +- Update to version 0.10.5; Fixes RHBZ#2123862 + +* Fri Sep 02 2022 Fabio Valentini - 0.10.2-1 +- Update to version 0.10.2; Fixes RHBZ#2122725 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Feb 18 2022 Fabio Valentini - 0.10.1-1 +- Update to version 0.10.1; Fixes RHBZ#2030031 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.9.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.9.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.9.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Dec 12 2020 Fabio Valentini - 0.9.1-3 +- Remove features with missing dependencies (md5-asm). + +* Wed Jul 29 2020 Fedora Release Engineering - 0.9.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 20 2020 Josh Stone - 0.9.1-1 +- Update to 0.9.1 + +* Sun Jun 21 17:38:18 CEST 2020 Igor Raits - 0.9.0-1 +- Update to 0.9.0 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.8.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.8.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Jun 21 21:07:14 CEST 2019 Igor Gnatenko - 0.8.0-2 +- Regenerate + +* Wed Mar 13 2019 Igor Gnatenko - 0.8.0-1 +- Initial package +