initial import (signal-hook 0.1 compat package)

epel9
Fabio Valentini 4 years ago
parent 714ef01297
commit 0e27eb54c0
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

4
.gitignore vendored

@ -0,0 +1,4 @@
/results_*/
/*.src.rpm
/signal-hook-0.1.17.crate

@ -1,3 +0,0 @@
# rust-signal-hook0.1
The rust-signal-hook0.1 package

@ -0,0 +1,159 @@
# Generated by rust2rpm 16
%bcond_without check
%global debug_package %{nil}
%global crate signal-hook
Name: rust-%{crate}0.1
Version: 0.1.17
Release: 1%{?dist}
Summary: Unix signal handling
# Upstream license specification: Apache-2.0/MIT
License: ASL 2.0 or MIT
URL: https://crates.io/crates/signal-hook
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Unix signal handling.}
%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
%{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}+futures-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+futures-devel %{_description}
This package contains library source intended for building other packages
which use "futures" feature of "%{crate}" crate.
%files -n %{name}+futures-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+mio-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+mio-devel %{_description}
This package contains library source intended for building other packages
which use "mio" feature of "%{crate}" crate.
%files -n %{name}+mio-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+mio-0_7-support-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+mio-0_7-support-devel %{_description}
This package contains library source intended for building other packages
which use "mio-0_7-support" feature of "%{crate}" crate.
%files -n %{name}+mio-0_7-support-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+mio-support-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+mio-support-devel %{_description}
This package contains library source intended for building other packages
which use "mio-support" feature of "%{crate}" crate.
%files -n %{name}+mio-support-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+mio_0_7-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+mio_0_7-devel %{_description}
This package contains library source intended for building other packages
which use "mio_0_7" feature of "%{crate}" crate.
%files -n %{name}+mio_0_7-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+tokio-reactor-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-reactor-devel %{_description}
This package contains library source intended for building other packages
which use "tokio-reactor" feature of "%{crate}" crate.
%files -n %{name}+tokio-reactor-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+tokio-support-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-support-devel %{_description}
This package contains library source intended for building other packages
which use "tokio-support" feature of "%{crate}" crate.
%files -n %{name}+tokio-support-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
* Wed Mar 24 2021 Fabio Valentini <decathorpe@gmail.com> - 0.1.17-1
- Initial compat package for signal-hook 0.1

@ -0,0 +1 @@
SHA512 (signal-hook-0.1.17.crate) = 253d1478d7a6491a0b423637a706c941cc2a9707d32d29126f48af808daf8acd88e59013936f8e164df687c04e3a8f5c201b5eeb1952e3269b1419efdb4df94f
Loading…
Cancel
Save