Update to version 0.4.1; Fixes RHBZ#2183785

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

1
.gitignore vendored

@ -3,3 +3,4 @@
/hex-literal-0.3.1.crate
/hex-literal-0.3.3.crate
/hex-literal-0.3.4.crate
/hex-literal-0.4.1.crate

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

@ -1,29 +1,22 @@
# Generated by rust2rpm 18
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate hex-literal
Name: rust-%{crate}
Version: 0.3.4
Name: rust-hex-literal
Version: 0.4.1
Release: %autorelease
Summary: Procedural macro for converting hexadecimal string to byte array at compile time
Summary: Macro for converting hexadecimal string to a byte array at compile time
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/hex-literal
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Procedural macro for converting hexadecimal string to byte array at compile
time.}
Macro for converting hexadecimal string to a byte array at compile time.}
%description %{_description}
@ -33,13 +26,15 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE-MIT LICENSE-APACHE
%doc CHANGELOG.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%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}
@ -47,11 +42,11 @@ 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.
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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (hex-literal-0.3.4.crate) = b064b9b66e36890d29f414ed5cb9c066000752c218867fcf96918e089d28a851dec8c790850e5a65e4105fa66c8e954cc0a950ad77c11fbfeed490e896301966
SHA512 (hex-literal-0.4.1.crate) = 8894e48485be7e1d7a16d2e061086c524b039a1be24a4c20126d3f175e12aa87d6d65ae295da6dea88f19708f3f3a051c3c3e334196c094ace68a249ad57fbb6

Loading…
Cancel
Save