|
|
|
@ -1,13 +1,12 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
# * Tests require nightly compiler
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate fs2
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.4.3
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Summary: Cross-platform file locks and file duplication
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
@ -19,15 +18,14 @@ Source: %{crates_source}
|
|
|
|
|
Patch0: fs2-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(libc/default) >= 0.2.30 with crate(libc/default) < 0.3.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(tempdir/default) >= 0.3.0 with crate(tempdir/default) < 0.4.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Cross-platform file locks and file duplication.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Cross-platform file locks and file duplication.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -61,6 +59,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -73,6 +74,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Jun 22 16:19:16 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.3-7
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Thu Mar 14 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.3-6
|
|
|
|
|
- Adapt to new packaging
|
|
|
|
|
|
|
|
|
|