Compare commits

..

No commits in common. 'epel9' and 'i9ce' have entirely different histories.
epel9 ... i9ce

13
.gitignore vendored

@ -1,12 +1 @@
/num_cpus-1.7.0.crate
/num_cpus-1.8.0.crate
/num_cpus-1.9.0.crate
/num_cpus-1.10.0.crate
/num_cpus-1.10.1.crate
/num_cpus-1.11.1.crate
/num_cpus-1.12.0.crate
/num_cpus-1.13.0.crate
/num_cpus-1.13.1.crate
/num_cpus-1.14.0.crate
/num_cpus-1.15.0.crate
/num_cpus-1.16.0.crate
SOURCES/num_cpus-1.16.0.crate

@ -0,0 +1 @@
dac55b3c5d0b717aed5b3f237f80717f9191b089 SOURCES/num_cpus-1.16.0.crate

@ -1,3 +1,106 @@
## 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 num_cpus
Name: rust-num_cpus
Version: 1.16.0
Release: %autorelease
Summary: Get the number of CPUs on a machine
License: MIT OR Apache-2.0
URL: https://crates.io/crates/num_cpus
Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
Patch: num_cpus-fix-metadata-auto.diff
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Get the number of CPUs on a machine.}
%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}/CONTRIBUTING.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
%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
* Thu Jan 11 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.16.0-1
- Rebuilt for MSVSphere 9.3
* Wed Jul 05 2023 Fabio Valentini <decathorpe@gmail.com> - 1.16.0-1
- Update to version 1.16.0; Fixes RHBZ#2218589
* Wed Dec 21 2022 Fabio Valentini <decathorpe@gmail.com> - 1.15.0-1
- Update to version 1.15.0; Fixes RHBZ#2155300
* Mon Nov 07 2022 Fabio Valentini <decathorpe@gmail.com> - 1.14.0-1
- Update to version 1.14.0; Fixes RHBZ#2139900
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Dec 20 2021 Fabio Valentini <decathorpe@gmail.com> - 1.13.1-1
- Update to version 1.13.1; Fixes RHBZ#2034397
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
@ -78,3 +181,4 @@
* Sun Feb 12 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.1-1
- Initial package

@ -1,73 +0,0 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate num_cpus
Name: rust-num_cpus
Version: 1.16.0
Release: %autorelease
Summary: Get the number of CPUs on a machine
License: MIT OR Apache-2.0
URL: https://crates.io/crates/num_cpus
Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
Patch: num_cpus-fix-metadata-auto.diff
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Get the number of CPUs on a machine.}
%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}/CONTRIBUTING.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
%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
%autochangelog

@ -1 +0,0 @@
SHA512 (num_cpus-1.16.0.crate) = a75863afc4a563e63c64d06471c7921615355d98011ea9497b1f1a7dac2bdfc876509136018e8062ac38575ccf476a196d1fd9231e09e90017333bbf2df4615d
Loading…
Cancel
Save