|
|
@ -1,5 +1,5 @@
|
|
|
|
# Generated by rust2rpm
|
|
|
|
# Generated by rust2rpm
|
|
|
|
# Tests are run in infrastructure
|
|
|
|
# * Tests are run in infrastructure
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.4.4
|
|
|
|
Version: 0.4.4
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Fast library for efficiently matching ignore files
|
|
|
|
Summary: Fast library for efficiently matching ignore files
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Unlicense/MIT
|
|
|
|
# Upstream license specification: Unlicense/MIT
|
|
|
@ -21,34 +21,63 @@ Patch0: ignore-fix-metadata.diff
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
# [dependencies]
|
|
|
|
BuildRequires: (crate(crossbeam-channel/default) >= 0.2.4 with crate(crossbeam-channel/default) < 0.3.0)
|
|
|
|
BuildRequires: (crate(crossbeam-channel) >= 0.2.4 with crate(crossbeam-channel) < 0.3.0)
|
|
|
|
BuildRequires: (crate(globset/default) >= 0.4.2 with crate(globset/default) < 0.5.0)
|
|
|
|
BuildRequires: (crate(globset) >= 0.4.2 with crate(globset) < 0.5.0)
|
|
|
|
BuildRequires: (crate(globset/simd-accel) >= 0.4.2 with crate(globset/simd-accel) < 0.5.0)
|
|
|
|
BuildRequires: (crate(lazy_static) >= 1.1.0 with crate(lazy_static) < 2.0.0)
|
|
|
|
BuildRequires: (crate(lazy_static/default) >= 1.1.0 with crate(lazy_static/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(log) >= 0.4.5 with crate(log) < 0.5.0)
|
|
|
|
BuildRequires: (crate(log/default) >= 0.4.5 with crate(log/default) < 0.5.0)
|
|
|
|
BuildRequires: (crate(memchr) >= 2.0.2 with crate(memchr) < 3.0.0)
|
|
|
|
BuildRequires: (crate(memchr/default) >= 2.0.2 with crate(memchr/default) < 3.0.0)
|
|
|
|
BuildRequires: (crate(regex) >= 1.0.5 with crate(regex) < 2.0.0)
|
|
|
|
BuildRequires: (crate(regex/default) >= 1.0.5 with crate(regex/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(same-file) >= 1.0.3 with crate(same-file) < 2.0.0)
|
|
|
|
BuildRequires: (crate(same-file/default) >= 1.0.3 with crate(same-file/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(thread_local) >= 0.3.6 with crate(thread_local) < 0.4.0)
|
|
|
|
BuildRequires: (crate(thread_local/default) >= 0.3.6 with crate(thread_local/default) < 0.4.0)
|
|
|
|
BuildRequires: (crate(walkdir) >= 2.2.5 with crate(walkdir) < 3.0.0)
|
|
|
|
BuildRequires: (crate(walkdir/default) >= 2.2.5 with crate(walkdir/default) < 3.0.0)
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
# [dev-dependencies]
|
|
|
|
BuildRequires: (crate(tempdir/default) >= 0.3.7 with crate(tempdir/default) < 0.4.0)
|
|
|
|
BuildRequires: (crate(tempdir) >= 0.3.7 with crate(tempdir) < 0.4.0)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%global _description \
|
|
|
|
%{summary}.
|
|
|
|
A fast library for efficiently matching ignore files such as `.gitignore`\
|
|
|
|
|
|
|
|
against file paths.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel %{_description}
|
|
|
|
A fast library for efficiently matching ignore files such as `.gitignore`
|
|
|
|
|
|
|
|
against file paths.
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%license COPYING UNLICENSE LICENSE-MIT
|
|
|
|
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use %{crate} from crates.io.
|
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+simd-accel-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+simd-accel-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "simd-accel" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+simd-accel-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
@ -65,12 +94,10 @@ which use %{crate} from crates.io.
|
|
|
|
%cargo_test
|
|
|
|
%cargo_test
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%license COPYING UNLICENSE LICENSE-MIT
|
|
|
|
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Oct 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.4-2
|
|
|
|
|
|
|
|
- Adapt to new packaging
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Sep 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.4-1
|
|
|
|
* Sat Sep 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.4-1
|
|
|
|
- Update to 0.4.4
|
|
|
|
- Update to 0.4.4
|
|
|
|
|
|
|
|
|
|
|
|