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