rpms/sbcl/devel sbcl.spec,1.4,1.5
Rex Dieter (rdieter)
fedora-extras-commits at redhat.com
Mon Sep 12 19:16:53 UTC 2005
Author: rdieter
Update of /cvs/extras/rpms/sbcl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5351
Modified Files:
sbcl.spec
Log Message:
* Mon Sep 13 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.4-8
- use/define LIB_DIR instead of hard-coded INSTALL_ROOT/lib
Index: sbcl.spec
===================================================================
RCS file: /cvs/extras/rpms/sbcl/devel/sbcl.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sbcl.spec 12 Sep 2005 18:27:43 -0000 1.4
+++ sbcl.spec 12 Sep 2005 19:16:51 -0000 1.5
@@ -21,7 +21,7 @@
Name: sbcl
Summary: Steel Bank Common Lisp
Version: 0.9.4
-Release: 7%{?dist}
+Release: 8%{?dist}
License: BSD/MIT
Group: Development/Languages
@@ -53,6 +53,7 @@
# See http://sourceforge.net/mailarchive/message.php?msg_id=12787069
Patch2: sbcl-0.9.4-ADDR_NO_RANDOMIZE.patch
Patch3: sbcl-0.9.4-optflags.patch
+Patch4: sbcl-0.9.4-LIB_DIR.patch
%{?sbcl_bootstrap:BuildRequires: %{?sbcl_bootstrap}}
@@ -76,6 +77,7 @@
%patch1 -p0 -b .default-sbcl-home
%patch2 -p1 -b .ADDR_NO_RANDOMIZE
%patch3 -p1 -b .optflags
+%patch4 -p1 -b .LIB_DIR
# http://article.gmane.org/gmane.lisp.steel-bank.general/340
# enable threads (was only for >= 2.6, but code has checks to disable for <= 2.4)
@@ -99,6 +101,8 @@
# CVS crud
find . -name CVS -type d | xargs rm -rf
find . -name '.cvsignore' | xargs rm -f
+# fix permissions (some have eXecute bit set)
+find . -name '*.c' | xargs chmod 644
%build
@@ -116,19 +120,20 @@
%check || :
-%if "%{?_with_check:1}" == "1"
+#if "%{?_with_check:1}" == "1"
pushd tests
%{?setarch} sh ./run-tests.sh
popd
-%endif
+#endif
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_mandir}}
-export INSTALL_ROOT=$RPM_BUILD_ROOT%{_prefix}
unset SBCL_HOME ||:
+export INSTALL_ROOT=$RPM_BUILD_ROOT%{_prefix}
+export LIB_DIR=$RPM_BUILD_ROOT%{_libdir}
%{?setarch} sh ./install.sh
# app-wrapper for using setarch
@@ -143,13 +148,8 @@
## Unpackaged files
rm -rf $RPM_BUILD_ROOT%{_docdir}/sbcl
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-# CVS crud
-#find $RPM_BUILD_ROOT -name CVS -type d | xargs rm -rf
-#find $RPM_BUILD_ROOT -name '.cvsignore' | xargs rm -f
# from make check
find $RPM_BUILD_ROOT -name 'test-passed' | xargs rm -f
-#
-find $RPM_BUILD_ROOT -name '*.c' | xargs chmod 644
%post
@@ -181,6 +181,9 @@
%changelog
+* Mon Sep 13 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.4-8
+- use/define LIB_DIR instead of hard-coded INSTALL_ROOT/lib
+
* Mon Sep 12 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.4-7
- %{x86_64} -> x86_64
More information about the fedora-extras-commits
mailing list