|
|
|
@ -1,17 +1,30 @@
|
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.7.2)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 3;
|
|
|
|
|
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 26
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate schemars
|
|
|
|
|
|
|
|
|
|
Name: rust-schemars
|
|
|
|
|
Version: 0.8.16
|
|
|
|
|
Version: 0.8.21
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Generate JSON Schemas from Rust code
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://crates.io/crates/schemars
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * drop unused support for uuid v0.8
|
|
|
|
|
Patch: schemars-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
@ -346,30 +359,6 @@ use the "url" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+url-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+uuid-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+uuid-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "uuid" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+uuid-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+uuid08-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+uuid08-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "uuid08" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+uuid08-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+uuid1-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -385,6 +374,8 @@ use the "uuid1" feature of the "%{crate}" crate.
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
# drop tests that pull in uuid v0.8
|
|
|
|
|
rm tests/uuid.rs
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
@ -401,4 +392,25 @@ use the "uuid1" feature of the "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
%autochangelog
|
|
|
|
|
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.8.21-3
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Mon Sep 16 2024 Fabio Valentini <decathorpe@gmail.com> - 0.8.21-3
|
|
|
|
|
- Drop unused support for uuid v0.8
|
|
|
|
|
|
|
|
|
|
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.21-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue May 28 2024 Fabio Valentini <decathorpe@gmail.com> - 0.8.21-1
|
|
|
|
|
- Update to version 0.8.21; Fixes RHBZ#2281440
|
|
|
|
|
|
|
|
|
|
* Tue May 07 2024 Fabio Valentini <decathorpe@gmail.com> - 0.8.19-1
|
|
|
|
|
- Update to version 0.8.19; Fixes RHBZ#2277625
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.16-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Nov 22 2023 Fabio Valentini <decathorpe@gmail.com> - 0.8.16-1
|
|
|
|
|
- Initial import (#2246014)
|
|
|
|
|
## END: Generated by rpmautospec
|