## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 25 %bcond_without check %global debug_package %{nil} %global crate diesel_derives Name: rust-diesel_derives Version: 2.1.2 Release: %autorelease Summary: You should not use this crate directly, it is internal to Diesel License: MIT OR Apache-2.0 URL: https://crates.io/crates/diesel_derives Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: You should not use this crate directly, it is internal to Diesel.} %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-APACHE %license %{crate_instdir}/LICENSE-MIT %{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}+128-column-tables-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+128-column-tables-devel %{_description} This package contains library source intended for building other packages which use the "128-column-tables" feature of the "%{crate}" crate. %files -n %{name}+128-column-tables-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+32-column-tables-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+32-column-tables-devel %{_description} This package contains library source intended for building other packages which use the "32-column-tables" feature of the "%{crate}" crate. %files -n %{name}+32-column-tables-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+64-column-tables-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+64-column-tables-devel %{_description} This package contains library source intended for building other packages which use the "64-column-tables" feature of the "%{crate}" crate. %files -n %{name}+64-column-tables-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+chrono-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+chrono-devel %{_description} This package contains library source intended for building other packages which use the "chrono" feature of the "%{crate}" crate. %files -n %{name}+chrono-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+postgres-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+postgres-devel %{_description} This package contains library source intended for building other packages which use the "postgres" feature of the "%{crate}" crate. %files -n %{name}+postgres-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+r2d2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+r2d2-devel %{_description} This package contains library source intended for building other packages which use the "r2d2" feature of the "%{crate}" crate. %files -n %{name}+r2d2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sqlite-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sqlite-devel %{_description} This package contains library source intended for building other packages which use the "sqlite" feature of the "%{crate}" crate. %files -n %{name}+sqlite-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+time-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+time-devel %{_description} This package contains library source intended for building other packages which use the "time" feature of the "%{crate}" crate. %files -n %{name}+time-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+with-deprecated-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+with-deprecated-devel %{_description} This package contains library source intended for building other packages which use the "with-deprecated" feature of the "%{crate}" crate. %files -n %{name}+with-deprecated-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+without-deprecated-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+without-deprecated-devel %{_description} This package contains library source intended for building other packages which use the "without-deprecated" feature of the "%{crate}" crate. %files -n %{name}+without-deprecated-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 # * doctests can only be run in-tree %cargo_test -- --lib %endif %changelog ## START: Generated by rpmautospec * Fri Jan 26 2024 Fedora Release Engineering - 2.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Oct 10 2023 Fabio Valentini - 2.1.2-1 - Update to version 2.1.2; Fixes RHBZ#2240657 * Sun Aug 27 2023 Fabio Valentini - 2.1.1-1 - Update to version 2.1.1; Fixes RHBZ#2234657 * Fri Aug 04 2023 Fabio Valentini - 2.1.0-1 - Update to version 2.1.0; Fixes RHBZ#2122245 * Fri Jul 21 2023 Fedora Release Engineering - 1.4.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu May 25 2023 Fabio Valentini - 1.4.1-11 - Regenerate with rust2rpm v24 and add missing license files * Fri Jan 20 2023 Fedora Release Engineering - 1.4.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 1.4.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.4.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Sep 27 2021 Fabio Valentini - 1.4.1-6 - Drop unspported nightly-only feature. * Tue Jul 27 2021 Fedora Release Engineering - 1.4.1-5 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.4.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 1.4.1-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 12 17:46:32 CEST 2020 Igor Raits - 1.4.1-1 - Initial package ## END: Generated by rpmautospec