[python3] Build with $RPM_LD_FLAGS (#756863). Use xz-compressed source tarball.

Ville Skyttä scop at fedoraproject.org
Wed Jan 4 20:15:50 UTC 2012


commit 8a69a67643ea4eac77462fc307922efc9264d507
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Wed Jan 4 22:15:40 2012 +0200

    Build with $RPM_LD_FLAGS (#756863).
    Use xz-compressed source tarball.

 .gitignore   |   11 +----------
 python3.spec |   10 +++++++---
 sources      |    2 +-
 3 files changed, 9 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ec6198e..dafa321 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,10 +1 @@
-libpython-36a517ef7848cbd0b3dcc7371f32e47ac4c87eba.tar.gz
-Python-3.1.2.tar.bz2
-Python-3.2a1.tar.bz2
-/Python-3.2b2.tar.bz2
-/Python-3.2rc1.tar.bz2
-/Python-3.2rc2.tar.bz2
-/Python-3.2rc3.tar.bz2
-/Python-3.2.tar.bz2
-/Python-3.2.1.tar.bz2
-/Python-3.2.2.tar.bz2
+/*.tar.*
diff --git a/python3.spec b/python3.spec
index 11bc653..382d288 100644
--- a/python3.spec
+++ b/python3.spec
@@ -122,7 +122,7 @@
 Summary: Version 3 of the Python programming language aka Python 3000
 Name: python3
 Version: %{pybasever}.2
-Release: 10%{?dist}
+Release: 11%{?dist}
 License: Python
 Group: Development/Languages
 
@@ -178,7 +178,7 @@ BuildRequires: zlib-devel
 # Source code and patches
 # =======================
 
-Source: http://www.python.org/ftp/python/%{version}/Python-%{version}.tar.bz2
+Source: http://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz
 
 # Avoid having various bogus auto-generated Provides lines for the various
 # python c modules' SONAMEs:
@@ -618,7 +618,7 @@ export CPPFLAGS="`pkg-config --cflags-only-I libffi`"
 export OPT="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC -fwrapv"
 export LINKCC="gcc"
 export CFLAGS="$CFLAGS `pkg-config --cflags openssl`"
-export LDFLAGS="$LDFLAGS `pkg-config --libs-only-L openssl`"
+export LDFLAGS="$RPM_LD_FLAGS `pkg-config --libs-only-L openssl`"
 
 %if 0%{regenerate_autotooling_patch}
 # If enabled, this code regenerates the patch to "configure", using a
@@ -1400,6 +1400,10 @@ rm -fr %{buildroot}
 # ======================================================
 
 %changelog
+* Wed Jan  4 2012 Ville Skyttä <ville.skytta at iki.fi> - 3.2.2-11
+- Build with $RPM_LD_FLAGS (#756863).
+- Use xz-compressed source tarball.
+
 * Wed Dec 07 2011 Karsten Hopp <karsten at redhat.com> 3.2.2-10
 - disable rAssertAlmostEqual in test_cmath on PPC (#750811)
 
diff --git a/sources b/sources
index ba6917c..fd9f0fc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9d763097a13a59ff53428c9e4d098a05  Python-3.2.2.tar.bz2
+3720ce9460597e49264bbb63b48b946d  Python-3.2.2.tar.xz


More information about the scm-commits mailing list