## START: Set by rpmautospec
## (rpmautospec version 0.7.3)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
    release_number = 1;
    base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
    print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec

# Generated by rust2rpm 27
%bcond check 1
%global debug_package %{nil}

%global crate quote

Name:           rust-quote
Version:        1.0.38
Release:        %autorelease
Summary:        Quasi-quoting macro quote!(...)

License:        MIT OR Apache-2.0
URL:            https://crates.io/crates/quote
Source:         %{crates_source}

BuildRequires:  cargo-rpm-macros >= 24

%global _description %{expand:
Quasi-quoting macro quote!(...).}

%description %{_description}

%package        devel
Summary:        %{summary}
BuildArch:      noarch

%description    devel %{_description}

This package contains library source intended for building other packages which
use the "%{crate}" crate.

%files          devel
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md
%{crate_instdir}/

%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 the "default" feature of the "%{crate}" crate.

%files       -n %{name}+default-devel
%ghost %{crate_instdir}/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 the "proc-macro" feature of the "%{crate}" crate.

%files       -n %{name}+proc-macro-devel
%ghost %{crate_instdir}/Cargo.toml

%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep

%generate_buildrequires
%cargo_generate_buildrequires

%build
%cargo_build

%install
%cargo_install

%if %{with check}
%check
%cargo_test
%endif

%changelog
## START: Generated by rpmautospec
* Sat Jan 04 2025 Fabio Valentini <decathorpe@gmail.com> - 1.0.38-1
- Update to version 1.0.38; Fixes RHBZ#2334149

* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.0.37-1
- Rebuilt for MSVSphere 10

* Mon Sep 02 2024 Fabio Valentini <decathorpe@gmail.com> - 1.0.37-1
- Update to version 1.0.37; Fixes RHBZ#2307467

* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.36-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild

* Fri Apr 12 2024 Fabio Valentini <decathorpe@gmail.com> - 1.0.36-1
- Update to version 1.0.36; Fixes RHBZ#2274277

* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.35-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

* Wed Jan 03 2024 Fabio Valentini <decathorpe@gmail.com> - 1.0.35-1
- Update to version 1.0.35; Fixes RHBZ#2256345

* Wed Aug 23 2023 Fabio Valentini <decathorpe@gmail.com> - 1.0.33-1
- Update to version 1.0.33; Fixes RHBZ#2232462

* Tue Aug 01 2023 Fabio Valentini <decathorpe@gmail.com> - 1.0.32-1
- Update to version 1.0.32; Fixes RHBZ#2224837

* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.31-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

* Fri Jul 21 2023 Fabio Valentini <decathorpe@gmail.com> - 1.0.31-1
- Update to version 1.0.31; Fixes RHBZ#2223124

* Wed Jul 05 2023 Fabio Valentini <decathorpe@gmail.com> - 1.0.29-1
- Update to version 1.0.29; Fixes RHBZ#2218415

* Sun May 28 2023 Fabio Valentini <decathorpe@gmail.com> - 1.0.28-1
- Update to version 1.0.28; Fixes RHBZ#2210147

* Mon May 08 2023 Fabio Valentini <decathorpe@gmail.com> - 1.0.27-1
- Update to version 1.0.27; Fixes RHBZ#2196297

* Wed Mar 22 2023 Fabio Valentini <decathorpe@gmail.com> - 1.0.26-1
- Update to version 1.0.26; Fixes RHBZ#2177558

* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.23-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

* Tue Dec 20 2022 Fabio Valentini <decathorpe@gmail.com> - 1.0.23-1
- Update to version 1.0.23; Fixes RHBZ#2154590

* Wed Aug 03 2022 Fabio Valentini <decathorpe@gmail.com> - 1.0.21-1
- Update to version 1.0.21; Fixes RHBZ#2114661

* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.20-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

* Fri Jul 15 2022 Fabio Valentini <decathorpe@gmail.com> - 1.0.20-1
- Update to version 1.0.20; Fixes RHBZ#2098411

* Thu May 12 2022 Fabio Valentini <decathorpe@gmail.com> - 1.0.18-1
- Update to version 1.0.18; Fixes RHBZ#2073902

* Wed Mar 30 2022 Fabio Valentini <decathorpe@gmail.com> - 1.0.17-1
- Update to version 1.0.17; Fixes RHBZ#2068683

* Mon Mar 21 2022 Fabio Valentini <decathorpe@gmail.com> - 1.0.16-1
- Update to version 1.0.16; Fixes RHBZ#2065474

* Wed Feb 09 2022 Fabio Valentini <decathorpe@gmail.com> - 1.0.15-1
- Update to version 1.0.15; Fixes RHBZ#2043791

* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.14-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

* Tue Jan 18 2022 Fabio Valentini <decathorpe@gmail.com> - 1.0.14-1
- Update to version 1.0.14; Fixes RHBZ#2035824

* Tue Oct 05 2021 Fabio Valentini <decathorpe@gmail.com> - 1.0.10-1
- Update to version 1.0.10; Fixes RHBZ#2010569

* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

* Sun Feb 14 2021 Fabio Valentini <decathorpe@gmail.com> - 1.0.9-1
- Update to version 1.0.9.
- Fixes RHBZ#1928018

* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

* Sun Dec 27 10:55:53 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.0.8-1
- Update to 1.0.8 (Fixes: RHBZ#1909555)

* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Thu Jun 11 2020 Josh Stone <jistone@redhat.com> - 1.0.7-1
- Update to 1.0.7

* Mon May 18 07:38:37 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.0.6-1
- Update to 1.0.6

* Wed May 13 2020 Josh Stone <jistone@redhat.com> - 1.0.5-1
- Update to 1.0.5

* Thu Apr 30 2020 Josh Stone <jistone@redhat.com> - 1.0.4-1
- Update to 1.0.4

* Thu Mar 05 2020 Josh Stone <jistone@redhat.com> - 1.0.3-1
- Update to 1.0.3

* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Sun Aug 18 15:32:52 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.2-1
- Update to 1.0.2

* Sat Aug 03 14:08:02 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.13-1
- Update to 0.6.13

* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.12-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Thu Jun 20 11:32:19 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.12-3
- Regenerate

* Sun Jun 09 10:23:39 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.12-2
- Regenerate

* Wed Apr 10 07:48:32 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.12-1
- Update to 0.6.12

* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Sun Jan 20 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.11-1
- Update to 0.6.11

* Sat Nov 10 2018 Josh Stone <jistone@redhat.com> - 0.6.10-1
- Update to 0.6.10

* Mon Oct 29 2018 Josh Stone <jistone@redhat.com> - 0.6.9-1
- Update to 0.6.9

* Fri Oct 26 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.8-2
- Adapt to new packaging

* Fri Sep 07 2018 Josh Stone <jistone@redhat.com> - 0.6.8-1
- Update to 0.6.8

* Mon Aug 13 2018 Josh Stone <jistone@redhat.com> - 0.6.6-1
- Update to 0.6.6

* Tue Aug 07 2018 Josh Stone <jistone@redhat.com> - 0.6.5-1
- Update to 0.6.5

* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.4-2
- Rebuild to trigger tests

* Mon Jul 23 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.4-1
- Update to 0.6.4

* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Thu Jun 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.3-1
- Update to 0.6.3

* Sun Apr 22 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.2-1
- Update to 0.5.2

* Tue Apr 17 2018 Josh Stone <jistone@redhat.com> - 0.5.1-1
- Update to 0.5.1

* Thu Mar 08 2018 Josh Stone <jistone@redhat.com> - 0.4.2-1
- Update to 0.4.2

* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.15-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.15-3
- Rebuild for rust-packaging v5

* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.15-2
- Port to use rust-packaging

* Mon Mar 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.15-1
- Update to 0.3.15

* Tue Feb 28 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.14-1
- Update to 0.3.14

* Fri Feb 24 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.13-1
- Update to 0.3.13

* Sat Feb 18 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.12-1
- Initial package

## END: Generated by rpmautospec