fix building

Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
Igor Gnatenko 2016-12-10 18:20:40 +01:00
parent 8729bbee6c
commit 388681cc3d

View File

@ -89,7 +89,7 @@ sed -i -e 's|^libdir=@libdir@$|libdir=@exec_prefix@/lib|g' src/gpgme-config.in
sed -i -e 's|GPG = gpg|GPG = gpg2|' tests/gpg/Makefile.{in,am} sed -i -e 's|GPG = gpg|GPG = gpg2|' tests/gpg/Makefile.{in,am}
%build %build
%configure --disable-static --disable-silent-rules --enable-languages=python,python2,python3 %configure --disable-static --disable-silent-rules --enable-languages=python
%make_build %make_build
%install %install
@ -149,11 +149,12 @@ fi
%{_infodir}/%{name}.info* %{_infodir}/%{name}.info*
%files -n python2-%{name} %files -n python2-%{name}
%doc lang/python/README
%{python2_sitearch}/gpg-*.egg-info %{python2_sitearch}/gpg-*.egg-info
%{python2_sitearch}/gpg/ %{python2_sitearch}/gpg/
%files -n python3-%{name} %files -n python3-%{name}
%doc lang/python/README lang/python/docs %doc lang/python/README
%{python3_sitearch}/gpg-*.egg-info %{python3_sitearch}/gpg-*.egg-info
%{python3_sitearch}/gpg/ %{python3_sitearch}/gpg/