New version (0:3.1-15.20160618cvs)

This commit is contained in:
Boris Ranto 2016-06-21 14:33:08 +02:00
parent 230b08302b
commit 17d3454379
4 changed files with 9 additions and 33 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@ libedit-20110227-3.0.tar.gz
/libedit-20140213-3.1.tar.gz
/libedit-20141030-3.1.tar.gz
/libedit-20150325-3.1.tar.gz
/libedit-20160618-3.1.tar.gz

View File

@ -1,27 +0,0 @@
From 9ac358bf7fe9a6c322edc1fc85a5d288c5f8f92d Mon Sep 17 00:00:00 2001
From: Boris Ranto <branto@redhat.com>
Date: Wed, 25 Mar 2015 21:37:07 +0100
Subject: [PATCH] Hide protected symbols from other modules
---
src/sys.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/sys.h b/src/sys.h
index 25b14bb..f039532 100644
--- a/src/sys.h
+++ b/src/sys.h
@@ -71,8 +71,8 @@
#endif
#ifndef protected
-# define protected /* Redefined from elsewhere to "static" */
- /* When we want to hide everything */
+# define protected __attribute__ ((visibility ("hidden")))
+ /* hide protected symbols from other modules */
#endif
#ifndef __arraycount
--
2.1.0

View File

@ -1,15 +1,14 @@
%global snap 20150325
%global dir_snap 20150325
%global snap 20160618
%global dir_snap 20160618
Summary: The NetBSD Editline library
Name: libedit
Version: 3.1
Release: 14.%{snap}cvs%{?dist}
Release: 15.%{snap}cvs%{?dist}
License: BSD
Group: System Environment/Libraries
URL: http://www.thrysoee.dk/editline/
Source0: http://www.thrysoee.dk/editline/%{name}-%{snap}-%{version}.tar.gz
Patch1: 0001-Hide-protected-symbols-from-other-modules.patch
BuildRequires: ncurses-devel
%description
@ -30,7 +29,6 @@ This package contains development files for %{name}.
%prep
%setup -q -n %{name}-%{dir_snap}-%{version}
%patch1 -p1
# Suppress rpmlint error.
iconv -f ISO8859-1 -t UTF-8 -o ChangeLog.utf-8 ChangeLog
@ -63,14 +61,17 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -delete
%files devel
%doc examples/fileman.c examples/tc1.c examples/wtc1.c
%{_mandir}/man3/*
%{_mandir}/man7/*
%{_includedir}/histedit.h
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%dir %{_includedir}/editline
%{_includedir}/editline/readline.h
%changelog
* Tue Jun 21 2016 Boris Ranto <branto@redhat.com> - 0:3.1-15.20160618cvs
- New version (0:3.1-15.20160618)
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-14.20150325cvs
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

View File

@ -1 +1,2 @@
43cdb5df3061d78b5e9d59109871b4f6 libedit-20150325-3.1.tar.gz
b6e60f326a3fce91bea1a6fe4700af58 libedit-20160618-3.1.tar.gz