Don't check for libglade - we require it. There was left-over conditionalization
of unclear purpose based on the results of 'pkg-config libglade-2.0'
This commit is contained in:
parent
1a38740ddf
commit
2112ca29d8
10
pygtk2.spec
10
pygtk2.spec
@ -7,13 +7,11 @@
|
|||||||
%define pygobject2_version 2.21.3
|
%define pygobject2_version 2.21.3
|
||||||
%define python2_version 2.3.5
|
%define python2_version 2.3.5
|
||||||
|
|
||||||
%define buildglade %(pkg-config libglade-2.0 && echo 1 || echo 0)
|
|
||||||
|
|
||||||
### Abstract ###
|
### Abstract ###
|
||||||
|
|
||||||
Name: pygtk2
|
Name: pygtk2
|
||||||
Version: 2.24.0
|
Version: 2.24.0
|
||||||
Release: 23%{?dist}
|
Release: 24%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Summary: Python bindings for GTK+
|
Summary: Python bindings for GTK+
|
||||||
URL: http://www.pygtk.org/
|
URL: http://www.pygtk.org/
|
||||||
@ -126,10 +124,8 @@ find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
|
|||||||
%{python2_sitearch}/gtk-2.0/gtk/_gtk.so
|
%{python2_sitearch}/gtk-2.0/gtk/_gtk.so
|
||||||
%{python2_sitearch}/gtk-2.0/*.so
|
%{python2_sitearch}/gtk-2.0/*.so
|
||||||
|
|
||||||
%if %{buildglade}
|
|
||||||
%files libglade
|
%files libglade
|
||||||
%{python2_sitearch}/gtk-2.0/gtk/glade.so
|
%{python2_sitearch}/gtk-2.0/gtk/glade.so
|
||||||
%endif
|
|
||||||
|
|
||||||
%files codegen
|
%files codegen
|
||||||
%{_bindir}/pygtk-codegen-2.0
|
%{_bindir}/pygtk-codegen-2.0
|
||||||
@ -144,6 +140,10 @@ find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
|
|||||||
%{_datadir}/gtk-doc/html/pygtk/
|
%{_datadir}/gtk-doc/html/pygtk/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 2 2018 Owen Taylor <otaylor@redhat.com> - 2.24.0-24
|
||||||
|
- Don't check for libglade - we require it. There was left-over conditionalization
|
||||||
|
of unclear purpose based on the results of 'pkg-config libglade-2.0'
|
||||||
|
|
||||||
* Mon Jul 16 2018 Leigh Scott <leigh123linux@googlemail.com> - 2.24.0-23
|
* Mon Jul 16 2018 Leigh Scott <leigh123linux@googlemail.com> - 2.24.0-23
|
||||||
- Swap to python2 sitearch macro
|
- Swap to python2 sitearch macro
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user