[librep] Fix stack direction on ARM platforms, Cleanup spec
Peter Robinson
pbrobinson at fedoraproject.org
Sun May 27 22:48:20 UTC 2012
commit 9e1c50a195bfdc358f7b58eb81742e834c2d6358
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Sun May 27 23:48:01 2012 +0100
Fix stack direction on ARM platforms, Cleanup spec
librep.spec | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/librep.spec b/librep.spec
index 05627b9..6433f45 100644
--- a/librep.spec
+++ b/librep.spec
@@ -1,12 +1,12 @@
Name: librep
Version: 0.92.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A lightweight Lisp environment
License: GPLv2+
Group: Development/Languages
Source0: http://download.tuxfamily.org/%{name}/%{name}-%{version}.tar.bz2
URL: http://sawfish.wikia.com/
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
BuildRequires: gmp-devel
BuildRequires: gdbm-devel
BuildRequires: readline-devel
@@ -54,22 +54,20 @@ nicely interacts and integrates into Emacs.
%prep
%setup -q
+sed -i 's/sparc|i?86|powerpc|x86_64)/sparc|i?86|powerpc|x86_64|armv7l|armv5tel)/' configure
+
%build
%configure --with-readline --enable-shared --disable-static
make %{?_smp_mflags}
%{_emacs_bytecompile} rep-debugger.el
%install
-rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
rm -f %{buildroot}%{_infodir}/dir
chrpath --delete %{buildroot}%{_bindir}/rep
-%{__install} -m 644 rep-debugger.elc %{buildroot}%{_emacs_sitelispdir}
+install -m 644 rep-debugger.elc %{buildroot}%{_emacs_sitelispdir}
find %{buildroot}%{_libdir} -name \*.la -exec rm '{}' \;
-%clean
-rm -rf %{buildroot}
-
%post
/sbin/ldconfig
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
@@ -114,6 +112,10 @@ fi
%{_emacs_sitelispdir}/rep-debugger.el
%changelog
+* Sun May 27 2012 Peter Robinson <pbrobinson at fedoraproject.org> - 0.92.2-2
+- Fix stack direction on ARM platforms
+- Cleanup spec
+
* Mon Mar 26 2012 Kim B. Heino <b at bbbs.net> - 0.92.2-1
- Update to 0.92.2
More information about the scm-commits
mailing list