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.
rust-proc-macro2/rust-proc-macro2.spec

246 lines
7.2 KiB

# Generated by rust2rpm 15
# * RUSTC_BOOTSTRAP breaks tests
%bcond_with check
%global debug_package %{nil}
%global crate proc-macro2
Name: rust-%{crate}
Version: 1.0.19
Release: 1%{?dist}
Summary: Substitute implementation of the compiler's `proc_macro` API
# Upstream license specification: MIT OR 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:
Substitute implementation of the compiler's `proc_macro` API to decouple token-
based libraries from the procedural macro use case.}
%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_no_tilde}/
%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_no_tilde}/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_no_tilde}/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_no_tilde}/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_no_tilde}/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
* Mon Jul 20 2020 Josh Stone <jistone@redhat.com> - 1.0.19-1
- Update to 1.0.19
* Sun May 31 20:36:57 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.0.18-1
- Update to 1.0.18
* Sun May 24 08:21:05 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.0.17-1
- Update to 1.0.17
* Fri May 22 2020 Josh Stone <jistone@redhat.com> - 1.0.15-1
- Update to 1.0.15
* Sat May 16 19:36:17 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.0.13-1
- Update to 1.0.13
* Tue May 05 2020 Josh Stone <jistone@redhat.com> - 1.0.12-1
- Update to 1.0.12
* Wed Apr 01 2020 Josh Stone <jistone@redhat.com> - 1.0.10-1
- Update to 1.0.10
* Tue Feb 25 2020 Josh Stone <jistone@redhat.com> - 1.0.9-1
- Update to 1.0.9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jan 17 2020 Josh Stone <jistone@redhat.com> - 1.0.8-1
- Update to 1.0.8
* Tue Jan 07 2020 Josh Stone <jistone@redhat.com> - 1.0.7-1
- Update to 1.0.7
* Tue Nov 19 2019 Josh Stone <jistone@redhat.com> - 1.0.6-1
- Update to 1.0.6
* Sat Sep 21 13:32:35 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.4-1
- Update to 1.0.4
* Sun Sep 01 17:10:08 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.2-1
- Update to 1.0.2
* Sun Aug 18 15:26:48 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.1-1
- Update to 1.0.1
* 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