-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Cristian Le <[email protected]>
- Loading branch information
Showing
19 changed files
with
797 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
# Generated by rust2rpm 26 | ||
%bcond_without check | ||
%global debug_package %{nil} | ||
|
||
%global crate approx | ||
|
||
Name: rust-approx | ||
Version: 0.5.1 | ||
Release: %autorelease | ||
Summary: Approximate floating point equality comparisons and assertions | ||
|
||
License: Apache-2.0 | ||
URL: https://crates.io/crates/approx | ||
Source: %{crates_source} | ||
|
||
BuildRequires: cargo-rpm-macros >= 24 | ||
|
||
%global _description %{expand: | ||
Approximate floating point equality comparisons and assertions.} | ||
|
||
%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 | ||
%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}+num-complex-devel | ||
Summary: %{summary} | ||
BuildArch: noarch | ||
|
||
%description -n %{name}+num-complex-devel %{_description} | ||
|
||
This package contains library source intended for building other packages which | ||
use the "num-complex" feature of the "%{crate}" crate. | ||
|
||
%files -n %{name}+num-complex-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 | ||
%autochangelog |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- core_affinity-0.8.1/Cargo.toml 1970-01-01T00:00:01+00:00 | ||
+++ core_affinity-0.8.1/Cargo.toml 2024-03-29T19:34:35.902008+00:00 | ||
@@ -33,9 +33,3 @@ | ||
[target."cfg(any(target_os = \"android\", target_os = \"linux\", target_os = \"macos\", target_os = \"freebsd\"))".dependencies.libc] | ||
version = "^0.2.30" | ||
|
||
-[target."cfg(target_os = \"windows\")".dependencies.winapi] | ||
-version = "^0.3.9" | ||
-features = [ | ||
- "processthreadsapi", | ||
- "winbase", | ||
-] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# Generated by rust2rpm 26 | ||
%bcond_without check | ||
%global debug_package %{nil} | ||
|
||
%global crate core_affinity | ||
|
||
Name: rust-core_affinity | ||
Version: 0.8.1 | ||
Release: %autorelease | ||
Summary: Manages CPU affinities | ||
|
||
# Upstream license specification: MIT/Apache-2.0 | ||
License: MIT OR Apache-2.0 | ||
URL: https://crates.io/crates/core_affinity | ||
Source: %{crates_source} | ||
# Automatically generated patch to strip dependencies and normalize metadata | ||
Patch: core_affinity-fix-metadata-auto.diff | ||
|
||
BuildRequires: cargo-rpm-macros >= 24 | ||
|
||
%global _description %{expand: | ||
Manages CPU affinities.} | ||
|
||
%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}/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} -p1 | ||
%cargo_prep | ||
|
||
%generate_buildrequires | ||
%cargo_generate_buildrequires | ||
|
||
%build | ||
%cargo_build | ||
|
||
%install | ||
%cargo_install | ||
|
||
%if %{with check} | ||
%check | ||
%cargo_test | ||
%endif | ||
|
||
%changelog | ||
%autochangelog |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Generated by rust2rpm 26 | ||
%bcond_without check | ||
%global debug_package %{nil} | ||
|
||
%global crate defmac | ||
|
||
Name: rust-defmac | ||
Version: 0.2.1 | ||
Release: %autorelease | ||
Summary: Macro to define lambda-like macros inline | ||
|
||
# Upstream license specification: Apache-2.0/MIT | ||
License: Apache-2.0 OR MIT | ||
URL: https://crates.io/crates/defmac | ||
Source: %{crates_source} | ||
|
||
BuildRequires: cargo-rpm-macros >= 24 | ||
|
||
%global _description %{expand: | ||
A macro to define lambda-like macros inline.} | ||
|
||
%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}/README.rst | ||
%{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} -p1 | ||
%cargo_prep | ||
|
||
%generate_buildrequires | ||
%cargo_generate_buildrequires | ||
|
||
%build | ||
%cargo_build | ||
|
||
%install | ||
%cargo_install | ||
|
||
%if %{with check} | ||
%check | ||
%cargo_test | ||
%endif | ||
|
||
%changelog | ||
%autochangelog |
Empty file.
Oops, something went wrong.