|
|
|
@ -16,12 +16,12 @@ Source: %{crates_source}
|
|
|
|
|
# * remove features for building vendored sqlite3 and sqlcipher sources
|
|
|
|
|
# * drop Windows- and WASM-specific features
|
|
|
|
|
# * exclude files that are only useful for upstream development
|
|
|
|
|
# * drop unused support for sqlcipher
|
|
|
|
|
Patch: libsqlite3-sys-fix-metadata.diff
|
|
|
|
|
# * unconditionally enable building with bindgen and pkg-config
|
|
|
|
|
Patch: 0001-unconditionally-enable-building-with-bindgen-and-pkg.patch
|
|
|
|
|
Patch1: 0001-unconditionally-enable-building-with-bindgen-and-pkg.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
BuildRequires: pkgconfig(sqlcipher)
|
|
|
|
|
BuildRequires: pkgconfig(sqlite3) >= 3.7.16
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
@ -104,19 +104,6 @@ use the "session" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+session-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+sqlcipher-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: pkgconfig(sqlcipher)
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+sqlcipher-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "sqlcipher" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+sqlcipher-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+unlock_notify-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -129,18 +116,6 @@ use the "unlock_notify" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+unlock_notify-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+with-asan-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+with-asan-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "with-asan" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+with-asan-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|