|
|
|
@ -0,0 +1,129 @@
|
|
|
|
|
## 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 miette-derive
|
|
|
|
|
|
|
|
|
|
Name: rust-miette-derive
|
|
|
|
|
Version: 7.4.0
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Derive macros for miette
|
|
|
|
|
|
|
|
|
|
License: Apache-2.0
|
|
|
|
|
URL: https://crates.io/crates/miette-derive
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Derive macros for miette. Like `thiserror` for Diagnostics.}
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
%{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}-%{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> - 7.4.0-1
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Sun Dec 01 2024 Fabio Valentini <decathorpe@gmail.com> - 7.4.0-1
|
|
|
|
|
- Update to version 7.4.0; Fixes RHBZ#2328891
|
|
|
|
|
|
|
|
|
|
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Mar 17 2024 Michel Lind <salimma@fedoraproject.org> - 7.2.0-1
|
|
|
|
|
- Update to 7.2.0 (rhbz#2262595)
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.10.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Oct 18 2023 Fabio Valentini <decathorpe@gmail.com> - 5.10.0-3
|
|
|
|
|
- Regenerate with rust2rpm v25
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.10.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 17 2023 Fabio Valentini <decathorpe@gmail.com> - 5.10.0-1
|
|
|
|
|
- Update to version 5.10.0; Fixes RHBZ#2223156
|
|
|
|
|
|
|
|
|
|
* Mon May 22 2023 Fabio Valentini <decathorpe@gmail.com> - 5.9.0-1
|
|
|
|
|
- Update to version 5.9.0; Fixes RHBZ#2208405
|
|
|
|
|
|
|
|
|
|
* Wed Apr 19 2023 Fabio Valentini <decathorpe@gmail.com> - 5.8.0-1
|
|
|
|
|
- Update to version 5.8.0; Fixes RHBZ#2187776
|
|
|
|
|
|
|
|
|
|
* Sat Apr 01 2023 Fabio Valentini <decathorpe@gmail.com> - 5.7.0-1
|
|
|
|
|
- Update to version 5.7.0; Fixes RHBZ#2177964
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 12 2022 Fabio Valentini <decathorpe@gmail.com> - 5.5.0-1
|
|
|
|
|
- Update to version 5.5.0; Fixes RHBZ#2113061
|
|
|
|
|
|
|
|
|
|
* Tue Jul 26 2022 yizhengxie <yizhengx@bu.edu> - 5.1.1-1
|
|
|
|
|
- Update to 5.1.1
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Apr 13 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 4.4.0-1
|
|
|
|
|
- Update to 4.4.0
|
|
|
|
|
|
|
|
|
|
* Sat Mar 26 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 4.2.1-1
|
|
|
|
|
- Initial package
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|