Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 653df41ca0
commit 2042229539
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,5 +1,5 @@
--- hostname-0.1.5/Cargo.toml 1970-01-01T01:00:00+01:00 --- hostname-0.1.5/Cargo.toml 1970-01-01T00:00:00+00:00
+++ hostname-0.1.5/Cargo.toml 2019-01-28T21:58:41.641435+01:00 +++ hostname-0.1.5/Cargo.toml 2019-06-21T19:37:03.848369+00:00
@@ -30,5 +30,3 @@ @@ -30,5 +30,3 @@
unstable = [] unstable = []
[target."cfg(any(unix, target_os = \"redox\"))".dependencies.libc] [target."cfg(any(unix, target_os = \"redox\"))".dependencies.libc]

@ -1,15 +1,15 @@
# Generated by rust2rpm # Generated by rust2rpm 10
# * Tests are run in infrastructure %bcond_without check
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate hostname %global crate hostname
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.1.5 Version: 0.1.5
Release: 2%{?dist} Release: 3%{?dist}
Summary: Get hostname Summary: Get hostname
# 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}
@ -18,12 +18,14 @@ Source: %{crates_source}
Patch0: hostname-fix-metadata.diff Patch0: hostname-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
%global _description \ %global _description %{expand:
Get hostname. Compatible with windows and linux, redox. Get hostname. Compatible with windows and linux, redox.}
%description %{_description} %description %{_description}
@ -69,6 +71,9 @@ which use "unstable" feature of "%{crate}" crate.
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build %build
%cargo_build %cargo_build
@ -81,6 +86,9 @@ which use "unstable" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Fri Jun 21 21:37:03 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.5-3
- Regenerate
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-2 * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

Loading…
Cancel
Save