Accepting request 99371 from Base:System
OBS-URL: https://build.opensuse.org/request/show/99371 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpm?expand=0&rev=170
This commit is contained in:
commit
51afa5914f
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package rpm-python
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -24,7 +24,7 @@ BuildRequires: libelf-devel
|
|||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
BuildRequires: libsemanage-devel
|
BuildRequires: libsemanage-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: lua-devel
|
BuildRequires: lua51-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: popt-devel
|
BuildRequires: popt-devel
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
|
@ -115,44 +115,11 @@
|
|||||||
%nil
|
%nil
|
||||||
|
|
||||||
# %{suse_update_config [-fcl] [dirs...]}
|
# %{suse_update_config [-fcl] [dirs...]}
|
||||||
# -f: force, ignore timestamp
|
|
||||||
# -c: no config.guess,config.sub
|
|
||||||
# -l: no ltconfig,ltmain.sh
|
|
||||||
%suse_update_config(fcl) \
|
%suse_update_config(fcl) \
|
||||||
AUTOMAKE_DIR=/usr/share/automake \
|
echo 'WARNING: REMOVE %%suse_update_config. If your sources are really' \
|
||||||
[ -d $AUTOMAKE_DIR ] || AUTOMAKE_DIR=/usr/share/automake* \
|
echo 'too old to cover current architectures, prefer autoreconf --force --install' \
|
||||||
%{!-c:\
|
autoreconf --force --install \
|
||||||
[ -d $AUTOMAKE_DIR ] || { \
|
%nil
|
||||||
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 \
|
|
||||||
|
|
||||||
|
|
||||||
%suse_update_libdir() \
|
%suse_update_libdir() \
|
||||||
if [ %_lib != lib ]; then \
|
if [ %_lib != lib ]; then \
|
||||||
@ -162,6 +129,7 @@
|
|||||||
cp $file $file.nolib64 \
|
cp $file $file.nolib64 \
|
||||||
echo "patching $file" \
|
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 \
|
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 \
|
rm -f $file.nolib64 \
|
||||||
done; \
|
done; \
|
||||||
fi ; \
|
fi ; \
|
||||||
|
12
rpm.changes
12
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
|
Thu Dec 15 12:48:24 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
5
rpm.spec
5
rpm.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package rpm
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -24,7 +24,7 @@ BuildRequires: libelf-devel
|
|||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
BuildRequires: libsemanage-devel
|
BuildRequires: libsemanage-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: lua-devel
|
BuildRequires: lua51-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: popt-devel
|
BuildRequires: popt-devel
|
||||||
BuildRequires: xz-devel
|
BuildRequires: xz-devel
|
||||||
@ -145,6 +145,7 @@ Authors:
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Include Files and Libraries mandatory for Development
|
Summary: Include Files and Libraries mandatory for Development
|
||||||
|
Group: System/Packages
|
||||||
Requires: rpm = %{version}
|
Requires: rpm = %{version}
|
||||||
Requires: popt-devel
|
Requires: popt-devel
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user