Initial import

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
epel9
Igor Raits 5 years ago
parent 80e7500c63
commit 686b822200
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

1
.gitignore vendored

@ -0,0 +1 @@
/kv-log-macro-1.0.4.crate

@ -0,0 +1,76 @@
# Generated by rust2rpm 13
# * femme is not packaged
%bcond_with check
%global debug_package %{nil}
%global crate kv-log-macro
Name: rust-%{crate}
Version: 1.0.4
Release: 1%{?dist}
Summary: Log macro for log's kv-unstable backend
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/kv-log-macro
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Log macro for log's kv-unstable backend.}
%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-MIT LICENSE-APACHE
%doc README.md CHANGELOG.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
%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
* Sat Feb 29 16:53:47 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.0.4-1
- Initial package

@ -0,0 +1 @@
SHA512 (kv-log-macro-1.0.4.crate) = ab3342b599490e586f5b610ec92058299196a33ed592dd206235566ca6738adaeeb27a19cb2216521c1230be7419e3481881a9ed172cabb77f88a792d9a8c501
Loading…
Cancel
Save