Initial Fedora package

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9
Michel Alexandre Salim 2 years ago
parent 709b0d444d
commit abb19d620f
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

1
.gitignore vendored

@ -0,0 +1 @@
/nu-pretty-hex-0.76.0.crate

@ -0,0 +1,68 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate nu-pretty-hex
Name: rust-nu-pretty-hex
Version: 0.76.0
Release: %autorelease
Summary: Pretty hex dump of bytes slice in the common style
License: MIT
URL: https://crates.io/crates/nu-pretty-hex
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Pretty hex dump of bytes slice in the common style.}
%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
%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_no_tilde} -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 (nu-pretty-hex-0.76.0.crate) = 3c790b93c88c5bd5a57e174d2548ee317b76bce0e39970a0b73b596dd6c071d7533678746896ea07eb06dc55e92afd36a507a3f822ac9d54769f9969c80a42c0
Loading…
Cancel
Save