Initial import (event-listener 2 compat package)

epel9 imports/e9/rust-event-listener2-2.5.3-1.el9
Fabio Valentini 1 year ago
parent b437741643
commit 4c40a1bb83
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/event-listener-2.5.3.crate

@ -1,3 +0,0 @@
# rust-event-listener2
The rust-event-listener2 package

@ -0,0 +1,70 @@
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate event-listener
Name: rust-event-listener2
Version: 2.5.3
Release: %autorelease
Summary: Notify async tasks or threads
License: Apache-2.0 OR MIT
URL: https://crates.io/crates/event-listener
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Notify async tasks or threads.}
%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}/CHANGELOG.md
%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

@ -0,0 +1 @@
SHA512 (event-listener-2.5.3.crate) = ddd67c1139ffe2aba95d763b73db0e2a9985dd2e57cf8f72030047d53d46d833df4b4192730cf0af4e060ce52e4f2df23aab6509abb94a6cd02e0d8cc3559d22
Loading…
Cancel
Save