Blame rust-diesel.spec

27fb945
# Generated by rust2rpm 16
8470afe
# * dev-deps are outdated, https://github.com/diesel-rs/diesel/issues/2393
8470afe
%bcond_with check
8470afe
%global debug_package %{nil}
8470afe
8470afe
%global crate diesel
8470afe
8470afe
Name:           rust-%{crate}
90ea049
Version:        1.4.5
27fb945
Release:        5%{?dist}
8470afe
Summary:        Safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL
8470afe
8470afe
# Upstream license specification: MIT OR Apache-2.0
8470afe
License:        MIT or ASL 2.0
8470afe
URL:            https://crates.io/crates/diesel
8470afe
Source:         %{crates_source}
dbe83b3
# For rust-ipnetwork 0.17.0
dbe83b3
# https://github.com/diesel-rs/diesel/pull/2464
dbe83b3
Patch0:         diesel-fix-metadata.diff
8470afe
8470afe
ExclusiveArch:  %{rust_arches}
8470afe
%if %{__cargo_skip_build}
8470afe
BuildArch:      noarch
8470afe
%endif
8470afe
8470afe
BuildRequires:  rust-packaging
8470afe
8470afe
%global _description %{expand:
8470afe
Safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL.}
8470afe
8470afe
%description %{_description}
8470afe
8470afe
%package        devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description    devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "%{crate}" crate.
8470afe
8470afe
%files          devel
90ea049
%license LICENSE-APACHE LICENSE-MIT
8470afe
%doc README.md
8470afe
%{cargo_registry}/%{crate}-%{version_no_tilde}/
8470afe
8470afe
%package     -n %{name}+default-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+default-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "default" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+default-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+128-column-tables-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+128-column-tables-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "128-column-tables" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+128-column-tables-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+32-column-tables-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+32-column-tables-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "32-column-tables" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+32-column-tables-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+64-column-tables-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+64-column-tables-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "64-column-tables" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+64-column-tables-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+bitflags-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+bitflags-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "bitflags" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+bitflags-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+chrono-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+chrono-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "chrono" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+chrono-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+deprecated-time-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+deprecated-time-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "deprecated-time" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+deprecated-time-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+huge-tables-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+huge-tables-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "huge-tables" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+huge-tables-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+ipnetwork-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+ipnetwork-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "ipnetwork" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+ipnetwork-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+large-tables-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+large-tables-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "large-tables" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+large-tables-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+libc-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+libc-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "libc" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+libc-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+libsqlite3-sys-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+libsqlite3-sys-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "libsqlite3-sys" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+libsqlite3-sys-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+network-address-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+network-address-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "network-address" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+network-address-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+num-integer-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+num-integer-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "num-integer" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+num-integer-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+num-traits-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+num-traits-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "num-traits" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+num-traits-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+postgres-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+postgres-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "postgres" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+postgres-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+pq-sys-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+pq-sys-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "pq-sys" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+pq-sys-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+r2d2-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+r2d2-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "r2d2" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+r2d2-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+serde_json-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+serde_json-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "serde_json" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+serde_json-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+sqlite-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+sqlite-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "sqlite" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+sqlite-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+time-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+time-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "time" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+time-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+unstable-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+unstable-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "unstable" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+unstable-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+url-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+url-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "url" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+url-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+uuidv07-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+uuidv07-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "uuidv07" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+uuidv07-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+with-deprecated-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+with-deprecated-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "with-deprecated" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+with-deprecated-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+x128-column-tables-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+x128-column-tables-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "x128-column-tables" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+x128-column-tables-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+x32-column-tables-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+x32-column-tables-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "x32-column-tables" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+x32-column-tables-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%package     -n %{name}+x64-column-tables-devel
8470afe
Summary:        %{summary}
8470afe
BuildArch:      noarch
8470afe
8470afe
%description -n %{name}+x64-column-tables-devel %{_description}
8470afe
8470afe
This package contains library source intended for building other packages
8470afe
which use "x64-column-tables" feature of "%{crate}" crate.
8470afe
8470afe
%files       -n %{name}+x64-column-tables-devel
8470afe
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8470afe
8470afe
%prep
8470afe
%autosetup -n %{crate}-%{version_no_tilde} -p1
8470afe
%cargo_prep
8470afe
8470afe
%generate_buildrequires
8470afe
%cargo_generate_buildrequires
8470afe
8470afe
%build
8470afe
%cargo_build
8470afe
8470afe
%install
8470afe
%cargo_install
8470afe
8470afe
%if %{with check}
8470afe
%check
8470afe
%cargo_test
8470afe
%endif
8470afe
8470afe
%changelog
27fb945
* Sat Dec 12 2020 Fabio Valentini <decathorpe@gmail.com> - 1.4.5-5
27fb945
- Remove features with missing dependencies (bigdecimal, mysql, uuid).
27fb945
19a6f45
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.5-4
19a6f45
- Second attempt - Rebuilt for
19a6f45
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
19a6f45
47b5666
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.5-3
47b5666
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
47b5666
dbe83b3
* Fri Jul 24 2020 Dusty Mabe <dusty@dustymabe.com> - 1.4.5-2
dbe83b3
- Respin. We updated rust-ipnetwork to 0.17.0
dbe83b3
90ea049
* Wed Jun 10 2020 Josh Stone <jistone@redhat.com> - 1.4.5-1
90ea049
- Update to 1.4.5
90ea049
659f5ce
* Sat May 16 13:18:15 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.4.4-2
659f5ce
- Update libsqlite3-sys to 0.18
659f5ce
8470afe
* Thu May 14 10:03:42 CEST 2020 Igor Raits <i.gnatenko.brain@gmail.com> - 1.4.4-1
8470afe
- Initial package