summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--rc.spec10
2 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 466b825..eebcf3b 100644
--- 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
index 337964c..359661f 100644
--- 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