From 9152f10696aa7fc0d9fe59008ddde41b2168c67d8622adefea017aa645991f6a Mon Sep 17 00:00:00 2001 From: OBS User mrdocs Date: Wed, 18 Jan 2012 23:34:32 +0000 Subject: [PATCH] Accepting request 100552 from home:rudi_m:lisp - 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 OBS-URL: https://build.opensuse.org/request/show/100552 OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/clisp?expand=0&rev=26 --- clisp-2.49-berkeley-db.dif | 16 ---------------- clisp.changes | 7 +++++++ clisp.spec | 13 +++---------- 3 files changed, 10 insertions(+), 26 deletions(-) delete mode 100644 clisp-2.49-berkeley-db.dif diff --git a/clisp-2.49-berkeley-db.dif b/clisp-2.49-berkeley-db.dif deleted file mode 100644 index 87ce50b..0000000 --- a/clisp-2.49-berkeley-db.dif +++ /dev/null @@ -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" diff --git a/clisp.changes b/clisp.changes index 676f831..9905661 100644 --- a/clisp.changes +++ b/clisp.changes @@ -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 diff --git a/clisp.spec b/clisp.spec index 09fc5f3..f49a298 100644 --- a/clisp.spec +++ b/clisp.spec @@ -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}/