]> git.pld-linux.org Git - packages/python.git/commitdiff
- rel 3; rework options to avoid case when part of object files were built with one... auto/th/python-2.7.6-3
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 21 Feb 2014 18:36:17 +0000 (19:36 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 21 Feb 2014 18:36:17 +0000 (19:36 +0100)
python.spec

index 8bc7bacb4af89b0b86679b502937b9a4c3f81733..c8d1204f39aa5d62d0202e750931240c03f63402 100644 (file)
@@ -43,7 +43,7 @@ Summary(tr.UTF-8):    X arayüzlü, yüksek düzeyli, kabuk yorumlayıcı dili
 Summary(uk.UTF-8):     Мова програмування дуже високого рівня з X-інтерфейсом
 Name:          python
 Version:       %{py_ver}.6
-Release:       2
+Release:       3
 Epoch:         1
 License:       PSF
 Group:         Development/Languages/Python
@@ -593,24 +593,22 @@ cp -a Lib/plat-linux2 Lib/plat-linux3
 %build
 %{__aclocal}
 %{__autoconf}
-CPPFLAGS="-I/usr/include/ncursesw %{rpmcppflags}"; export CPPFLAGS
 %configure \
+       OPT="%{rpmcflags}" \
+       CPPFLAGS="%{rpmcppflags}" \
+       LDFLAGS="%{rpmldflags}" \
        ac_cv_posix_semaphores_enabled=yes \
        ac_cv_broken_sem_getvalue=no \
+       %{?with_debug:--with-pydebug} \
        --with-threads \
        --with-cxx-main="%{__cxx}" \
        --with-system-ffi \
        --enable-ipv6 \
        --enable-unicode=ucs4 \
        --enable-shared \
-       --with-dbmliborder=gdbm:bdb \
-       LINKCC='$(PURIFY) $(CXX)' \
-       LDSHARED='$(CC) $(CFLAGS) -shared' \
-       BLDSHARED='$(CC) $(CFLAGS) -shared' \
-       LDFLAGS="%{rpmcflags} %{rpmldflags}"
-
-%{__make} \
-       OPT="%{rpmcflags}" 2>&1 | awk '
+       --with-dbmliborder=gdbm:bdb
+
+%{__make} 2>&1 | awk '
 BEGIN { fail = 0; logmsg = ""; }
 {
                if ($0 ~ /\*\*\* WARNING:/) {
This page took 0.155675 seconds and 4 git commands to generate.