## 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 Name: rust-diesel Version: 2.1.4 Release: %autorelease Summary: Safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL License: MIT OR Apache-2.0 URL: https://crates.io/crates/diesel Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unavailable "libsqlite3-sys/bundled_bindings" dependency Patch: diesel-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL.} %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 %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}+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}+bitflags-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bitflags-devel %{_description} This package contains library source intended for building other packages which use the "bitflags" feature of the "%{crate}" crate. %files -n %{name}+bitflags-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+byteorder-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+byteorder-devel %{_description} This package contains library source intended for building other packages which use the "byteorder" feature of the "%{crate}" crate. %files -n %{name}+byteorder-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}+huge-tables-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+huge-tables-devel %{_description} This package contains library source intended for building other packages which use the "huge-tables" feature of the "%{crate}" crate. %files -n %{name}+huge-tables-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+i-implement-a-third-party-backend-and-opt-into-breaking-changes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+i-implement-a-third-party-backend-and-opt-into-breaking-changes-devel %{_description} This package contains library source intended for building other packages which use the "i-implement-a-third-party-backend-and-opt-into-breaking-changes" feature of the "%{crate}" crate. %files -n %{name}+i-implement-a-third-party-backend-and-opt-into-breaking-changes-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ipnet-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ipnet-devel %{_description} This package contains library source intended for building other packages which use the "ipnet" feature of the "%{crate}" crate. %files -n %{name}+ipnet-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ipnet-address-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ipnet-address-devel %{_description} This package contains library source intended for building other packages which use the "ipnet-address" feature of the "%{crate}" crate. %files -n %{name}+ipnet-address-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ipnetwork-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ipnetwork-devel %{_description} This package contains library source intended for building other packages which use the "ipnetwork" feature of the "%{crate}" crate. %files -n %{name}+ipnetwork-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+itoa-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+itoa-devel %{_description} This package contains library source intended for building other packages which use the "itoa" feature of the "%{crate}" crate. %files -n %{name}+itoa-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+large-tables-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+large-tables-devel %{_description} This package contains library source intended for building other packages which use the "large-tables" feature of the "%{crate}" crate. %files -n %{name}+large-tables-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+libc-devel %{_description} This package contains library source intended for building other packages which use the "libc" feature of the "%{crate}" crate. %files -n %{name}+libc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libsqlite3-sys-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+libsqlite3-sys-devel %{_description} This package contains library source intended for building other packages which use the "libsqlite3-sys" feature of the "%{crate}" crate. %files -n %{name}+libsqlite3-sys-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+network-address-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+network-address-devel %{_description} This package contains library source intended for building other packages which use the "network-address" feature of the "%{crate}" crate. %files -n %{name}+network-address-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+nightly-error-messages-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+nightly-error-messages-devel %{_description} This package contains library source intended for building other packages which use the "nightly-error-messages" feature of the "%{crate}" crate. %files -n %{name}+nightly-error-messages-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}+postgres_backend-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+postgres_backend-devel %{_description} This package contains library source intended for building other packages which use the "postgres_backend" feature of the "%{crate}" crate. %files -n %{name}+postgres_backend-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pq-sys-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pq-sys-devel %{_description} This package contains library source intended for building other packages which use the "pq-sys" feature of the "%{crate}" crate. %files -n %{name}+pq-sys-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+quickcheck-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+quickcheck-devel %{_description} This package contains library source intended for building other packages which use the "quickcheck" feature of the "%{crate}" crate. %files -n %{name}+quickcheck-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}+returning_clauses_for_sqlite_3_35-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+returning_clauses_for_sqlite_3_35-devel %{_description} This package contains library source intended for building other packages which use the "returning_clauses_for_sqlite_3_35" feature of the "%{crate}" crate. %files -n %{name}+returning_clauses_for_sqlite_3_35-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde_json-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde_json-devel %{_description} This package contains library source intended for building other packages which use the "serde_json" feature of the "%{crate}" crate. %files -n %{name}+serde_json-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}+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}+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 -f sqlite %build %cargo_build -f sqlite %install %cargo_install -f sqlite %if %{with check} %check %cargo_test -f sqlite %endif %changelog ## START: Generated by rpmautospec * Fri Jan 26 2024 Fedora Release Engineering - 2.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Nov 16 2023 Fabio Valentini - 2.1.4-1 - Update to version 2.1.4; Fixes RHBZ#2249652 * Tue Oct 10 2023 Fabio Valentini - 2.1.3-1 - Update to version 2.1.3; Fixes RHBZ#2240658 * Sun Aug 27 2023 Fabio Valentini - 2.1.1-1 - Update to version 2.1.1; Fixes RHBZ#2234656 * Fri Aug 04 2023 Fabio Valentini - 2.1.0-1 - Update to version 2.1.0; Fixes RHBZ#2077947 * Fri Jul 21 2023 Fedora Release Engineering - 1.4.8-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Fabio Valentini - 1.4.8-8 - Regenerate with rust2rpm v24 * Tue Mar 07 2023 Fabio Valentini - 1.4.8-7 - Bump libsqlite3-sys to 0.25 * Fri Jan 20 2023 Fedora Release Engineering - 1.4.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 1.4.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.4.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Nov 13 2021 Robert-André Mauchin - 1.4.8-3 - Bump rusqlite to 0.26 * Tue Oct 05 2021 Fabio Valentini - 1.4.8-2 - Drop unsupported nightly-only "unstable" feature * Mon Sep 27 2021 Fabio Valentini - 1.4.8-1 - Update to version 1.4.8; Fixes RHBZ#2005793 * Fri Jul 23 2021 Fedora Release Engineering - 1.4.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 22 2021 Fabio Valentini - 1.4.7-1 - Update to version 1.4.7. - Fixes RHBZ#1969332 * Fri Mar 05 2021 Fabio Valentini - 1.4.6-1 - Update to version 1.4.6. * Wed Jan 27 2021 Fedora Release Engineering - 1.4.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Dec 12 2020 Fabio Valentini - 1.4.5-5 - Remove features with missing dependencies (bigdecimal, mysql, uuid). * Sat Aug 01 2020 Fedora Release Engineering - 1.4.5-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.4.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 24 2020 Dusty Mabe - 1.4.5-2 - Respin. We updated rust-ipnetwork to 0.17.0 * Wed Jun 10 2020 Josh Stone - 1.4.5-1 - Update to 1.4.5 * Sat May 16 13:18:15 CEST 2020 Igor Raits - 1.4.4-2 - Update libsqlite3-sys to 0.18 * Thu May 14 10:03:42 CEST 2020 Igor Raits - 1.4.4-1 - Initial package ## END: Generated by rpmautospec