You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
202 lines
5.7 KiB
202 lines
5.7 KiB
# Generated by rust2rpm 10
|
|
# * RUSTC_BOOTSTRAP breaks tests
|
|
%bcond_with check
|
|
%global debug_package %{nil}
|
|
|
|
%global crate proc-macro2
|
|
|
|
Name: rust-%{crate}
|
|
Version: 0.4.30
|
|
Release: 4%{?dist}
|
|
Summary: Stable implementation of the upcoming new `proc_macro` API
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
License: MIT or ASL 2.0
|
|
URL: https://crates.io/crates/proc-macro2
|
|
Source: %{crates_source}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
%if %{__cargo_skip_build}
|
|
BuildArch: noarch
|
|
%endif
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
%global _description %{expand:
|
|
Stable implementation of the upcoming new `proc_macro` API. Comes with an
|
|
option, off by default, to also reimplement itself in terms of the upstream
|
|
unstable API.}
|
|
|
|
%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
|
|
%{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}+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}+proc-macro-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+proc-macro-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "proc-macro" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+proc-macro-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%package -n %{name}+span-locations-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+span-locations-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "span-locations" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+span-locations-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%prep
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
%cargo_prep
|
|
|
|
%generate_buildrequires
|
|
%cargo_generate_buildrequires
|
|
|
|
%build
|
|
%cargo_build
|
|
|
|
%install
|
|
%cargo_install
|
|
|
|
%if %{with check}
|
|
%check
|
|
%cargo_test
|
|
%endif
|
|
|
|
%changelog
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.30-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Thu Jun 20 11:06:52 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.30-3
|
|
- Regenerate
|
|
|
|
* Sun Jun 09 10:22:46 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.30-2
|
|
- Regenerate
|
|
|
|
* Thu May 09 08:22:00 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.30-1
|
|
- Update to 0.4.30
|
|
|
|
* Tue Apr 30 08:33:59 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.29-1
|
|
- Update to 0.4.29
|
|
|
|
* Tue Apr 23 15:13:37 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.28-1
|
|
- Update to 0.4.28
|
|
|
|
* Sun Feb 03 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.27-1
|
|
- Update to 0.4.27
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.26-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Sun Jan 20 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.26-1
|
|
- Update to 0.4.26
|
|
|
|
* Thu Jan 17 2019 Josh Stone <jistone@redhat.com> - 0.4.25-1
|
|
- Update to 0.4.25
|
|
|
|
* Fri Nov 16 2018 Josh Stone <jistone@redhat.com> - 0.4.24-1
|
|
- Update to 0.4.24
|
|
|
|
* Tue Nov 13 2018 Josh Stone <jistone@redhat.com> - 0.4.23-1
|
|
- Update to 0.4.23
|
|
|
|
* Sat Nov 10 2018 Josh Stone <jistone@redhat.com> - 0.4.21-1
|
|
- Update to 0.4.21
|
|
|
|
* Fri Oct 26 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.20-2
|
|
- Adapt to new packaging
|
|
|
|
* Thu Oct 04 2018 Josh Stone <jistone@redhat.com> - 0.4.20-1
|
|
- Update to 0.4.20
|
|
|
|
* Tue Sep 11 2018 Josh Stone <jistone@redhat.com> - 0.4.19-1
|
|
- Update to 0.4.19
|
|
|
|
* Fri Sep 07 2018 Josh Stone <jistone@redhat.com> - 0.4.18-1
|
|
- Update to 0.4.18
|
|
|
|
* Mon Aug 13 2018 Josh Stone <jistone@redhat.com> - 0.4.12-1
|
|
- Update to 0.4.12
|
|
|
|
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.9-2
|
|
- Rebuild to trigger tests
|
|
|
|
* Mon Jul 23 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.9-1
|
|
- Update to 0.4.9
|
|
|
|
* Wed Jul 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.8-1
|
|
- Update to 0.4.8
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.6-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Thu Jun 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.6-1
|
|
- Update to 0.4.6
|
|
|
|
* Wed May 02 2018 Josh Stone <jistone@redhat.com> - 0.3.8-1
|
|
- Update to 0.3.8
|
|
|
|
* Tue Apr 24 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.7-1
|
|
- Update to 0.3.7
|
|
|
|
* Tue Apr 17 2018 Josh Stone <jistone@redhat.com> - 0.3.6-1
|
|
- Update to 0.3.6
|
|
|
|
* Fri Feb 23 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.3-1
|
|
- Update to 0.2.3
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Mon Jan 22 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.2-1
|
|
- Update to 0.2.2
|
|
|
|
* Tue Jan 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-1
|
|
- Initial package
|