RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Jeff Johnson
  Root:   /v/rpm/cvs                       Email:  j...@rpm5.org
  Module: rpm                              Date:   19-Oct-2010 05:02:00
  Branch: HEAD                             Handle: 2010101903015901

  Modified files:
    rpm                     CHANGES
    rpm/macros              python.in
    rpm/scripts             Makefile.am

  Log:
    - revert last change.

  Summary:
    Revision    Changes     Path
    1.3483      +0  -2      rpm/CHANGES
    1.6         +13 -22     rpm/macros/python.in
    1.73        +4  -4      rpm/scripts/Makefile.am
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/CHANGES
  ============================================================================
  $ cvs diff -u -r1.3482 -r1.3483 CHANGES
  --- rpm/CHANGES       19 Oct 2010 02:49:06 -0000      1.3482
  +++ rpm/CHANGES       19 Oct 2010 03:01:59 -0000      1.3483
  @@ -1,6 +1,4 @@
   5.3.4 -> 5.4a1:
  -    - proyvind: update and correctify %py_* directory macros.
  -    - proyvind: add automatic pythoneggs() dependencies.
       - proyvind: ditch %gem_unpack macro and make %setup automatically handle
        ruby gem extraction in stead.
       - jbj: sqlite: fix: permit building without sqlite, <db51/dbsql.h> 
instead.
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/macros/python.in
  ============================================================================
  $ cvs diff -u -r1.5 -r1.6 python.in
  --- rpm/macros/python.in      19 Oct 2010 02:49:06 -0000      1.5
  +++ rpm/macros/python.in      19 Oct 2010 03:02:00 -0000      1.6
  @@ -2,42 +2,33 @@
   # To make use of these macros insert the following line into your spec file:
   # %{load:%{_usrlibrpm}/macros.d/python}
   
  -%__python            @__PYTHON@
  +%__python    @__PYTHON@
   
   # Path to scripts to autogenerate python package dependencies,
   #
  -# Note: Used if _use_internal_dependency_generator is non-zero. The
  +# Note: Used iff _use_internal_dependency_generator is non-zero. The
   # helpers are also used by %{_rpmhome}/rpmdeps {--provides|--requires}.
   %__python_provides   %{_rpmhome}/pythondeps.sh --provides
   %__python_requires   %{_rpmhome}/pythondeps.sh --requires
  -%__python_suggests   %{_rpmhome}/pythoneggs.py --suggests
  -%__python_conflicts  %{_rpmhome}/pythoneggs.py --conflicts
   #
   # python main version
  -%py_ver                      %(echo `python -c "import sys; print 
sys.version[:3]"`)
  +%py_ver              %(echo `python -c "import sys; print sys.version[:3]"`)
   
   # directories
  -# directories
  -%py_ver                 %(python -c "import sys; v=sys.version_info[:2]; 
print '%%d.%%d'%%v" 2>/dev/null || echo PYTHON-NOT-FOUND)
  -%py_prefix              %(python -c "import sys; print sys.prefix" 
2>/dev/null || echo PYTHON-NOT-FOUND)
  -%py_platlibdir          %(python -c 'import distutils.sysconfig; print 
distutils.sysconfig.get_python_lib(standard_lib=1,plat_specific=1)' 2>/dev/null 
|| echo PYTHON-LIBDIR-NOT-FOUND)
  -%py_purelibdir          %(python -c 'import distutils.sysconfig; print 
distutils.sysconfig.get_python_lib(standard_lib=1,plat_specific=0)' 2>/dev/null 
|| echo PYTHON-LIBDIR-NOT-FOUND)
  -# backward compatibility
  -%py_libdir              %py_purelibdir
  -%py_incdir              %(python -c 'import distutils.sysconfig; print 
distutils.sysconfig.get_python_inc()' 2>/dev/null || echo 
PYTHON-INCLUDEDIR-NOT-FOUND)
  -%py_sitedir             %py_puresitedir
  -%py_platsitedir         %(python -c 'import distutils.sysconfig; print 
distutils.sysconfig.get_python_lib(plat_specific=1)' 2>/dev/null || echo 
PYTHON-LIBDIR-NOT-FOUND)
  -%py_puresitedir         %(python -c 'import distutils.sysconfig; print 
distutils.sysconfig.get_python_lib()' 2>/dev/null || echo 
PYTHON-LIBDIR-NOT-FOUND)
  -%py_dyndir           %{py_platlibdir}/lib-dynload
  +%py_prefix   %(echo `python -c "import sys; print sys.prefix"`)
  +%py_libdir   %{py_prefix}/lib/python%{py_ver}
  +%py_incdir   @oldincludedir@/python%{py_ver}
  +%py_sitedir  %{py_libdir}/site-packages
  +%py_dyndir   %{py_libdir}/lib-dynload
   
   # pure python modules compilation
  -%py_comp             %{__python} -c "import compileall; import sys; 
compileall.compile_dir(sys.argv[1], ddir=sys.argv[1][len('$RPM_BUILD_ROOT'):])"
  +%py_comp     %{__python} -c "import compileall; import sys; 
compileall.compile_dir(sys.argv[1], ddir=sys.argv[1][len('$RPM_BUILD_ROOT'):])"
   
  -%py_ocomp            %{__python} -O -c "import compileall; import sys; 
compileall.compile_dir(sys.argv[1], ddir=sys.argv[1][len('$RPM_BUILD_ROOT'):])"
  +%py_ocomp    %{__python} -O -c "import compileall; import sys; 
compileall.compile_dir(sys.argv[1], ddir=sys.argv[1][len('$RPM_BUILD_ROOT'):])"
   
  -%python_sitearch     %(%{__python} -c "import os; from distutils.sysconfig 
import get_python_lib; lib=get_python_lib(1); print os.path.islink(lib) and 
os.path.abspath(os.path.join(os.path.dirname(lib),os.readlink(lib))) or lib")
  -%python_sitelib              %(%{__python} -c "import os; from 
distutils.sysconfig import get_python_lib; lib=get_python_lib(); print 
os.path.islink(lib) and 
os.path.abspath(os.path.join(os.path.dirname(lib),os.readlink(lib))) or lib")
  -%python_version              %(%{__python} -c "import sys; 
print(sys.version[0:3])")
  +%python_sitearch %(%{__python} -c "import os; from distutils.sysconfig 
import get_python_lib; lib=get_python_lib(1); print os.path.islink(lib) and 
os.path.abspath(os.path.join(os.path.dirname(lib),os.readlink(lib))) or lib")
  +%python_sitelib      %(%{__python} -c "import os; from distutils.sysconfig 
import get_python_lib; lib=get_python_lib(); print os.path.islink(lib) and 
os.path.abspath(os.path.join(os.path.dirname(lib),os.readlink(lib))) or lib")
  +%python_version      %(%{__python} -c "import sys; print(sys.version[0:3])")
   
   %py_compile(O)  \
   find %1 -name '*.pyc' -name '*.pyo' -exec rm -f {} \\; \
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/scripts/Makefile.am
  ============================================================================
  $ cvs diff -u -r1.72 -r1.73 Makefile.am
  --- rpm/scripts/Makefile.am   19 Oct 2010 02:46:52 -0000      1.72
  +++ rpm/scripts/Makefile.am   19 Oct 2010 03:02:00 -0000      1.73
  @@ -17,13 +17,13 @@
        find-debuginfo.sh find-lang.sh find-prov.pl find-req.pl \
        find-provides.ksyms find-requires.ksyms kmodtool \
        cpanflute cpanflute2 Specfile.pm find-provides.perl \
  -     find-requires.perl freshen.sh gendiff gem_helper.rb getpo.sh http.req \
  +     find-requires.perl freshen.sh gendiff getpo.sh http.req \
        check-java-closure.sh java.prov.sh java.req.sh \
        javadeps.sh libtooldeps.sh \
        mono-find-provides mono-find-requires \
        nix_meta \
        osgideps.pl pkgconfigdeps.sh \
  -     perldeps.pl perl.prov perl.req pythoneggs.py \
  +     perldeps.pl perl.prov perl.req pythondeps.sh \
        php.prov php.req rpm2cpio \
        rpmdb_loadcvt rpmdiff rpmdiff.cgi \
        rpm.daily rpm.log rpm.xinetd \
  @@ -50,11 +50,11 @@
        check-files cross-build executabledeps.sh \
        find-debuginfo.sh find-lang.sh find-prov.pl find-req.pl \
        find-provides.perl \
  -     find-requires.perl gem_helper.rb getpo.sh http.req \
  +     find-requires.perl getpo.sh http.req \
        javadeps.sh libtooldeps.sh \
        mono-find-provides mono-find-requires \
        osgideps.pl pkgconfigdeps.sh \
  -     perldeps.pl perl.prov perl.req pythoneggs.py \
  +     perldeps.pl perl.prov perl.req pythondeps.sh \
        php.prov php.req \
        rpm2cpio rpmdb_loadcvt \
        rpm.daily rpm.log rpm.xinetd \
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to