Regenerate with rust2rpm v24

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

@ -1,3 +0,0 @@
# rust-hostname
The rust-hostname package

@ -1,5 +1,5 @@
--- hostname-0.3.1/Cargo.toml 2020-02-28T16:58:01+00:00 --- hostname-0.3.1/Cargo.toml 2020-02-28T16:58:01+00:00
+++ hostname-0.3.1/Cargo.toml 2020-02-28T17:24:51.895846+00:00 +++ hostname-0.3.1/Cargo.toml 2023-05-17T09:32:55.784973+00:00
@@ -33,6 +33,3 @@ @@ -33,6 +33,3 @@
set = [] set = []
[target."cfg(any(unix, target_os = \"redox\"))".dependencies.libc] [target."cfg(any(unix, target_os = \"redox\"))".dependencies.libc]

@ -1,28 +1,21 @@
# Generated by rust2rpm 13 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate hostname %global crate hostname
Name: rust-%{crate} Name: rust-hostname
Version: 0.3.1 Version: 0.3.1
Release: %autorelease Release: %autorelease
Summary: Cross-platform system's host name functions Summary: Cross-platform system's host name functions
# Upstream license specification: MIT
License: MIT License: MIT
URL: https://crates.io/crates/hostname URL: https://crates.io/crates/hostname
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Automatically generated patch to strip foreign dependencies
# * No windows Patch: hostname-fix-metadata-auto.diff
Patch0: hostname-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Cross-platform system's host name functions.} Cross-platform system's host name functions.}
@ -35,13 +28,14 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE %license %{crate_instdir}/LICENSE
%doc README.md %doc %{crate_instdir}/CHANGELOG.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -49,11 +43,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+set-devel %package -n %{name}+set-devel
Summary: %{summary} Summary: %{summary}
@ -61,11 +55,11 @@ BuildArch: noarch
%description -n %{name}+set-devel %{_description} %description -n %{name}+set-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "set" feature of "%{crate}" crate. use the "set" feature of the "%{crate}" crate.
%files -n %{name}+set-devel %files -n %{name}+set-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

Loading…
Cancel
Save