|
|
@ -1,4 +1,5 @@
|
|
|
|
# Generated by rust2rpm
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
|
|
|
# * Tests are run in infrastructure
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
@ -17,22 +18,39 @@ ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
# [dev-dependencies]
|
|
|
|
BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%global _description \
|
|
|
|
%{summary}.
|
|
|
|
A library for scoped and cached threadpools.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel %{_description}
|
|
|
|
A library for scoped and cached threadpools.
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
@ -49,11 +67,6 @@ which use %{crate} from crates.io.
|
|
|
|
%cargo_test
|
|
|
|
%cargo_test
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.9-2
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.9-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|