commit b84c9e384eb97f3ca12700ecadd22bac86f4fe64
parent f8437571747248d91b5e341213fbc74e92fa5838
Author: Toby Goodwin <toby@paccrat.org>
Date: Sat, 4 Apr 2015 10:29:07 +0100
rc.spec was majorly out of date
Diffstat:
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -854,3 +854,7 @@ Changes since rc-1.5b2
Zekoll).
Feature: allow $"x as a synonym for $^x
+
+2015-04-03
+
+ Packaging: the rc.spec file was very out-of-date.
diff --git a/rc.spec b/rc.spec
@@ -1,6 +1,6 @@
%define name rc
-%define version 1.7.1
-%define release 1
+%define version 1.7.2
+%define release 3
Summary: rc - the Plan 9 and Tenth Edition shell
Name: %name
@@ -8,8 +8,10 @@ Version: %version
Release: %release
Group: Shells
License: distributable
-Source0: http://www.libra-aries-books.co.uk/software/rc/release/%name-%version.tar.gz
+Source0: http://static.tobold.org/rc/rc-1.7.2.tar.gz
Buildroot: /var/tmp/%{name}-rpmroot
+BuildRequires: autoconf
+BuildRequires: readline-devel
%description
This is a reimplementation for Unix, by Byron Rakitzis, of the Plan 9
@@ -20,7 +22,7 @@ shell, but with a much cleaner syntax.
%setup
%build
-sh configure --with-readline --prefix "$RPM_BUILD_ROOT" --mandir "$RPM_BUILD_ROOT/usr/share/man"
+sh configure --with-edit=gnu --prefix "$RPM_BUILD_ROOT" --mandir "$RPM_BUILD_ROOT/usr/share/man"
make
%install