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

374 lines
11 KiB

# Generated by rust2rpm
# * Tests require nightly compiler
%bcond_with check
%global debug_package %{nil}
%global crate syn
Name: rust-%{crate}
Version: 0.15.33
Release: 1%{?dist}
Summary: Parser for Rust source code
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/syn
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: (crate(proc-macro2) >= 0.4.4 with crate(proc-macro2) < 0.5.0)
BuildRequires: (crate(proc-macro2/proc-macro) >= 0.4.4 with crate(proc-macro2/proc-macro) < 0.5.0)
BuildRequires: (crate(quote) >= 0.6.0 with crate(quote) < 0.7.0)
BuildRequires: (crate(quote/proc-macro) >= 0.6.0 with crate(quote/proc-macro) < 0.7.0)
BuildRequires: (crate(unicode-xid/default) >= 0.1.0 with crate(unicode-xid/default) < 0.2.0)
%if %{with check}
BuildRequires: (crate(colored/default) >= 1.7.0 with crate(colored/default) < 2.0.0)
BuildRequires: (crate(insta/default) >= 0.7.0 with crate(insta/default) < 0.8.0)
BuildRequires: (crate(rayon/default) >= 1.0.0 with crate(rayon/default) < 2.0.0)
BuildRequires: (crate(regex/default) >= 1.0.0 with crate(regex/default) < 2.0.0)
BuildRequires: (crate(walkdir/default) >= 2.1.0 with crate(walkdir/default) < 3.0.0)
%endif
%global _description \
Parser for Rust source code.
%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}+clone-impls-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+clone-impls-devel %{_description}
This package contains library source intended for building other packages
which use "clone-impls" feature of "%{crate}" crate.
%files -n %{name}+clone-impls-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+derive-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+derive-devel %{_description}
This package contains library source intended for building other packages
which use "derive" feature of "%{crate}" crate.
%files -n %{name}+derive-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+extra-traits-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+extra-traits-devel %{_description}
This package contains library source intended for building other packages
which use "extra-traits" feature of "%{crate}" crate.
%files -n %{name}+extra-traits-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+fold-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+fold-devel %{_description}
This package contains library source intended for building other packages
which use "fold" feature of "%{crate}" crate.
%files -n %{name}+fold-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+full-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+full-devel %{_description}
This package contains library source intended for building other packages
which use "full" feature of "%{crate}" crate.
%files -n %{name}+full-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+parsing-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+parsing-devel %{_description}
This package contains library source intended for building other packages
which use "parsing" feature of "%{crate}" crate.
%files -n %{name}+parsing-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+printing-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+printing-devel %{_description}
This package contains library source intended for building other packages
which use "printing" feature of "%{crate}" crate.
%files -n %{name}+printing-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}+quote-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+quote-devel %{_description}
This package contains library source intended for building other packages
which use "quote" feature of "%{crate}" crate.
%files -n %{name}+quote-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+visit-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+visit-devel %{_description}
This package contains library source intended for building other packages
which use "visit" feature of "%{crate}" crate.
%files -n %{name}+visit-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+visit-mut-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+visit-mut-devel %{_description}
This package contains library source intended for building other packages
which use "visit-mut" feature of "%{crate}" crate.
%files -n %{name}+visit-mut-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 Apr 30 08:41:55 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.15.33-1
- Update to 0.15.33
* Wed Apr 17 2019 Josh Stone <jistone@redhat.com> - 0.15.32-1
- Update to 0.15.32
* Mon Apr 15 2019 Josh Stone <jistone@redhat.com> - 0.15.31-1
- Update to 0.15.31
* Tue Apr 02 2019 Josh Stone <jistone@redhat.com> - 0.15.30-1
- Update to 0.15.30
* Wed Mar 13 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.15.29-1
- Update to 0.15.29
* Fri Mar 08 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.15.28-1
- Update to 0.15.28
* Fri Mar 01 2019 Josh Stone <jistone@redhat.com> - 0.15.27-1
- Update to 0.15.27
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.26-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jan 17 2019 Josh Stone <jistone@redhat.com> - 0.15.26-1
- Update to 0.15.26
* Mon Jan 14 2019 Josh Stone <jistone@redhat.com> - 0.15.25-1
- Update to 0.15.25
* Tue Jan 08 2019 Josh Stone <jistone@redhat.com> - 0.15.24-1
- Update to 0.15.24
* Mon Nov 26 2018 Josh Stone <jistone@redhat.com> - 0.15.22-1
- Update to 0.15.22
* Fri Nov 16 2018 Josh Stone <jistone@redhat.com> - 0.15.21-1
- Update to 0.15.21
* Tue Nov 13 2018 Josh Stone <jistone@redhat.com> - 0.15.20-1
- Update to 0.15.20
* Fri Nov 02 2018 Josh Stone <jistone@redhat.com> - 0.15.18-1
- Update to 0.15.18
* Mon Oct 29 2018 Josh Stone <jistone@redhat.com> - 0.15.15-1
- Update to 0.15.15
* Fri Oct 26 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.15.14-2
- Adapt to new packaging
* Fri Oct 26 2018 Josh Stone <jistone@redhat.com> - 0.15.14-1
- Update to 0.15.14
* Mon Oct 22 2018 Josh Stone <jistone@redhat.com> - 0.15.13-1
- Update to 0.15.13
* Mon Oct 15 2018 Josh Stone <jistone@redhat.com> - 0.15.11-1
- Update to 0.15.11
6 years ago
* Mon Oct 08 2018 Josh Stone <jistone@redhat.com> - 0.15.9-1
- Update to 0.15.9
6 years ago
* Wed Oct 03 2018 Josh Stone <jistone@redhat.com> - 0.15.8-1
- Update to 0.15.8
6 years ago
* Mon Oct 01 2018 Josh Stone <jistone@redhat.com> - 0.15.7-1
- Update to 0.15.7
6 years ago
* Fri Sep 28 2018 Josh Stone <jistone@redhat.com> - 0.15.6-1
- Update to 0.15.6
6 years ago
* Wed Sep 12 2018 Josh Stone <jistone@redhat.com> - 0.15.4-1
- Update to 0.15.4
6 years ago
* Tue Sep 11 2018 Josh Stone <jistone@redhat.com> - 0.15.3-1
- Update to 0.15.3
* Sat Sep 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.15.1-1
- Update to 0.15.1
7 years ago
* Mon Aug 13 2018 Josh Stone <jistone@redhat.com> - 0.14.8-1
- Update to 0.14.8
7 years ago
* Sat Aug 04 2018 Josh Stone <jistone@redhat.com> - 0.14.7-1
- Update to 0.14.7
* Thu Aug 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.14.6-1
- Update to 0.14.6
* Mon Jul 23 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.14.5-1
- Update to 0.14.5
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sun Jul 01 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.14.4-1
- Update to 0.14.4
* Thu Jun 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.14.2-1
- Update to 0.14.2
* Sun May 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.13.11-1
- Update to 0.13.11
* Mon May 14 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.13.10-1
- Update to 0.13.10
* Sat May 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.13.9-1
- Update to 0.13.9
* Sat May 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.13.8-1
- Update to 0.13.8
* Sun May 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.13.7-1
- Update to 0.13.7
7 years ago
* Sat May 05 2018 Josh Stone <jistone@redhat.com> - 0.13.5-1
- Update to 0.13.5
7 years ago
* Wed May 02 2018 Josh Stone <jistone@redhat.com> - 0.13.4-1
- Update to 0.13.4
7 years ago
* Tue Apr 17 2018 Josh Stone <jistone@redhat.com> - 0.13.1-1
- Update to 0.13.1
* Wed Mar 28 2018 Josh Stone <jistone@redhat.com> - 0.12.15-1
- Update to 0.12.15
* Fri Mar 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.14-1
- Update to 0.12.14
* Thu Mar 08 2018 Josh Stone <jistone@redhat.com> - 0.12.13-1
- Update to 0.12.13
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.11-2
- Rebuild for rust-packaging v5
* Thu Jun 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.11-1
- Update to 0.11.11
* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.9-2
- Port to use rust-packaging
* Tue Mar 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.9-1
- Update to 0.11.9
* Tue Feb 28 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.8-1
- Update to 0.11.8
* Mon Feb 27 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.7-1
- Update to 0.11.7
* Fri Feb 24 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.6-1
- Update to 0.11.6
* Sat Feb 18 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.4-1
- Initial package