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.
145 lines
4.4 KiB
145 lines
4.4 KiB
1 month ago
|
## START: Set by rpmautospec
|
||
|
## (rpmautospec version 0.7.2)
|
||
|
## 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 blocking
|
||
|
|
||
|
Name: rust-blocking
|
||
|
Version: 1.6.1
|
||
|
Release: %autorelease
|
||
|
Summary: Thread pool for isolating blocking I/O in async programs
|
||
|
|
||
|
License: Apache-2.0 OR MIT
|
||
|
URL: https://crates.io/crates/blocking
|
||
|
Source: %{crates_source}
|
||
|
|
||
|
BuildRequires: cargo-rpm-macros >= 24
|
||
|
|
||
|
%global _description %{expand:
|
||
|
A thread pool for isolating blocking I/O in async programs.}
|
||
|
|
||
|
%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}+tracing-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+tracing-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages which
|
||
|
use the "tracing" feature of the "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+tracing-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 <packager@msvsphere-os.ru> - 1.6.1-2
|
||
|
- Rebuilt for MSVSphere 10
|
||
|
|
||
|
## START: Generated by rpmautospec
|
||
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||
|
|
||
|
* Tue May 28 2024 Fabio Valentini <decathorpe@gmail.com> - 1.6.1-1
|
||
|
- Update to version 1.6.1; Fixes RHBZ#2283277
|
||
|
|
||
|
* Wed May 08 2024 Fabio Valentini <decathorpe@gmail.com> - 1.6.0-1
|
||
|
- Update to version 1.6.0; Fixes RHBZ#2277560
|
||
|
|
||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||
|
|
||
|
* Fri Jan 05 2024 Fabio Valentini <decathorpe@gmail.com> - 1.5.1-1
|
||
|
- Update to version 1.5.1; Fixes RHBZ#2240650
|
||
|
|
||
|
* Mon Nov 06 2023 Fabio Valentini <decathorpe@gmail.com> - 1.4.1-1
|
||
|
- Update to version 1.4.1
|
||
|
|
||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||
|
|
||
|
* Sat Apr 15 2023 Fabio Valentini <decathorpe@gmail.com> - 1.3.1-1
|
||
|
- Update to version 1.3.1; Fixes RHBZ#2185281
|
||
|
|
||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||
|
|
||
|
* Sun Dec 04 2022 Fabio Valentini <decathorpe@gmail.com> - 1.3.0-1
|
||
|
- Update to version 1.3.0; Fixes RHBZ#2148600
|
||
|
|
||
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||
|
|
||
|
* Sat Mar 12 2022 Fabio Valentini <decathorpe@gmail.com> - 1.2.0-1
|
||
|
- Update to version 1.2.0; Fixes RHBZ#2063434
|
||
|
|
||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||
|
|
||
|
* Thu Nov 11 2021 Fabio Valentini <decathorpe@gmail.com> - 1.1.0-1
|
||
|
- Update to version 1.1.0; Fixes RHBZ#2021877
|
||
|
|
||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||
|
|
||
|
* Thu May 06 13:26:03 PDT 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 1.0.2-1
|
||
|
- Initial package
|
||
|
|
||
|
## END: Generated by rpmautospec
|