initial import

epel10
Peter Robinson 5 years ago
parent f46c43205b
commit 4552b1d209

1
.gitignore vendored

@ -0,0 +1 @@
/num-bigint-dig-*.crate

@ -0,0 +1,11 @@
--- num-bigint-dig-0.6.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ num-bigint-dig-0.6.0/Cargo.toml 2020-07-19T11:42:36.349861+00:00
@@ -85,7 +85,7 @@
[dev-dependencies.serde_test]
version = "1.0"
[build-dependencies.autocfg]
-version = "0.1.5"
+version = "1.0.0"
[features]
default = ["std", "i128", "u64_digit"]

@ -0,0 +1,179 @@
# Generated by rust2rpm 13
%bcond_without check
%global debug_package %{nil}
%global crate num-bigint-dig
Name: rust-%{crate}
Version: 0.6.0
Release: 3%{?dist}
Summary: Big integer implementation for Rust
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/num-bigint-dig
Source: %{crates_source}
# Update autocfg to 1.0.0
Patch0: num-bigint-dig-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Big integer implementation for Rust.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%license LICENSE-APACHE LICENSE-MIT
%doc README.md RELEASES.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%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 "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+i128-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+i128-devel %{_description}
This package contains library source intended for building other packages
which use "i128" feature of "%{crate}" crate.
%files -n %{name}+i128-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+nightly-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+nightly-devel %{_description}
This package contains library source intended for building other packages
which use "nightly" feature of "%{crate}" crate.
%files -n %{name}+nightly-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+prime-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+prime-devel %{_description}
This package contains library source intended for building other packages
which use "prime" feature of "%{crate}" crate.
%files -n %{name}+prime-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+rand-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rand-devel %{_description}
This package contains library source intended for building other packages
which use "rand" feature of "%{crate}" crate.
%files -n %{name}+rand-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages
which use "serde" feature of "%{crate}" crate.
%files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "std" feature of "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+u64_digit-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+u64_digit-devel %{_description}
This package contains library source intended for building other packages
which use "u64_digit" feature of "%{crate}" crate.
%files -n %{name}+u64_digit-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+zeroize-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+zeroize-devel %{_description}
This package contains library source intended for building other packages
which use "zeroize" feature of "%{crate}" crate.
%files -n %{name}+zeroize-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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
* Mon Jul 20 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.6.0-3
- Review Updates
* Sun Jul 19 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.6.0-2
- Update autocfg dependency
* Sun Jul 19 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.6.0-1
- Initial package

@ -0,0 +1 @@
SHA512 (num-bigint-dig-0.6.0.crate) = 11b029c52945dbd460a8736b07affb425a27524fa1f507c39aa035a6fe298863d0b4f09bb8c390f77cd0bd73a65b9e6f010f9882e72c753c457788049d585ccc
Loading…
Cancel
Save