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.
170 lines
5.4 KiB
170 lines
5.4 KiB
## START: Set by rpmautospec
|
|
## (rpmautospec version 0.7.2)
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
release_number = 4;
|
|
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 23
|
|
# * demo-hack is not packaged
|
|
%bcond_with check
|
|
%global debug_package %{nil}
|
|
|
|
%global crate proc-macro-hack
|
|
%global upstream_version 0.5.20+deprecated
|
|
|
|
Name: rust-proc-macro-hack
|
|
Version: 0.5.20
|
|
Release: %autorelease
|
|
Summary: Procedural macros in expression position
|
|
|
|
License: MIT OR Apache-2.0
|
|
URL: https://crates.io/crates/proc-macro-hack
|
|
Source: %{crates_source %{crate} %{upstream_version}}
|
|
# Manually created patch for downstream crate metadata changes
|
|
# * remove "deprecated" specifier from version string
|
|
Patch: proc-macro-hack-fix-metadata.diff
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
%global _description %{expand:
|
|
Procedural macros in expression position.}
|
|
|
|
%description %{_description}
|
|
|
|
%package devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
# deprecated by upstream: not needed since Rust 1.45
|
|
Provides: deprecated()
|
|
|
|
%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
|
|
|
|
%prep
|
|
%autosetup -n %{crate}-%{upstream_version} -p1
|
|
%cargo_prep
|
|
|
|
%generate_buildrequires
|
|
%cargo_generate_buildrequires
|
|
|
|
%build
|
|
%cargo_build
|
|
|
|
%install
|
|
%cargo_install
|
|
|
|
%if %{with check}
|
|
%check
|
|
%cargo_test
|
|
%endif
|
|
|
|
%changelog
|
|
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.5.20-4
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
## START: Generated by rpmautospec
|
|
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.20-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.20-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.20-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
* Fri Feb 03 2023 Fabio Valentini <decathorpe@gmail.com> - 0.5.20-1
|
|
- Update to version 0.5.20+deprecated; Fixes RHBZ#2155059
|
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.19-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.19-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.19-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
* Sun Nov 28 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.5.19-5
|
|
- Regenerate
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.19-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.19-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
* Mon Nov 9 2020 Fabio Valentini <decathorpe@gmail.com> - 0.5.19-1
|
|
- Update to version 0.5.19.
|
|
- Fixes RHBZ#1892120
|
|
|
|
* Wed Jul 29 2020 Josh Stone <jistone@redhat.com> - 0.5.18-1
|
|
- Update to 0.5.18
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.16-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Mon May 25 05:48:20 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.5.16-1
|
|
- Update to 0.5.16
|
|
|
|
* Wed Apr 01 2020 Josh Stone <jistone@redhat.com> - 0.5.15-1
|
|
- Update to 0.5.15
|
|
|
|
* Thu Mar 26 08:43:57 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.5.14-1
|
|
- Update to 0.5.14
|
|
|
|
* Tue Mar 17 2020 Josh Stone <jistone@redhat.com> - 0.5.12-1
|
|
- Update to 0.5.12
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.11-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
* Tue Nov 19 2019 Josh Stone <jistone@redhat.com> - 0.5.11-1
|
|
- Update to 0.5.11
|
|
|
|
* Sun Aug 25 14:29:10 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.9-1
|
|
- Update to 0.5.9
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.8-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Sat Jul 06 11:21:59 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.8-1
|
|
- Update to 0.5.8
|
|
|
|
* Thu May 09 09:03:38 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.7-1
|
|
- Update to 0.5.7
|
|
|
|
* Thu May 09 08:24:11 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.6-1
|
|
- Update to 0.5.6
|
|
|
|
* Tue Apr 16 2019 Josh Stone <jistone@redhat.com> - 0.5.5-1
|
|
- Update to 0.5.5
|
|
|
|
* Wed Mar 13 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.4-1
|
|
- Initial package
|
|
|
|
## END: Generated by rpmautospec
|