Accepting request 97466 from devel:languages:misc

minor portability fixes, see ChangeLog,
you may enable build for SLE >= 10 (forwarded request 96955 from rudi_m)

OBS-URL: https://build.opensuse.org/request/show/97466
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clisp?expand=0&rev=24
This commit is contained in:
Stephan Kulow 2011-12-25 16:33:32 +00:00 committed by Git OBS Bridge
commit 85d626c589
2 changed files with 20 additions and 3 deletions

View File

@ -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

View File

@ -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