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-28T17:24:51.895846+00:00
+++ hostname-0.3.1/Cargo.toml 2023-05-17T09:32:55.784973+00:00
@@ -33,6 +33,3 @@
set = []
[target."cfg(any(unix, target_os = \"redox\"))".dependencies.libc]

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

Loading…
Cancel
Save