|
|
|
@ -1,3 +1,334 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.3.5)
|
|
|
|
|
## 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 25
|
|
|
|
|
# * missing dev-dependency: syn-test-suite
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate syn
|
|
|
|
|
|
|
|
|
|
Name: rust-syn
|
|
|
|
|
Version: 2.0.48
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Parser for Rust source code
|
|
|
|
|
|
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
|
URL: https://crates.io/crates/syn
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
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 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}+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 the "clone-impls" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+clone-impls-devel
|
|
|
|
|
%ghost %{crate_instdir}/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 the "derive" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+derive-devel
|
|
|
|
|
%ghost %{crate_instdir}/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 the "extra-traits" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+extra-traits-devel
|
|
|
|
|
%ghost %{crate_instdir}/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 the "fold" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+fold-devel
|
|
|
|
|
%ghost %{crate_instdir}/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 the "full" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+full-devel
|
|
|
|
|
%ghost %{crate_instdir}/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 the "parsing" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+parsing-devel
|
|
|
|
|
%ghost %{crate_instdir}/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 the "printing" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+printing-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
|
|
|
|
|
|
|
|
|
|
%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 the "quote" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+quote-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+test-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+test-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "test" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+test-devel
|
|
|
|
|
%ghost %{crate_instdir}/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 the "visit" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+visit-devel
|
|
|
|
|
%ghost %{crate_instdir}/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 the "visit-mut" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+visit-mut-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
|
|
|
|
|
* Fri Jan 05 2024 Fabio Valentini <decathorpe@gmail.com> - 2.0.48-1
|
|
|
|
|
- Update to version 2.0.48; Fixes RHBZ#2256697
|
|
|
|
|
|
|
|
|
|
* Wed Jan 03 2024 Fabio Valentini <decathorpe@gmail.com> - 2.0.46-1
|
|
|
|
|
- Update to version 2.0.46; Fixes RHBZ#2255467
|
|
|
|
|
|
|
|
|
|
* Tue Dec 19 2023 Fabio Valentini <decathorpe@gmail.com> - 2.0.41-1
|
|
|
|
|
- Update to version 2.0.41; Fixes RHBZ#2253931
|
|
|
|
|
|
|
|
|
|
* Sun Nov 19 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.0.39-1
|
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
|
|
|
|
|
|
* Thu Nov 09 2023 Fabio Valentini <decathorpe@gmail.com> - 2.0.39-1
|
|
|
|
|
- Update to version 2.0.39; Fixes RHBZ#2248079
|
|
|
|
|
|
|
|
|
|
* Sat Oct 07 2023 Fabio Valentini <decathorpe@gmail.com> - 2.0.38-1
|
|
|
|
|
- Update to version 2.0.38; Fixes RHBZ#2239205
|
|
|
|
|
|
|
|
|
|
* Fri Sep 15 2023 Fabio Valentini <decathorpe@gmail.com> - 2.0.34-1
|
|
|
|
|
- Update to version 2.0.34; Fixes RHBZ#2237048
|
|
|
|
|
|
|
|
|
|
* Wed Aug 23 2023 Fabio Valentini <decathorpe@gmail.com> - 2.0.29-1
|
|
|
|
|
- Update to version 2.0.29; Fixes RHBZ#2232474
|
|
|
|
|
|
|
|
|
|
* Mon Jul 31 2023 Fabio Valentini <decathorpe@gmail.com> - 2.0.28-1
|
|
|
|
|
- Update to version 2.0.28; Fixes RHBZ#2227591
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fabio Valentini <decathorpe@gmail.com> - 2.0.27-1
|
|
|
|
|
- Update to version 2.0.27; Fixes RHBZ#2223066
|
|
|
|
|
|
|
|
|
|
* Fri Jul 14 2023 Fabio Valentini <decathorpe@gmail.com> - 2.0.25-1
|
|
|
|
|
- Update to version 2.0.25; Fixes RHBZ#2221518
|
|
|
|
|
|
|
|
|
|
* Wed Jul 05 2023 Fabio Valentini <decathorpe@gmail.com> - 2.0.23-1
|
|
|
|
|
- Update to version 2.0.23; Fixes RHBZ#2217127
|
|
|
|
|
|
|
|
|
|
* Sun May 28 2023 Fabio Valentini <decathorpe@gmail.com> - 2.0.18-1
|
|
|
|
|
- Update to version 2.0.18; Fixes RHBZ#2210148
|
|
|
|
|
|
|
|
|
|
* Wed May 17 2023 Fabio Valentini <decathorpe@gmail.com> - 2.0.16-1
|
|
|
|
|
- Update to version 2.0.16; Fixes RHBZ#2203586
|
|
|
|
|
|
|
|
|
|
* Sat Apr 15 2023 Fabio Valentini <decathorpe@gmail.com> - 2.0.15-1
|
|
|
|
|
- Update to version 2.0.15; Fixes RHBZ#2183330
|
|
|
|
|
|
|
|
|
|
* Thu Mar 30 2023 Fabio Valentini <decathorpe@gmail.com> - 2.0.11-1
|
|
|
|
|
- Update to version 2.0.11; Fixes RHBZ#2181012
|
|
|
|
|
|
|
|
|
|
* Wed Mar 22 2023 Fabio Valentini <decathorpe@gmail.com> - 2.0.5-1
|
|
|
|
|
- Update to version 2.0.5; Fixes RHBZ#2179475
|
|
|
|
|
|
|
|
|
|
* Thu Mar 16 2023 Fabio Valentini <decathorpe@gmail.com> - 1.0.109-1
|
|
|
|
|
- Update to version 1.0.109; Fixes RHBZ#2173164
|
|
|
|
|
|
|
|
|
|
* Thu Feb 23 2023 Fabio Valentini <decathorpe@gmail.com> - 1.0.108-1
|
|
|
|
|
- Update to version 1.0.108; Fixes RHBZ#2172765
|
|
|
|
|
|
|
|
|
|
* Tue Dec 20 2022 Fabio Valentini <decathorpe@gmail.com> - 1.0.107-1
|
|
|
|
|
- Update to version 1.0.107; Fixes RHBZ#2154583
|
|
|
|
|
|
|
|
|
|
* Sun Dec 04 2022 Fabio Valentini <decathorpe@gmail.com> - 1.0.105-1
|
|
|
|
|
- Update to version 1.0.105; Fixes RHBZ#2132855
|
|
|
|
|
|
|
|
|
|
* Wed Oct 05 2022 Fabio Valentini <decathorpe@gmail.com> - 1.0.101-1
|
|
|
|
|
- Update to version 1.0.101; Fixes RHBZ#2127777
|
|
|
|
|
|
|
|
|
|
* Wed Aug 03 2022 Fabio Valentini <decathorpe@gmail.com> - 1.0.99-1
|
|
|
|
|
- Update to version 1.0.99; Fixes RHBZ#2114667
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.98-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 04 2022 Fabio Valentini <decathorpe@gmail.com> - 1.0.98-1
|
|
|
|
|
- Update to version 1.0.98; Fixes RHBZ#2085362
|
|
|
|
|
|
|
|
|
|
* Wed May 11 2022 Fabio Valentini <decathorpe@gmail.com> - 1.0.93-1
|
|
|
|
|
- Update to version 1.0.93; Fixes RHBZ#2072310
|
|
|
|
|
|
|
|
|
|
* Tue Mar 29 2022 Fabio Valentini <decathorpe@gmail.com> - 1.0.90-1
|
|
|
|
|
- Update to version 1.0.90; Fixes RHBZ#2069302
|
|
|
|
|
|
|
|
|
|
* Thu Mar 17 2022 Fabio Valentini <decathorpe@gmail.com> - 1.0.89-1
|
|
|
|
|
- Update to version 1.0.89; Fixes RHBZ#2063678
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fabio Valentini <decathorpe@gmail.com> - 1.0.86-1
|
|
|
|
|
- Update to version 1.0.86; Fixes RHBZ#2042716
|
|
|
|
|
|
|
|
|
|
* Fri Jan 07 2022 Fabio Valentini <decathorpe@gmail.com> - 1.0.85-1
|
|
|
|
|
- Update to version 1.0.85; Fixes RHBZ#2035129
|
|
|
|
|
|
|
|
|
|
* Thu Nov 25 2021 Fabio Valentini <decathorpe@gmail.com> - 1.0.82-1
|
|
|
|
|
- Update to version 1.0.82; Fixes RHBZ#2026546
|
|
|
|
|
|
|
|
|
|
* Mon Nov 01 2021 Fabio Valentini <decathorpe@gmail.com> - 1.0.81-1
|
|
|
|
|
- Update to version 1.0.81; Fixes RHBZ#2010023
|
|
|
|
|
|
|
|
|
|
* Mon Sep 27 2021 Fabio Valentini <decathorpe@gmail.com> - 1.0.77-1
|
|
|
|
|
- Update to version 1.0.77; Fixes RHBZ#2007466
|
|
|
|
|
|
|
|
|
|
* Sat Sep 04 2021 Fabio Valentini <decathorpe@gmail.com> - 1.0.76-1
|
|
|
|
|
- Update to version 1.0.76; Fixes RHBZ#2001150
|
|
|
|
|
|
|
|
|
|
* Sat Aug 21 2021 Fabio Valentini <decathorpe@gmail.com> - 1.0.75-1
|
|
|
|
|
- Update to version 1.0.75; Fixes RHBZ#1996220
|
|
|
|
|
|
|
|
|
|
* Wed Jul 28 2021 Fabio Valentini <decathorpe@gmail.com> - 1.0.74-1
|
|
|
|
|
- Update to version 1.0.74; Fixes RHBZ#1984698
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.73-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
@ -352,3 +683,4 @@
|
|
|
|
|
|
|
|
|
|
* Sat Feb 18 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.4-1
|
|
|
|
|
- Initial package
|
|
|
|
|
|