Blame rust-diesel_derives.spec

4c586de
# Generated by rust2rpm 26
801c964
%bcond_without check
3123338
%global debug_package %{nil}
3123338
3123338
%global crate diesel_derives
3123338
113777d
Name:           rust-diesel_derives
4c586de
Version:        2.1.4
31f579b
Release:        %autorelease
113777d
Summary:        You should not use this crate directly, it is internal to Diesel
3123338
113777d
License:        MIT OR Apache-2.0
3123338
URL:            https://crates.io/crates/diesel_derives
801c964
Source:         %{crates_source}
3123338
2e533be
BuildRequires:  cargo-rpm-macros >= 24
3123338
3123338
%global _description %{expand:
3123338
You should not use this crate directly, it is internal to Diesel.}
3123338
3123338
%description %{_description}
3123338
3123338
%package        devel
3123338
Summary:        %{summary}
3123338
BuildArch:      noarch
3123338
3123338
%description    devel %{_description}
3123338
113777d
This package contains library source intended for building other packages which
113777d
use the "%{crate}" crate.
3123338
3123338
%files          devel
113777d
%license %{crate_instdir}/LICENSE-APACHE
113777d
%license %{crate_instdir}/LICENSE-MIT
113777d
%{crate_instdir}/
3123338
3123338
%package     -n %{name}+default-devel
3123338
Summary:        %{summary}
3123338
BuildArch:      noarch
3123338
3123338
%description -n %{name}+default-devel %{_description}
3123338
113777d
This package contains library source intended for building other packages which
113777d
use the "default" feature of the "%{crate}" crate.
3123338
3123338
%files       -n %{name}+default-devel
113777d
%ghost %{crate_instdir}/Cargo.toml
3123338
801c964
%package     -n %{name}+128-column-tables-devel
3123338
Summary:        %{summary}
3123338
BuildArch:      noarch
3123338
801c964
%description -n %{name}+128-column-tables-devel %{_description}
3123338
113777d
This package contains library source intended for building other packages which
801c964
use the "128-column-tables" feature of the "%{crate}" crate.
3123338
801c964
%files       -n %{name}+128-column-tables-devel
801c964
%ghost %{crate_instdir}/Cargo.toml
801c964
801c964
%package     -n %{name}+32-column-tables-devel
801c964
Summary:        %{summary}
801c964
BuildArch:      noarch
801c964
801c964
%description -n %{name}+32-column-tables-devel %{_description}
801c964
801c964
This package contains library source intended for building other packages which
801c964
use the "32-column-tables" feature of the "%{crate}" crate.
801c964
801c964
%files       -n %{name}+32-column-tables-devel
801c964
%ghost %{crate_instdir}/Cargo.toml
801c964
801c964
%package     -n %{name}+64-column-tables-devel
801c964
Summary:        %{summary}
801c964
BuildArch:      noarch
801c964
801c964
%description -n %{name}+64-column-tables-devel %{_description}
801c964
801c964
This package contains library source intended for building other packages which
801c964
use the "64-column-tables" feature of the "%{crate}" crate.
801c964
801c964
%files       -n %{name}+64-column-tables-devel
113777d
%ghost %{crate_instdir}/Cargo.toml
3123338
e645ce5
%package     -n %{name}+chrono-devel
e645ce5
Summary:        %{summary}
e645ce5
BuildArch:      noarch
e645ce5
e645ce5
%description -n %{name}+chrono-devel %{_description}
e645ce5
e645ce5
This package contains library source intended for building other packages which
e645ce5
use the "chrono" feature of the "%{crate}" crate.
e645ce5
e645ce5
%files       -n %{name}+chrono-devel
e645ce5
%ghost %{crate_instdir}/Cargo.toml
e645ce5
3123338
%package     -n %{name}+postgres-devel
3123338
Summary:        %{summary}
3123338
BuildArch:      noarch
3123338
3123338
%description -n %{name}+postgres-devel %{_description}
3123338
113777d
This package contains library source intended for building other packages which
113777d
use the "postgres" feature of the "%{crate}" crate.
3123338
3123338
%files       -n %{name}+postgres-devel
113777d
%ghost %{crate_instdir}/Cargo.toml
3123338
801c964
%package     -n %{name}+r2d2-devel
801c964
Summary:        %{summary}
801c964
BuildArch:      noarch
801c964
801c964
%description -n %{name}+r2d2-devel %{_description}
801c964
801c964
This package contains library source intended for building other packages which
801c964
use the "r2d2" feature of the "%{crate}" crate.
801c964
801c964
%files       -n %{name}+r2d2-devel
801c964
%ghost %{crate_instdir}/Cargo.toml
801c964
3123338
%package     -n %{name}+sqlite-devel
3123338
Summary:        %{summary}
3123338
BuildArch:      noarch
3123338
3123338
%description -n %{name}+sqlite-devel %{_description}
3123338
113777d
This package contains library source intended for building other packages which
113777d
use the "sqlite" feature of the "%{crate}" crate.
3123338
3123338
%files       -n %{name}+sqlite-devel
113777d
%ghost %{crate_instdir}/Cargo.toml
3123338
e645ce5
%package     -n %{name}+time-devel
e645ce5
Summary:        %{summary}
e645ce5
BuildArch:      noarch
e645ce5
e645ce5
%description -n %{name}+time-devel %{_description}
e645ce5
e645ce5
This package contains library source intended for building other packages which
e645ce5
use the "time" feature of the "%{crate}" crate.
e645ce5
e645ce5
%files       -n %{name}+time-devel
e645ce5
%ghost %{crate_instdir}/Cargo.toml
e645ce5
801c964
%package     -n %{name}+with-deprecated-devel
801c964
Summary:        %{summary}
801c964
BuildArch:      noarch
801c964
801c964
%description -n %{name}+with-deprecated-devel %{_description}
801c964
801c964
This package contains library source intended for building other packages which
801c964
use the "with-deprecated" feature of the "%{crate}" crate.
801c964
801c964
%files       -n %{name}+with-deprecated-devel
801c964
%ghost %{crate_instdir}/Cargo.toml
801c964
801c964
%package     -n %{name}+without-deprecated-devel
801c964
Summary:        %{summary}
801c964
BuildArch:      noarch
801c964
801c964
%description -n %{name}+without-deprecated-devel %{_description}
801c964
801c964
This package contains library source intended for building other packages which
801c964
use the "without-deprecated" feature of the "%{crate}" crate.
801c964
801c964
%files       -n %{name}+without-deprecated-devel
801c964
%ghost %{crate_instdir}/Cargo.toml
801c964
3123338
%prep
2e533be
%autosetup -n %{crate}-%{version} -p1
3123338
%cargo_prep
3123338
3123338
%generate_buildrequires
3123338
%cargo_generate_buildrequires
3123338
3123338
%build
3123338
%cargo_build
3123338
3123338
%install
3123338
%cargo_install
3123338
3123338
%if %{with check}
3123338
%check
801c964
# * doctests can only be run in-tree
801c964
%cargo_test -- --lib
3123338
%endif
3123338
3123338
%changelog
31f579b
%autochangelog