Hello community,

here is the log from the commit of package libedit for openSUSE:Factory
checked in at Mon Aug 1 09:44:22 CEST 2011.



--------
--- libedit/libedit.changes     2010-04-24 23:35:17.000000000 +0200
+++ /mounts/work_src_done/STABLE/libedit/libedit.changes        2011-07-31 
22:47:34.000000000 +0200
@@ -1,0 +2,6 @@
+Sun Jul 31 20:45:38 UTC 2011 - crrodrig...@opensuse.org
+
+- Link with ncurses6w instead of ncurses5 
+- Do not inject artificial dependencies on other packages
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  libedit-20100424-3.0-ncurses.patch

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

Other differences:
------------------
++++++ libedit.spec ++++++
--- /var/tmp/diff_new_pack.cyPpFL/_old  2011-08-01 09:43:46.000000000 +0200
+++ /var/tmp/diff_new_pack.cyPpFL/_new  2011-08-01 09:43:46.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package libedit (Version 3.0.snap20100424)
+# spec file for package libedit
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 
 Name:           libedit
 Version:        3.0.snap20100424
-Release:        1
+Release:        7
 %define pkg_name    libedit
 %define pkg_version 20100424-3.0
 #
@@ -28,13 +28,14 @@
 Group:          Development/Libraries/C and C++
 #
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  gcc-c++ ncurses-devel
+BuildRequires:  gcc-c++ ncurses-devel pkgconfig
 #
 Url:            http://www.thrysoee.dk/editline/
 # http://www.thrysoee.dk/editline/%{pkg_name}-%{pkg_version}.tar.gz
 Source:         %{pkg_name}-%{pkg_version}.tar.bz2
 Source1:        README.SuSE
 Patch1:         libedit-downgrade_autoconf.patch
+Patch2:         libedit-20100424-3.0-ncurses.patch
 #
 Summary:        Command Line Editing and History Library
 
@@ -55,6 +56,7 @@
 
 %package -n %{library_name}
 
+
 License:        BSD3c
 Group:          Development/Libraries/C and C++
 Provides:       %{pkg_name} = %{version}-%{release}
@@ -79,7 +81,7 @@
 Group:          Development/Libraries/C and C++
 Requires:       %{library_name} = %{version}
 Provides:       %{library_name}-devel = %{version}-%{release}
-Requires:       ncurses-devel
+Requires:       glibc-devel
 #
 Summary:        Development files for libedit
 
@@ -100,6 +102,7 @@
 %setup -n %{pkg_name}-%{pkg_version}
 %{__cp} %{S:1} .
 %patch1
+%patch2
 
 %build
 NOCONFIGURE=1 autoreconf -fiv
@@ -116,6 +119,9 @@
 %clean
 %{?buildroot:%__rm -rf "%{buildroot}"}
 
+%check
+make check
+
 %post   -n %{library_name} -p /sbin/ldconfig
 
 %postun -n %{library_name} -p /sbin/ldconfig

++++++ libedit-20100424-3.0-ncurses.patch ++++++
--- configure.ac.orig
+++ configure.ac
@@ -34,7 +34,7 @@ EL_MANTYPE
 
 
 AC_CHECK_LIB(curses, tgetent,,
-   [AC_CHECK_LIB(ncurses, tgetent,,
+   [AC_CHECK_LIB(ncursesw, tgetent,,
       [AC_MSG_ERROR([libcurses or libncurses are required!])] )] )
 
 
--- src/Makefile.am.orig
+++ src/Makefile.am
@@ -44,6 +44,7 @@ libedit_la_SOURCES = chared.c common.c e
                                                        histedit.h key.h map.h 
chartype.h parse.h prompt.h read.h refresh.h \
                                                        search.h sig.h sys.h 
el_term.h tty.h vis.h filecomplete.h \
                                                        editline/readline.h
+libedit_la_CFLAGS = $(shell ncursesw6-config --cflags)
 if WIDECHAR
 libedit_la_SOURCES += eln.c
 endif
@@ -53,5 +54,5 @@ nobase_include_HEADERS = histedit.h edit
 
 nodist_libedit_la_SOURCES = $(BUILT_SOURCES)
 
-libedit_la_LDFLAGS = -no-undefined -version-info $(LT_VERSION)
+libedit_la_LDFLAGS = $(shell ncursesw6-config --libs) -no-undefined 
-version-info $(LT_VERSION)
 
--- libedit.pc.in.orig
+++ libedit.pc.in
@@ -7,6 +7,6 @@ Name: libedit
 Description: command line editor library provides generic line editing, 
history, and tokenization functions.
 Version: @VERSION@
 Requires:
-Libs: -L${libdir} -ledit @LIBS@
+Libs: -ledit
 Cflags: -I${includedir} -I${includedir}/editline
 

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



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to