You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
220 lines
6.7 KiB
220 lines
6.7 KiB
4 weeks ago
|
## START: Set by rpmautospec
|
||
|
## (rpmautospec version 0.7.2)
|
||
|
## RPMAUTOSPEC: autorelease, autochangelog
|
||
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
||
|
release_number = 3;
|
||
|
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
|
||
|
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.10.6-3
|
||
|
- Rebuilt for MSVSphere 10
|
||
|
|
||
|
## START: Generated by rpmautospec
|
||
|
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.6-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||
|
|
||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.6-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||
|
|
||
|
* Sun Sep 24 2023 Fabio Valentini <decathorpe@gmail.com> - 0.10.6-1
|
||
|
- Update to version 0.10.6; Fixes RHBZ#2240236
|
||
|
|
||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.5-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 21 2023 Fabio Valentini <decathorpe@gmail.com> - 0.10.5-3
|
||
|
- Enable feature for using optimized assembly implementations
|
||
|
|
||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.5-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||
|
|
||
|
* Sat Oct 08 2022 Fabio Valentini <decathorpe@gmail.com> - 0.10.5-1
|
||
|
- Update to version 0.10.5; Fixes RHBZ#2123862
|
||
|
|
||
|
* Fri Sep 02 2022 Fabio Valentini <decathorpe@gmail.com> - 0.10.2-1
|
||
|
- Update to version 0.10.2; Fixes RHBZ#2122725
|
||
|
|
||
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||
|
|
||
|
* Fri Feb 18 2022 Fabio Valentini <decathorpe@gmail.com> - 0.10.1-1
|
||
|
- Update to version 0.10.1; Fixes RHBZ#2030031
|
||
|
|
||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-6
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-5
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||
|
|
||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||
|
|
||
|
* Sat Dec 12 2020 Fabio Valentini <decathorpe@gmail.com> - 0.9.1-3
|
||
|
- Remove features with missing dependencies (md5-asm).
|
||
|
|
||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||
|
|
||
|
* Mon Jul 20 2020 Josh Stone <jistone@redhat.com> - 0.9.1-1
|
||
|
- Update to 0.9.1
|
||
|
|
||
|
* Sun Jun 21 17:38:18 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.9.0-1
|
||
|
- Update to 0.9.0
|
||
|
|
||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||
|
|
||
|
* Fri Jun 21 21:07:14 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.0-2
|
||
|
- Regenerate
|
||
|
|
||
|
* Wed Mar 13 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.0-1
|
||
|
- Initial package
|
||
|
|
||
|
## END: Generated by rpmautospec
|