From 17d3454379981d6e24bb5870794199d8675c8165 Mon Sep 17 00:00:00 2001 From: Boris Ranto Date: Tue, 21 Jun 2016 14:33:08 +0200 Subject: [PATCH] New version (0:3.1-15.20160618cvs) --- .gitignore | 1 + ...protected-symbols-from-other-modules.patch | 27 ------------------- libedit.spec | 13 ++++----- sources | 1 + 4 files changed, 9 insertions(+), 33 deletions(-) delete mode 100644 0001-Hide-protected-symbols-from-other-modules.patch diff --git a/.gitignore b/.gitignore index 9145c70..d8b7c0c 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/0001-Hide-protected-symbols-from-other-modules.patch b/0001-Hide-protected-symbols-from-other-modules.patch deleted file mode 100644 index 8e2cca2..0000000 --- a/0001-Hide-protected-symbols-from-other-modules.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 9ac358bf7fe9a6c322edc1fc85a5d288c5f8f92d Mon Sep 17 00:00:00 2001 -From: Boris Ranto -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 - diff --git a/libedit.spec b/libedit.spec index c0adb12..6588ef9 100644 --- a/libedit.spec +++ b/libedit.spec @@ -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 - 0:3.1-15.20160618cvs +- New version (0:3.1-15.20160618) + * Thu Feb 04 2016 Fedora Release Engineering - 3.1-14.20150325cvs - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index d39e52a..a36511f 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ 43cdb5df3061d78b5e9d59109871b4f6 libedit-20150325-3.1.tar.gz +b6e60f326a3fce91bea1a6fe4700af58 libedit-20160618-3.1.tar.gz