## START: Set by rpmautospec ## (rpmautospec version 0.7.1) ## 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 taskchampion Name: rust-taskchampion Version: 0.6.0 Release: %autorelease Summary: Personal task-tracking License: MIT URL: https://crates.io/crates/taskchampion Source: %{crates_source} # License text file Source1: https://raw.githubusercontent.com/GothenburgBitFactory/taskchampion/v0.6.0/LICENSE BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Personal task-tracking.} %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 %package -n %{name}+cloud-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+cloud-devel %{_description} This package contains library source intended for building other packages which use the "cloud" feature of the "%{crate}" crate. %files -n %{name}+cloud-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+encryption-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+encryption-devel %{_description} This package contains library source intended for building other packages which use the "encryption" feature of the "%{crate}" crate. %files -n %{name}+encryption-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+server-gcp-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+server-gcp-devel %{_description} This package contains library source intended for building other packages which use the "server-gcp" feature of the "%{crate}" crate. %files -n %{name}+server-gcp-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+server-sync-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+server-sync-devel %{_description} This package contains library source intended for building other packages which use the "server-sync" feature of the "%{crate}" crate. %files -n %{name}+server-sync-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 cp %SOURCE1 . # loosen dep bounds sed -i \ -e '/google-cloud-storage.*]$/{n;s/^version.*$/version = ">=0.15.0"/;}' \ -e '/rstest]$/{n;s/^version.*$/version = ">=0.17.0"/;}' \ -e '/rusqlite.*$/{n;s/^version.*$/version = ">=0.29.0"/;}' \ -e '/^features.*"bundled"]$/d' \ Cargo.toml %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Tue Aug 27 2024 Ankur Sinha (Ankur Sinha Gmail) - 0.6.0-3 - Uncommitted changes * Tue Aug 27 2024 Ankur Sinha (Ankur Sinha Gmail) - 0.6.0-2 - feat: loosen deps * Fri Aug 23 2024 Ankur Sinha (Ankur Sinha Gmail) - 0.6.0-1 - init ## END: Generated by rpmautospec