|
|
|
# Generated by rust2rpm-9-1.fc31
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
%global crate crossbeam-epoch
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.7.1
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: Epoch-based garbage collection
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
URL: https://crates.io/crates/crossbeam-epoch
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# * Update scopeguard to 1, https://github.com/crossbeam-rs/crossbeam/pull/370
|
|
|
|
Patch0: crossbeam-epoch-fix-metadata.diff
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: (crate(arrayvec) >= 0.4.0 with crate(arrayvec) < 0.5.0)
|
|
|
|
BuildRequires: (crate(cfg-if/default) >= 0.1.0 with crate(cfg-if/default) < 0.2.0)
|
|
|
|
BuildRequires: (crate(crossbeam-utils) >= 0.6.0 with crate(crossbeam-utils) < 0.7.0)
|
|
|
|
BuildRequires: (crate(crossbeam-utils/std) >= 0.6.0 with crate(crossbeam-utils/std) < 0.7.0)
|
|
|
|
BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(memoffset/default) >= 0.2.0 with crate(memoffset/default) < 0.3.0)
|
|
|
|
BuildRequires: (crate(scopeguard) >= 1.0.0 with crate(scopeguard) < 2.0.0)
|
|
|
|
%if %{with check}
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0)
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
Epoch-based garbage collection.
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%license LICENSE-MIT LICENSE-APACHE
|
|
|
|
%doc README.md CHANGELOG.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
|
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+lazy_static-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+lazy_static-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "lazy_static" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+lazy_static-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+nightly-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+nightly-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "nightly" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+nightly-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+sanitize-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+sanitize-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "sanitize" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+sanitize-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+std-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "std" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+std-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cargo_install
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%cargo_test
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Tue May 07 07:29:43 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.1-3
|
|
|
|
- Update scopeguard to 1
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Jan 28 2019 Josh Stone <jistone@redhat.com> - 0.7.1-1
|
|
|
|
- Update to 0.7.1
|
|
|
|
|
|
|
|
* Tue Jan 08 2019 Josh Stone <jistone@redhat.com> - 0.7.0-1
|
|
|
|
- Update to 0.7.0
|
|
|
|
|
|
|
|
* Sat Dec 15 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.1-1
|
|
|
|
- Update to 0.6.1
|
|
|
|
|
|
|
|
* Sun Oct 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.0-1
|
|
|
|
- Update to 0.6.0
|
|
|
|
|
|
|
|
* Sat Oct 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.2-2
|
|
|
|
- Adapt to new packaging
|
|
|
|
|
|
|
|
* Sat Sep 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.2-1
|
|
|
|
- Update to 0.5.2
|
|
|
|
|
|
|
|
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.1-2
|
|
|
|
- Rebuild to trigger tests
|
|
|
|
|
|
|
|
* Sat Jul 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.1-1
|
|
|
|
- Update to 0.5.1
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Jun 16 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-1
|
|
|
|
- Update to 0.5.0
|
|
|
|
|
|
|
|
* Tue Jun 12 2018 Josh Stone <jistone@redhat.com> - 0.4.3-1
|
|
|
|
- Update to 0.4.3
|
|
|
|
|
|
|
|
* Thu Mar 22 2018 Josh Stone <jistone@redhat.com> - 0.4.1-1
|
|
|
|
- Update to 0.4.1
|
|
|
|
|
|
|
|
* Thu Feb 15 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.0-1
|
|
|
|
- Initial package
|