Hello community,

here is the log from the commit of package libreadline5 for openSUSE:Factory 
checked in at 2017-05-09 17:58:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libreadline5 (Old)
 and      /work/SRC/openSUSE:Factory/.libreadline5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libreadline5"

Tue May  9 17:58:25 2017 rev:18 rq:492607 version:5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libreadline5/libreadline5.changes        
2011-12-25 17:35:55.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libreadline5.new/libreadline5.changes   
2017-05-09 17:58:26.976745227 +0200
@@ -1,0 +2,6 @@
+Tue May  2 13:51:01 UTC 2017 - wer...@suse.de
+
+- Be sure that readline version 5 does not be mixed by accident
+  with current readline version 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libreadline5.spec ++++++
--- /var/tmp/diff_new_pack.5CSrBh/_old  2017-05-09 17:58:27.784631064 +0200
+++ /var/tmp/diff_new_pack.5CSrBh/_new  2017-05-09 17:58:27.788630500 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libreadline5
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,10 +17,6 @@
 
 
 Name:           libreadline5
-BuildRequires:  autoconf
-BuildRequires:  bison
-BuildRequires:  fdupes
-BuildRequires:  ncurses-devel
 %define         rl_vers   5.2
 Provides:       bash:/%{_lib}/libreadline.so.5
 Version:        5.2
@@ -37,6 +33,10 @@
 Patch22:        readline-5.2-wrap.patch
 Patch23:        readline-5.2-conf.patch
 Patch30:        readline-5.1-destdir.patch
+BuildRequires:  autoconf
+BuildRequires:  bison
+BuildRequires:  fdupes
+BuildRequires:  ncurses-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %global         _sysconfdir /etc
 %global         _incdir     %{_includedir}
@@ -139,6 +139,17 @@
   rm -fv %{buildroot}%{_mandir}/man3/history.3*
   rm -fv %{buildroot}%{_infodir}/*.info*
 
+#
+# Make sure not to be broken
+#
+mv %{buildroot}%{_incdir}/readline %{buildroot}%{_incdir}/readline5
+mkdir %{buildroot}%{_libdir}/readline5
+for lib in %{buildroot}%{_libdir}/lib*.*
+do
+  mv $lib %{buildroot}%{_libdir}/readline5/
+done
+mv %{buildroot}%{_mandir}/man3/readline.3 
%{buildroot}%{_mandir}/man3/readline5.3
+
 %post -n libreadline5 -p /sbin/ldconfig
 
 %postun -n libreadline5 -p /sbin/ldconfig
@@ -155,11 +166,13 @@
 
 %files -n readline5-devel
 %defattr(-,root,root)
-%{_incdir}/readline/
-%{_libdir}/libhistory.a
-%{_libdir}/libhistory.so
-%{_libdir}/libreadline.a
-%{_libdir}/libreadline.so
-%doc %{_mandir}/man3/readline.3.gz
+%dir %{_incdir}/readline5/
+%{_incdir}/readline5/*
+%dir %{_libdir}/readline5/
+%{_libdir}/readline5/libhistory.a
+%{_libdir}/readline5/libhistory.so
+%{_libdir}/readline5/libreadline.a
+%{_libdir}/readline5/libreadline.so
+%doc %{_mandir}/man3/readline5.3.gz
 
 %changelog


Reply via email to