initial import

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent c8466293a4
commit 7635dc9b93

1
.gitignore vendored

@ -0,0 +1 @@
/version_check-0.1.3.crate

@ -0,0 +1,55 @@
# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate version_check
Name: rust-%{crate}
Version: 0.1.3
Release: 1%{?dist}
Summary: Tiny crate to check the version of the installed/running rustc
License: MIT
URL: https://crates.io/crates/version_check
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
Tiny crate to check the version of the installed/running rustc.
This package contains library source intended for building other packages
which use %{crate} from crates.io.
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%files devel
%license LICENSE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Sat Nov 18 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.3-1
- Initial package

@ -0,0 +1 @@
SHA512 (version_check-0.1.3.crate) = 1e566fabeac8cc163a975c1736f86c6e898ee42cbdda4874c9cc336f59eeff701528182449d318eef0a755f291fd3c612f728cd6034d9c6eeeae652a55eb249f
Loading…
Cancel
Save