Fix buildrequires, Suggest and python3

This commit is contained in:
Thomas Andrejak 2017-01-19 07:24:58 +01:00
parent 6ce3e64d1a
commit 00031d99d7

View File

@ -21,7 +21,6 @@ BuildRequires: chrpath
BuildRequires: flex
BuildRequires: gtk-doc
BuildRequires: swig
BuildRequires: pkgconfig(gnutls)
BuildRequires: libgcrypt-devel
BuildRequires: libgpg-error-devel
BuildRequires: mysql-devel
@ -29,6 +28,7 @@ BuildRequires: postgresql-devel
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(libprelude) >= %{version}
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(gnutls)
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: python2-devel
@ -39,10 +39,6 @@ BuildRequires: pkgconfig(zlib)
BuildRequires: valgrind
%endif
Suggests: preludedb-mysql
Suggests: preludedb-pgsql
Suggests: preludedb-sqlite3
# Upstream do not use explicit version of gnulib, just checkout
# and update files. In libprelude 3.1.0, the checkout has been done
# on 2016-06-16
@ -134,7 +130,6 @@ Provides documentation for preludedb generated by gtk-doc.
--enable-shared \
--includedir=%{_includedir}/%{name} \
--with-swig \
--with-perl-installdirs=vendor \
--with-python2 \
--with-python3 \
--enable-gtk-doc \
@ -190,12 +185,11 @@ chmod +x %{buildroot}%{_datadir}/%{name}/classic/mysql2sqlite.sh
%{python2_sitearch}/_preludedb.*so
%{python2_sitearch}/preludedb-%{version}-py?.?.egg-info
%{python2_sitearch}/preludedb.py
%{python2_sitearch}/preludedb.pyc
%{python2_sitearch}/preludedb.pyo
%{python2_sitearch}/preludedb.py?
%files -n python%{python3_pkgversion}-preludedb
%{python3_sitearch}/_preludedb.*so
%{python3_sitearch}/__pycache__/preludedb.cpython-??.*pyc
%{python3_sitearch}/__pycache__/preludedb.cpython-??.*py?
%{python3_sitearch}/preludedb-%{version}-py?.?.egg-info
%{python3_sitearch}/preludedb.py