remove features with missing dependencies (postgres, tokio-postgres)

epel9
Fabio Valentini 4 years ago
parent 32d644a3d3
commit 213de1a3a6
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -0,0 +1,7 @@
[DEFAULT]
unwanted-features =
db-postgres
db-tokio-postgres
postgres
tokio-pg
tokio-postgres

@ -1,4 +1,4 @@
# Generated by rust2rpm 13
# Generated by rust2rpm 16
%bcond_without check
%global debug_package %{nil}
@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 1.8.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Decimal Implementation written in pure Rust suitable for financial calculations
# Upstream license specification: MIT
@ -89,30 +89,6 @@ which use "db-diesel-postgres" feature of "%{crate}" crate.
%files -n %{name}+db-diesel-postgres-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+db-postgres-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+db-postgres-devel %{_description}
This package contains library source intended for building other packages
which use "db-postgres" feature of "%{crate}" crate.
%files -n %{name}+db-postgres-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+db-tokio-postgres-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+db-tokio-postgres-devel %{_description}
This package contains library source intended for building other packages
which use "db-tokio-postgres" feature of "%{crate}" crate.
%files -n %{name}+db-tokio-postgres-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+diesel-devel
Summary: %{summary}
BuildArch: noarch
@ -125,18 +101,6 @@ which use "diesel" feature of "%{crate}" crate.
%files -n %{name}+diesel-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "postgres" feature of "%{crate}" crate.
%files -n %{name}+postgres-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
@ -185,30 +149,6 @@ which use "std" feature of "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+tokio-pg-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-pg-devel %{_description}
This package contains library source intended for building other packages
which use "tokio-pg" feature of "%{crate}" crate.
%files -n %{name}+tokio-pg-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+tokio-postgres-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-postgres-devel %{_description}
This package contains library source intended for building other packages
which use "tokio-postgres" feature of "%{crate}" crate.
%files -n %{name}+tokio-postgres-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
@ -228,6 +168,9 @@ which use "tokio-postgres" feature of "%{crate}" crate.
%endif
%changelog
* Sat Dec 12 2020 Fabio Valentini <decathorpe@gmail.com> - 1.8.1-2
- Remove features with missing dependencies (postgres, tokio-postgres).
* Wed Sep 23 2020 Fabio Valentini <decathorpe@gmail.com> - 1.8.1-1
- Update to version 1.8.1.

Loading…
Cancel
Save