Browse Source

libedit 3.1-2.20160903

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11092 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 6 years ago
parent
commit
2d39156fda
1 changed files with 14 additions and 8 deletions
  1. 14 8
      lib/libe/libedit/libedit-vl.spec

+ 14 - 8
lib/libe/libedit/libedit-vl.spec

@@ -1,5 +1,5 @@
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
-%define snap 20140620
+%define snap 20160903
 
 Summary:	The NetBSD Editline library
 Summary(ja):	NetBSD Editline ライブラリ
@@ -8,11 +8,9 @@ Version:	3.1
 Release:	2.%{snap}%{?_dist_release}
 License:	BSD
 Group:		System Environment/Libraries
-URL:		http://www.thrysoee.dk/editline/
+URL:		http://thrysoee.dk/editline/
 
-Source0:	http://www.thrysoee.dk/editline/%{name}-%{snap}-%{version}.tar.gz
-# bz #575383
-Patch1:		libedit-3.0-sigwinch.patch
+Source0:	http://thrysoee.dk/editline/%{name}-%{snap}-%{version}.tar.gz
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires:	gawk
@@ -61,7 +59,6 @@ This package contains development files for %{name}.
 
 %prep
 %setup -q -n %{name}-%{snap}-%{version}
-%patch1 -p1
 
 # Suppress rpmlint error.
 iconv --from-code ISO8859-1 --to-code UTF-8 ./ChangeLog \
@@ -81,6 +78,8 @@ rm -rf $RPM_BUILD_ROOT
 make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name "*.la" -delete
 
+%__mv $RPM_BUILD_ROOT%{_mandir}/man3/history.3 $RPM_BUILD_ROOT%{_mandir}/man3/history_libedit.3
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -96,6 +95,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 %doc ChangeLog COPYING THANKS
 %{_libdir}/%{name}.so.*
+%{_mandir}/man5/editrc.5*
+%{_mandir}/man7/editline.7*
 
 %files devel
 %defattr(-,root,root,-)
@@ -105,8 +106,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/editline/readline.h
 %{_libdir}/%{name}.so
 %{_libdir}/pkgconfig/%{name}.pc
-%doc %{_mandir}/man3/*
-%doc %{_mandir}/man5/editrc.5*
+%{_mandir}/man3/*
 
 %if %{build_compat32}
 %files -n compat32-%{name}
@@ -121,6 +121,12 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Mar 29 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 3.1-2.20160903
+- update to 20160903 snap
+- drop SIGWINCH patch (Patch1); upstream fixed
+- move editrc.5 to main package
+- add editline.7
+
 * Tue Mar 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.1-2.20140620
 - added compat32 subpackage