- Dropped the now unneeded -lm patch
This commit is contained in:
Kalev Lember 2012-05-05 20:26:35 +03:00
parent d767e1728e
commit 4f86ea4e13
4 changed files with 8 additions and 25 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@
/pygobject-3.1.92.tar.xz
/pygobject-3.1.93.tar.xz
/pygobject-3.2.0.tar.xz
/pygobject-3.3.1.tar.xz

View File

@ -1,15 +0,0 @@
diff -up pygobject-3.0.0/configure.ac.lm pygobject-3.0.0/configure.ac
--- pygobject-3.0.0/configure.ac.lm 2011-09-28 08:30:20.922562047 -0400
+++ pygobject-3.0.0/configure.ac 2011-09-28 08:30:26.406607623 -0400
@@ -154,6 +154,11 @@ AM_PATH_GLIB_2_0(glib_required_version,,
if test -n "$export_dynamic"; then
GLIB_LIBS=`echo $GLIB_LIBS | sed -e "s/$export_dynamic//"`
fi
+
+AC_CHECK_LIBM
+AC_SUBST(LIBM)
+GLIB_LIBS="$GLIB_LIBS $LIBM"
+
PYTHON_BASENAME=`basename $PYTHON`
AC_SUBST([PYTHON_BASENAME])

View File

@ -11,17 +11,14 @@
### Abstract ###
Name: pygobject3
Version: 3.2.0
Version: 3.3.1
Release: 1%{?dist}
License: LGPLv2+ and MIT
Group: Development/Languages
Summary: Python 2 bindings for GObject Introspection
URL: https://live.gnome.org/PyGObject
#VCS: git:git://git.gnome.org/pygobject
Source: http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.2/pygobject-%{version}.tar.xz
### Patches ###
Patch0: lm.patch
Source: http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.3/pygobject-%{version}.tar.xz
### Build Dependencies ###
@ -34,7 +31,6 @@ BuildRequires: python3-cairo-devel
%endif # if with_python3
BuildRequires: pycairo-devel
BuildRequires: automake, autoconf, libtool
# The cairo override module depends on this
Requires: pycairo
@ -74,9 +70,6 @@ for use in Python 3 programs.
%prep
%setup -q -n pygobject-%{version}
%patch0 -p1 -b .lm
autoreconf
%if 0%{?with_python3}
rm -rf %{py3dir}
@ -150,6 +143,10 @@ find $RPM_BUILD_ROOT -name '*.a' -delete
%endif # with_python3
%changelog
* Sat May 05 2012 Kalev Lember <kalevlember@gmail.com> - 3.3.1-1
- Update to 3.3.1
- Dropped the now unneeded -lm patch
* Tue Mar 27 2012 Kalev Lember <kalevlember@gmail.com> - 3.2.0-1
- Update to 3.2.0

View File

@ -1 +1 @@
c5b0fd7138df98b42545f41ec043a995 pygobject-3.2.0.tar.xz
1f305006ab1561e34e24dc348f1188c0 pygobject-3.3.1.tar.xz