rpms/libopensync/devel libopensync.spec,1.34,1.35

dmalcolm dmalcolm at fedoraproject.org
Mon Jul 26 21:13:50 UTC 2010


Author: dmalcolm

Update of /cvs/pkgs/rpms/libopensync/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv30569

Modified Files:
	libopensync.spec 
Log Message:
* Mon Jul 26 2010 David Malcolm <dmalcolm at redhat.com> - 1:0.22-7
- the SWIG major-version bump led to SWIG_LIB not being set in configure,
leading to python bindings not being built.  Work around this by bumping the
expected version in the configure file



Index: libopensync.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libopensync/devel/libopensync.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -p -r1.34 -r1.35
--- libopensync.spec	22 Jul 2010 02:15:51 -0000	1.34
+++ libopensync.spec	26 Jul 2010 21:13:50 -0000	1.35
@@ -2,7 +2,7 @@
 Name:           libopensync
 Epoch:          1
 Version:        0.22
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        A synchronization framework
 
 Group:          System Environment/Libraries
@@ -20,6 +20,9 @@ BuildRequires:  swig
 BuildRequires:  pkgconfig
 BuildRequires:  doxygen
 
+# For now (workaround for SWIG major-version bump)
+BuildRequires:  autoconf
+
 # provide clean downgrade path
 Provides: libopensync-plugin-kdepim = 0:0.36-2
 Obsoletes: libopensync-plugin-kdepim <= 0:0.36-2
@@ -50,6 +53,11 @@ with %{name}.
 %setup -q
 %patch0
 
+# Fixup expected version of SWIG:
+sed -i -e "s|AC_PROG_SWIG(1.3.17)|AC_PROG_SWIG(2.0.0)|" configure.in
+# and rebuild the configure script:
+autoconf
+
 find . -type f -name *.c -exec chmod 644 {} \;
 find . -type f -name *.h -exec chmod 644 {} \;
 
@@ -102,6 +110,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/pkgconfig/*
 
 %changelog
+* Mon Jul 26 2010 David Malcolm <dmalcolm at redhat.com> - 1:0.22-7
+- the SWIG major-version bump led to SWIG_LIB not being set in configure,
+leading to python bindings not being built.  Work around this by bumping the
+expected version in the configure file
+
 * Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 1:0.22-6
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 



More information about the scm-commits mailing list