import rust-tracing_facade-0.1.0-1.el9

i9ce changed/i9ce/rust-tracing_facade-0.1.0-1.el9
Arkady L. Shane 1 year ago
commit d4b4f0a756
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -0,0 +1,12 @@
Copyright (C) 2019 by Josh Gao <josh@jmgao.dev>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.

@ -0,0 +1,83 @@
## START: Set by rpmautospec
## (rpmautospec version 0.3.0)
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate tracing_facade
Name: rust-tracing_facade
Version: 0.1.0
Release: %autorelease
Summary: Facade for tracing
License: 0BSD
URL: https://crates.io/crates/tracing_facade
Source: %{crates_source}
# PR to include license text: https://github.com/jmgao/tracing/pull/4
Source1: https://raw.githubusercontent.com/jmgao/tracing/master/LICENSE
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Facade for tracing.}
%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
%{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_no_tilde} -p1
cp -p %{SOURCE1} .
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.1.0-1
- Rebuilt for MSVSphere 9.3
* Tue Dec 27 2022 Michel Alexandre Salim <salimma@fedoraproject.org> 0.1.0-1
- Initial Fedora package
Loading…
Cancel
Save