Hello community, here is the log from the commit of package tecla for openSUSE:Factory checked in at 2017-07-08 12:33:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tecla (Old) and /work/SRC/openSUSE:Factory/.tecla.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tecla" Sat Jul 8 12:33:00 2017 rev:2 rq:508716 version:1.6.3 Changes: -------- --- /work/SRC/openSUSE:Factory/tecla/tecla.changes 2017-05-24 16:46:53.747886281 +0200 +++ /work/SRC/openSUSE:Factory/.tecla.new/tecla.changes 2017-07-08 12:33:02.461950208 +0200 @@ -1,0 +2,12 @@ +Fri Jul 7 08:56:37 UTC 2017 - [email protected] + +- Add enhance->enhance_r compatibility symlink to binary + +------------------------------------------------------------------- +Thu Jul 6 22:44:29 UTC 2017 - [email protected] + +- Add tecla-only-reentrant.diff: have the tecla tools built + with tecla_r [boo#1047552]. +- Add tecla-cppflags.diff + +------------------------------------------------------------------- New: ---- tecla-cppflags.diff tecla-only-reentrant.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tecla.spec ++++++ --- /var/tmp/diff_new_pack.bgNCTr/_old 2017-07-08 12:33:04.333686198 +0200 +++ /var/tmp/diff_new_pack.bgNCTr/_new 2017-07-08 12:33:04.337685634 +0200 @@ -29,6 +29,9 @@ Source: http://www.astro.caltech.edu/~mcs/tecla/libtecla-%{version}.tar.gz Patch0: libtecla_add-destdir.patch Patch1: libtecla-makefiles-rules-no-rpath.diff +Patch2: tecla-cppflags.diff +Patch3: tecla-only-reentrant.diff +BuildRequires: autoconf BuildRequires: fdupes BuildRequires: ncurses-devel @@ -67,9 +70,12 @@ %setup -q -n libtecla %patch0 -p1 %patch1 -p1 +%patch2 -p1 +%patch3 -p1 %build -%configure +autoconf # patch3 +%configure CPPFLAGS=-Wno-cpp make #%{?_smp_mflags} # parallel build is broken %install @@ -77,6 +83,7 @@ find "%{buildroot}/%{_libdir}" -type f -name "*.a" -delete rm -f "%{buildroot}/%{_libdir}"/libtecla.so* ln -fsv libtecla_r.so "%{buildroot}/%{_libdir}/libtecla.so" +ln -s enhance_r %{buildroot}/%{_bindir}/enhance %fdupes %{buildroot}/%{_mandir}/man3/ %post -n %{libname} -p /sbin/ldconfig @@ -86,6 +93,7 @@ %defattr(-,root,root) %doc CHANGES README RELEASE.NOTES LICENSE.TERMS %{_bindir}/enhance +%{_bindir}/enhance_r %{_mandir}/man1/enhance.1%{ext_man} %{_mandir}/man5/teclarc.5%{ext_man} %{_mandir}/man7/tecla.7%{ext_man} ++++++ tecla-cppflags.diff ++++++ CPPFLAGS is present everywhere except for the command line where it's really needed. Stupid manual Makefiles. --- Makefile.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: libtecla/Makefile.rules =================================================================== --- libtecla.orig/Makefile.rules +++ libtecla/Makefile.rules @@ -11,7 +11,7 @@ $(OBJDIR): # Construct the compilation command. -COMPILE = $(CC) -c $(CFLAGS) -o $@ +COMPILE = $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ LIB_OBJECTS = $(OBJDIR)/getline.o $(OBJDIR)/keytab.o $(OBJDIR)/freelist.o \ $(OBJDIR)/strngmem.o $(OBJDIR)/hash.o $(OBJDIR)/history.o \ ++++++ tecla-only-reentrant.diff ++++++ From: Jan Engelhardt <[email protected]> Date: 2017-07-06 23:36:50.264333010 +0200 X-Upstream: upstream should just abandon the non-r variant, making this patch unnecessary Only ever build with reentrant library form since openSUSE will not be shipping the non-r variant. --- Makefile.in | 7 +------ configure.in | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) Index: libtecla/Makefile.in =================================================================== --- libtecla.orig/Makefile.in +++ libtecla/Makefile.in @@ -149,12 +149,7 @@ DEMOS = demos # # List the programs that are to be made by default. # -PROGRAMS = enhance - -# -# List programs for which reentrant versions are to be built by default. -# -PROGRAMS_R = +PROGRAMS_R = enhance_r #----------------------------------------------------------------------- # You shouldn't need to change anything below this line. Index: libtecla/configure.in =================================================================== --- libtecla.orig/configure.in +++ libtecla/configure.in @@ -171,7 +171,7 @@ dnl that we can create both the normal a dnl of the library. AC_SUBST(TARGETS) -TARGETS="normal reentrant" +TARGETS="reentrant" dnl Check for reentrant functions by attempting to compile and link a dnl temporary program which calls them, being sure to include the
