|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
# Generated by rust2rpm-9-1.fc30
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate tar
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.4.26
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Rust implementation of a TAR file reader and writer
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
@ -18,20 +18,17 @@ Source: %{crates_source}
|
|
|
|
|
Patch0: tar-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(filetime/default) >= 0.2.6 with crate(filetime/default) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(xattr/default) >= 0.2.0 with crate(xattr/default) < 0.3.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(tempdir/default) >= 0.3.0 with crate(tempdir/default) < 0.4.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
A Rust implementation of a TAR file reader and writer. This library does not\
|
|
|
|
|
currently handle compression, but it is abstract over all I/O readers and\
|
|
|
|
|
writers. Additionally, great lengths are taken to ensure that the entire\
|
|
|
|
|
contents are never required to be entirely resident in memory all at once.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Rust implementation of a TAR file reader and writer. This library does not
|
|
|
|
|
currently handle compression, but it is abstract over all I/O readers and
|
|
|
|
|
writers. Additionally, great lengths are taken to ensure that the entire
|
|
|
|
|
contents are never required to be entirely resident in memory all at once.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -77,6 +74,9 @@ which use "xattr" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -89,6 +89,9 @@ which use "xattr" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Jun 22 16:14:23 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.26-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Fri May 31 2019 Josh Stone <jistone@redhat.com> - 0.4.26-1
|
|
|
|
|
- Update to 0.4.26
|
|
|
|
|
|
|
|
|
|