From 7b0e37830c0215471dba2f5571a6f2819fc3506e96a937b4c3b98f1f700f1b56 Mon Sep 17 00:00:00 2001 From: OBS User mrdocs Date: Wed, 21 Dec 2011 06:03:56 +0000 Subject: [PATCH] Accepting request 96955 from home:rudi_m:lisp minor portability fixes, see ChangeLog, you may enable build for SLE >= 10 OBS-URL: https://build.opensuse.org/request/show/96955 OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/clisp?expand=0&rev=23 --- clisp.changes | 8 ++++++++ clisp.spec | 15 ++++++++++++--- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/clisp.changes b/clisp.changes index 2191e39..676f831 100644 --- a/clisp.changes +++ b/clisp.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Dec 18 15:49:35 UTC 2011 - sweet_f_a@gmx.de + +- minor portability fixes: + * don't call autoreconf for libsigsegv (not needed since sigsegv patch + has been removed in lately) + * require fdupes, dbus-1-devel and xorg-x11-devel only on recent suse + ------------------------------------------------------------------- Mon Dec 5 12:01:05 UTC 2011 - werner@suse.de diff --git a/clisp.spec b/clisp.spec index fddc156..09fc5f3 100644 --- a/clisp.spec +++ b/clisp.spec @@ -15,11 +15,13 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + +# minimum suse version where the full featured package builds +%define min_suse_ver 1030 + Name: clisp BuildRequires: automake BuildRequires: db-devel -BuildRequires: dbus-1-devel -BuildRequires: fdupes BuildRequires: gdbm-devel BuildRequires: gtk2-devel BuildRequires: libglade2-devel @@ -27,7 +29,11 @@ BuildRequires: openssl-devel BuildRequires: pcre-devel BuildRequires: postgresql-devel BuildRequires: readline-devel +%if 0%{?suse_version} >= %min_suse_ver +BuildRequires: dbus-1-devel +BuildRequires: fdupes BuildRequires: xorg-x11-devel +%endif # # If set to yes do not forget to add # gcc-c++ @@ -186,7 +192,6 @@ unset CFLAGS # SEGV=${PWD}/libsigsegv pushd libsigsegv-*/ - autoreconf ./configure --build ${SYSTEM} ${DEBUG}\ --prefix=%{_prefix} \ --libdir=%{_libdir} @@ -236,7 +241,9 @@ find -name configure | xargs -r \ %endif --with-dynamic-modules \ --with-gettext \ +%if 0%{?suse_version} >= %min_suse_ver --with-module=dbus \ +%endif --with-module=queens \ --with-module=gdbm \ --with-module=gtk2 \ @@ -307,7 +314,9 @@ rm -f %{buildroot}${CLXDOC}/demos/.\#* rm -f %{buildroot}${CLXDOC}/demos/*.orig find %{buildroot}${LSPLIB}/ -name '*.dvi' | xargs -r rm -f find %{buildroot}${LSPLIB}/ -name '*.run' | xargs -r chmod 0755 +%if 0%{?suse_version} >= %min_suse_ver %fdupes %{buildroot}${LSPLIB}/ +%endif %find_lang clisp %find_lang clisplow clisp.lang