add LIBS=-ltermcap [release 1.2.0-2mamba;Tue Jul 22 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 20:40:29 +01:00
parent 8cbd6953ce
commit 2760b12100
2 changed files with 20 additions and 2 deletions

View File

@ -0,0 +1,11 @@
--- augeas-1.2.0/src/augtool.c.orig 2014-07-22 15:53:13.272830984 +0200
+++ augeas-1.2.0/src/augtool.c 2014-07-22 15:53:21.541845065 +0200
@@ -190,7 +190,7 @@
#ifndef HAVE_RL_COMPLETION_MATCHES
typedef char *rl_compentry_func_t(const char *, int);
-static char **rl_completion_matches(ATTRIBUTE_UNUSED const char *text,
+char **rl_completion_matches(ATTRIBUTE_UNUSED const char *text,
ATTRIBUTE_UNUSED rl_compentry_func_t *func) {
return NULL;
}

View File

@ -1,6 +1,6 @@
Name: augeas
Version: 1.2.0
Release: 1mamba
Release: 2mamba
Summary: A command line tool that focuses on the most basic problem in handling Linux configurations programmatically
Group: System/Management
Vendor: openmamba
@ -8,6 +8,7 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://augeas.net/
Source: http://download.augeas.net/augeas-%{version}.tar.gz
Patch0: augeas-1.2.0-readline.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 augeas' to get the list of build requirements.
@ -38,9 +39,12 @@ This package contains libraries and header files for developing applications tha
%prep
%setup -q
%patch0 -p1
%build
%configure
%configure \
LIBS="-ltermcap"
%make
%install
@ -90,5 +94,8 @@ This package contains libraries and header files for developing applications tha
%changelog
* Tue Jul 22 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
- add LIBS=-ltermcap
* Thu Jul 17 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
- package created using the webbuild interface