commit 8f6329bd94babe8860e948a9e262a47a611b9503 Author: MSVSphere Packaging Team Date: Fri Dec 20 15:18:02 2024 +0300 import rust-databake-derive-0.1.8-2.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..673c13e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/databake-derive-0.1.8.crate diff --git a/.rust-databake-derive.metadata b/.rust-databake-derive.metadata new file mode 100644 index 0000000..1dca482 --- /dev/null +++ b/.rust-databake-derive.metadata @@ -0,0 +1 @@ +fcb24a7e9f9681fed0fb1a8a40b29e72758fdf05 SOURCES/databake-derive-0.1.8.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..553347c --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["tests can only be run in-tree"] + diff --git a/SPECS/rust-databake-derive.spec b/SPECS/rust-databake-derive.spec new file mode 100644 index 0000000..fdfa339 --- /dev/null +++ b/SPECS/rust-databake-derive.spec @@ -0,0 +1,100 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 2; + 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 +# * tests can only be run in-tree +%bcond_with check +%global debug_package %{nil} + +%global crate databake-derive + +Name: rust-databake-derive +Version: 0.1.8 +Release: %autorelease +Summary: Custom derive for the databake crate + +License: Unicode-3.0 +URL: https://crates.io/crates/databake-derive +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Custom derive for the databake crate.} + +%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 +%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}-%{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 - 0.1.8-2 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 0.1.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Tue Jun 25 2024 Fabio Valentini - 0.1.8-1 +- Update to version 0.1.8; Fixes RHBZ#2283692 + +* Wed Feb 07 2024 Fabio Valentini - 0.1.7-1 +- Update to version 0.1.7; Fixes RHBZ#2240278 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.1.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.1.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jun 23 2023 Fabio Valentini - 0.1.5-1 +- Initial import (#2214343) +## END: Generated by rpmautospec