Accepting request 100637 from devel:languages:misc

- don't use deprecated macro suse_update_config
  (It did nothing useful so won't be missed.)
- remove berkeley-db.dif
  (not really needed for opensuse but not portable)
- strip needs writable files (forwarded request 100552 from rudi_m)

OBS-URL: https://build.opensuse.org/request/show/100637
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clisp?expand=0&rev=25
This commit is contained in:
Stephan Kulow 2012-01-19 15:54:35 +00:00 committed by Git OBS Bridge
commit df7c92da2e
3 changed files with 10 additions and 26 deletions

View File

@ -1,16 +0,0 @@
--- modules/berkeley-db/configure
+++ modules/berkeley-db/configure 2010-07-14 13:16:42.458924990 +0000
@@ -4665,10 +4665,9 @@ fi
done
fi
-
-
-
-
+ LIBDB=-ldb-4
+LTLIBDB=
+ INCDB=-I/usr/include/db4
ac_cv_libdb_libs="$LIBDB"
ac_cv_libdb_ltlibs="$LTLIBDB"

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jan 17 15:01:26 UTC 2012 - sweet_f_a@gmx.de
- don't use deprecated macro suse_update_config
- remove berkeley-db.dif
- strip needs writable files
-------------------------------------------------------------------
Sun Dec 18 15:49:35 UTC 2011 - sweet_f_a@gmx.de

View File

@ -1,7 +1,7 @@
#
# spec file for package clisp
#
# 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
@ -20,7 +20,6 @@
%define min_suse_ver 1030
Name: clisp
BuildRequires: automake
BuildRequires: db-devel
BuildRequires: gdbm-devel
BuildRequires: gtk2-devel
@ -42,7 +41,7 @@ BuildRequires: xorg-x11-devel
%define debug no
License: GPL-2.0+
Group: Development/Languages/Other
PreReq: vim
Requires(pre): vim
Version: 2.49
Release: 0
Summary: A Common Lisp Interpreter
@ -61,7 +60,6 @@ Patch3: clisp-2.49-personality.patch
Patch4: clisp-2.44.1-ia64.dif
Patch7: clisp-2.39-ia64-wooh.dif
Patch8: clisp-2.39-clx.dif
Patch9: clisp-2.49-berkeley-db.dif
Patch10: ffcall-1.10+2.43.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global vimdir %{_datadir}/vim/site/after/syntax
@ -102,7 +100,6 @@ contains two nice applications.
%patch4 -p0 -b .ia64
%patch7 -p0 -b .wooh
%patch8 -p0 -b .clx
%patch9 -p0 -b .bdb
%patch10 -p0 -b .ffcall
%patch0
@ -120,11 +117,6 @@ export LANG LC_ALL
# Current system
#
SYSTEM=${RPM_ARCH}-suse-linux
#
# Update autoconf files
#
AUTODIR=$(find -name autoconf -and -type d 2> /dev/null)
%{?suse_update_config $AUTODIR}
export PATH="$PATH:."
#
# Set gcc command line but do not use CFLAGS
@ -302,6 +294,7 @@ popd
pushd modules/clx/
tar xfz clx-manual.tar.gz -C %{buildroot}${CLXDOC}
popd
find %{buildroot} -name "*.a" | xargs chmod u+w
chmod u+xrw,a+rx %{buildroot}%{_bindir}/clisp
chmod u+xrw,a+rx %{buildroot}%{_bindir}/clisp-link
chmod -R g+r,o+r %{buildroot}${LSPDOC}/