|
|
|
@ -1,27 +1,26 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
%bcond_without check
|
|
|
|
|
# Generated by rust2rpm-9-1.fc31
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate home
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.3.4
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Shared definitions of home directories
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
|
# https://github.com/brson/home/issues/2
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
|
URL: https://crates.io/crates/home
|
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * No windows
|
|
|
|
|
Patch0: home-0.3.3-fix-metadata.diff
|
|
|
|
|
Patch0: home-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(scopeguard/default) >= 0.3.0 with crate(scopeguard/default) < 0.4.0)
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Shared definitions of home directories.
|
|
|
|
@ -54,7 +53,7 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -69,6 +68,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue May 07 07:34:31 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.4-3
|
|
|
|
|
- Run tests in infrastructure
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|