From e677f1767e9157dd454db23408c52ce8a39a88fd Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Nov 06 2017 17:38:47 +0000 Subject: initial import Signed-off-by: Igor Gnatenko --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..400affa --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/openssl-probe-0.1.1.crate diff --git a/rust-openssl-probe.spec b/rust-openssl-probe.spec new file mode 100644 index 0000000..c89d992 --- /dev/null +++ b/rust-openssl-probe.spec @@ -0,0 +1,54 @@ +# Generated by rust2rpm +%bcond_without check +%global debug_package %{nil} + +%global crate openssl-probe + +Name: rust-%{crate} +Version: 0.1.1 +Release: 1%{?dist} +Summary: Tool for helping to find SSL certificate locations on the system for OpenSSL + +License: MIT or ASL 2.0 +URL: https://crates.io/crates/openssl-probe +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 +Tool for helping to find SSL certificate locations on the system for OpenSSL. + +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-MIT LICENSE-APACHE +%{cargo_registry}/%{crate}-%{version}/ + +%changelog +* Mon Jul 03 2017 Igor Gnatenko - 0.1.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..de49c76 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (openssl-probe-0.1.1.crate) = 442617fb5d7f540ff05dc25c7364e180a7f4620848a2eeec31afa5a59ad6ef1924dc6254d24d5c73f356532794ce3cceae353826bb78d061edebd5fdf60296b1