rpms/compat-wxGTK26/devel compat-wxGTK26.spec,1.21,1.22
Michael Schwendt
mschwendt at fedoraproject.org
Wed Mar 25 07:33:11 UTC 2009
Author: mschwendt
Update of /cvs/extras/rpms/compat-wxGTK26/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20590
Modified Files:
compat-wxGTK26.spec
Log Message:
* Wed Mar 25 2009 Michael Schwendt <mschwendt at fedoraproject.org> - 2.6.4-7
- add check section with tiny compilation check for wx/setup.h wrapper
Index: compat-wxGTK26.spec
===================================================================
RCS file: /cvs/extras/rpms/compat-wxGTK26/devel/compat-wxGTK26.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- compat-wxGTK26.spec 24 Mar 2009 20:32:05 -0000 1.21
+++ compat-wxGTK26.spec 25 Mar 2009 07:32:41 -0000 1.22
@@ -1,6 +1,6 @@
Name: compat-wxGTK26
Version: 2.6.4
-Release: 6
+Release: 7
Summary: GTK2 port of the wxWidgets GUI library
# The wxWindows licence is the LGPL with a specific exemption allowing
# distribution of derived binaries under any terms. (This will eventually
@@ -90,6 +90,7 @@
make %{?_smp_mflags} -C contrib/src/gizmos
make %{?_smp_mflags} -C contrib/src/animate
+
%install
rm -rf $RPM_BUILD_ROOT
@@ -151,6 +152,13 @@
${RPM_BUILD_ROOT}%{_datadir}/aclocal/wxwin-2.6.m4
+%check
+# Roughly test that the wx/setup.h wrapper can be compiled.
+inc=$(dirname $(find ${RPM_BUILD_ROOT}%{_prefix}/lib/wx -name setup.h))
+printf '#include <wx/setup.h>\nint main() { return 0; }\n' > __t.cc
+g++ -I${inc}/.. -I${RPM_BUILD_ROOT}%{_includedir}/wx-2.6 __t.cc -c
+
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -192,6 +200,9 @@
%changelog
+* Wed Mar 25 2009 Michael Schwendt <mschwendt at fedoraproject.org> - 2.6.4-7
+- add check section with tiny compilation check for wx/setup.h wrapper
+
* Tue Mar 24 2009 Michael Schwendt <mschwendt at fedoraproject.org> - 2.6.4-6
- resolve multi-arch conflict in wx/setup.h
More information about the fedora-extras-commits
mailing list