diff --git a/rpm-python.spec b/rpm-python.spec index 961cad7..4178715 100644 --- a/rpm-python.spec +++ b/rpm-python.spec @@ -1,7 +1,7 @@ # # spec file for package rpm-python # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ BuildRequires: libelf-devel BuildRequires: libselinux-devel BuildRequires: libsemanage-devel BuildRequires: libtool -BuildRequires: lua-devel +BuildRequires: lua51-devel BuildRequires: ncurses-devel BuildRequires: popt-devel BuildRequires: python-devel diff --git a/rpm-suse_macros b/rpm-suse_macros index 6db533a..7d7b9ae 100644 --- a/rpm-suse_macros +++ b/rpm-suse_macros @@ -115,44 +115,11 @@ %nil # %{suse_update_config [-fcl] [dirs...]} -# -f: force, ignore timestamp -# -c: no config.guess,config.sub -# -l: no ltconfig,ltmain.sh %suse_update_config(fcl) \ - AUTOMAKE_DIR=/usr/share/automake \ - [ -d $AUTOMAKE_DIR ] || AUTOMAKE_DIR=/usr/share/automake* \ - %{!-c:\ - [ -d $AUTOMAKE_DIR ] || { \ - echo 'Please, install automake.' \ - exit 1 \ - } \ - } \ - for d in . %{?*}; do \ - %{!-c:\ - for f in config.sub config.guess; do \ - if test -f $d/$f -a ! $d/$f -ef $AUTOMAKE_DIR/$f ; then \ - %{!-f:[ $d/$f -nt $AUTOMAKE_DIR/$f ] ||} cp -f $AUTOMAKE_DIR/$f $d/$f \ - fi \ - if test -d $d -a ! -f $d/depcomp -a -f $AUTOMAKE_DIR/depcomp ; then \ - cp -f $AUTOMAKE_DIR/depcomp $d/depcomp \ - echo "please add depcomp to sources for new automake!" \ - fi \ - if test -f $d/missing -a ! $d/missing -ef $AUTOMAKE_DIR/missing ; then \ - cp -f $AUTOMAKE_DIR/missing $d/missing \ - fi \ - done \ - } \ - %{!-l:\ - for f in ltconfig ltmain.sh; do \ - if test -f $d/$f; then \ - sed 's/linux-gnu\\([^*][^*]*\\)\\*/linux*\\1*/g; s/linux-gnu/linux/g; s,/lib\\\>,/%_lib,g; s,/%_lib\\([\$-]\\),/lib\\1,g' $d/$f > $d/$f-$$ && \ - mv -f $d/$f-$$ $d/$f \ - chmod +x $d/$f \ - fi \ - done \ - } \ - done \ - + echo 'WARNING: REMOVE %%suse_update_config. If your sources are really' \ + echo 'too old to cover current architectures, prefer autoreconf --force --install' \ + autoreconf --force --install \ + %nil %suse_update_libdir() \ if [ %_lib != lib ]; then \ @@ -162,6 +129,7 @@ cp $file $file.nolib64 \ echo "patching $file" \ sed -e "s,/lib\\\>,/%_lib,g" $file.nolib64 | sed -e "s,/%_lib/cpp,/lib/cpp,; s,/usr/%_lib/perl,/usr/lib/perl, ; s,/%_lib\\([\$-]\\),/lib\\1,g" > $file \ + diff -u $file.nolib64 $file \ rm -f $file.nolib64 \ done; \ fi ; \ diff --git a/rpm.changes b/rpm.changes index 11e5893..9929626 100644 --- a/rpm.changes +++ b/rpm.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sat Jan 7 10:50:31 CET 2012 - dmueller@suse.de + +- go back to lua 5.1 for now (no easy port to 5.2 possible) + +------------------------------------------------------------------- +Mon Dec 19 16:01:17 UTC 2011 - coolo@suse.de + +- define %suse_update_config as obsolete and make it a wrapper + around autoreconf --force --install +- show diff in %suse_update_libdir + ------------------------------------------------------------------- Thu Dec 15 12:48:24 UTC 2011 - coolo@suse.com diff --git a/rpm.spec b/rpm.spec index 0d70bf3..cde3558 100644 --- a/rpm.spec +++ b/rpm.spec @@ -1,7 +1,7 @@ # # spec file for package rpm # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ BuildRequires: libelf-devel BuildRequires: libselinux-devel BuildRequires: libsemanage-devel BuildRequires: libtool -BuildRequires: lua-devel +BuildRequires: lua51-devel BuildRequires: ncurses-devel BuildRequires: popt-devel BuildRequires: xz-devel @@ -145,6 +145,7 @@ Authors: %package devel Summary: Include Files and Libraries mandatory for Development +Group: System/Packages Requires: rpm = %{version} Requires: popt-devel