Initial import (hex-literal 0.3 compat package)

epel10
Fabio Valentini 2 years ago
parent bfa7cfeca9
commit 318f9f4673
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/hex-literal-0.3.4.crate

@ -1,3 +0,0 @@
# rust-hex-literal0.3
The rust-hex-literal0.3 package

@ -0,0 +1,70 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate hex-literal
Name: rust-hex-literal0.3
Version: 0.3.4
Release: %autorelease
Summary: Procedural macro for converting hexadecimal string to byte array at compile time
License: MIT OR Apache-2.0
URL: https://crates.io/crates/hex-literal
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Procedural macro for converting hexadecimal string to byte array at
compile time.}
%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
%{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 (hex-literal-0.3.4.crate) = b064b9b66e36890d29f414ed5cb9c066000752c218867fcf96918e089d28a851dec8c790850e5a65e4105fa66c8e954cc0a950ad77c11fbfeed490e896301966
Loading…
Cancel
Save