Hello community,

here is the log from the commit of package ffcall for openSUSE:Factory checked 
in at 2018-02-21 14:11:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ffcall (Old)
 and      /work/SRC/openSUSE:Factory/.ffcall.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ffcall"

Wed Feb 21 14:11:37 2018 rev:8 rq:578359 version:2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ffcall/ffcall.changes    2017-08-24 
18:32:27.285967092 +0200
+++ /work/SRC/openSUSE:Factory/.ffcall.new/ffcall.changes       2018-02-21 
14:11:40.113763597 +0100
@@ -1,0 +2,71 @@
+Tue Feb 20 13:40:17 UTC 2018 - wer...@suse.de
+
+- Correct order of %file and %defattr 
+
+-------------------------------------------------------------------
+Tue Feb 20 11:14:28 UTC 2018 - wer...@suse.de
+
+- Allow debuginfo 
+
+-------------------------------------------------------------------
+Mon Feb 19 08:53:22 UTC 2018 - wer...@suse.de
+
+- Update to (lib)fcall-2.1 release
+  * Added support for the following platforms:
+    (Previously, a build on these platforms failed.)
+    - x86_64: Solaris 11.3.
+    - OpenBSD 6.1.
+    - HardenedBSD 10 and 11.
+  * Fixed a bug regarding passing of pointers on the following platforms:
+    - x86_64: Linux with x32 ABI: CC="gcc -mx32".
+  * Fixed a crash in trampoline on the following platforms:
+- Update the patch ffcall-trampoline.patch even if not applied
+
+-------------------------------------------------------------------
+Mon Sep 11 07:53:10 UTC 2017 - wer...@suse.de
+
+- Update to (lib)fcall-2.0 release
+  * The package now installs a library libffcall.{a,so}. It contains the
+    'avcall' and 'callback' packages. The libraries libavcall.{a,so} and
+    libcallback.{a,so} are still installed as well, but are deprecated.
+  * The installed libraries are now installed as shared libraries by default
+    (except for libvacall, which is still a static library only).
+  * The installed shared libraries are now properly versioned. This means that
+    when installing with --enable-shared, upgrading to a newer version of
+    libffcall will not break existing binaries.
+  * The installed include files are now platform independent. This means that
+    you can now install libffcall for different ABIs on the same system, using
+    the same --prefix option but different --exec-prefix options for each ABI.
+  * API changes in <trampoline.h>:
+    - The second argument of alloc_trampoline() is now a 'void**', rather
+      than a 'void*'.
+    - The return value of trampoline_variable() is now a 'void**', rather
+      than a 'void*'.
+    - The argument of trampoline_address(), trampoline_variable(),
+      trampoline_data() is now a function pointer instead of a 'void*'.
+  * Fixed a bug regarding floating-point arguments followed by
+    non-floating-point arguments on the following platforms:
+    - arm: Linux 32-bit, with hardware floats.
+    - powerpc: Linux 32-bit.
+    - s390: Linux.
+  * Fixed a bug regarding structure returns on the following platforms:
+    - i386: FreeBSD.
+    - i386: MinGW.
+    - mips: old 32-bit ABI (Linux, IRIX).
+  * Added support for the following platforms:
+    (Previously, a build on these platforms failed.)
+    - i386: MSVC 14.
+    - x86_64: Cygwin.
+    - x86_64: MinGW.
+    - x86_64: MSVC 14.
+    - hppa64: HP-UX 11.
+    - m68k: Linux.
+  * Verified support for the following platforms:
+    (A build on these platforms worked and still works.)
+    - i386: FreeBSD, NetBSD, OpenBSD, DragonFly BSD.
+    - i386: Hurd.
+    - x86_64: FreeBSD, NetBSD, OpenBSD.
+- New package libffcall0 to hold the new shared libraries
+  mainly libffcall.so.0.0.0
+
+-------------------------------------------------------------------

Old:
----
  libffcall-1.13.tar.gz

New:
----
  libffcall-2.1.tar.gz

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

Other differences:
------------------
++++++ ffcall.spec ++++++
--- /var/tmp/diff_new_pack.BNRgLQ/_old  2018-02-21 14:11:41.585710590 +0100
+++ /var/tmp/diff_new_pack.BNRgLQ/_new  2018-02-21 14:11:41.589710446 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ffcall
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -16,9 +16,7 @@
 #
 
 
-# Only a static library is provided, so no debug information can be extracted.
-%global debug_package %{nil}
-%global debug no
+%global somajor        0
 
 # This package uses assembly to do its work.  This is the entire list of
 # supported architectures understood by RPM, even those not currently supported
@@ -26,7 +24,7 @@
 %global ffcall_arches %ix86 x86_64 %alpha %arm aarch64 parisc hppa1.0 hppa1.1 
hppa1.2 hppa2.0 ia64 m68k mips mipsel ppc ppc64 ppc64le ppc8260 ppc8560 
ppc32dy4 ppciseries ppcpseries s390 s390x %sparc sparc64
 
 Name:           ffcall
-Version:        1.13
+Version:        2.1
 Release:        0
 Summary:        Libraries for foreign function call interfaces
 # As this package only provides a static library together with the header files
@@ -34,7 +32,7 @@
 Group:          Development/Libraries/Other
 Provides:       %{name}-devel = %version-%release
 Url:            http://www.gnu.org/software/libffcall/
-#               
https://git.savannah.gnu.org/cgit/libffcall.git/snapshot/libffcall-%{version}.tar.gz
+#               
https://git.savannah.gnu.org/cgit/libffcall.git/snapshot/libffcall-<version>.tar.gz
 Source0:        https://ftp.gnu.org/gnu/libffcall/libffcall-%{version}.tar.gz
 Patch0:         ffcall-trampoline.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -50,6 +48,19 @@
  - callback: closures with variable arguments as first-class C functions
    (a reentrant combination of vacall and trampoline)
 
+%package -n libffcall%{somajor}
+Summary:        Libraries for foreign function call interfaces
+Group:          System/Libraries
+
+%description -n libffcall%{somajor}
+This is a collection of four libraries which can be used to build
+foreign function call interfaces in embedded interpreters.  The four
+packages are:
+ - avcall: calling C functions with variable arguments
+ - vacall: C functions accepting variable argument prototypes
+ - trampoline: closures as first-class C functions
+ - callback: closures with variable arguments as first-class C functions
+   (a reentrant combination of vacall and trampoline)
 
 %prep
 %setup -q -n libffcall-%{version}
@@ -68,8 +79,9 @@
 find . -name \*.o | xargs rm -f
 
 %build
-export CFLAGS="%{optflags} -fPIC"
-%configure --disable-rpath --with-gnu-ld
+export CFLAGS="%{optflags} -g -fPIC -fno-strict-aliasing"
+export STRIP=true STRIPPROG=true
+%configure --disable-rpath --with-gnu-ld --enable-thread=posix
 if test -e /.build.log
 then
     grep -E '^#define (CODE|HAVE)' config.h
@@ -81,7 +93,8 @@
 mkdir -p %{buildroot}%{_libdir}
 mkdir -p %{buildroot}%{_mandir}
 mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
-make install DESTDIR=%{buildroot}
+export STRIP=true STRIPPROG=true
+make install DESTDIR=%{buildroot} STRIP=true STRIPPROG=true
 rm -fr %{buildroot}%{_datadir}/html
 rm -f %{buildroot}%{_libdir}/*.la
 if test %debug = yes ; then
@@ -104,6 +117,9 @@
   mv $page %{name}-$page
 done
 
+%post -n libffcall%{somajor} -p /sbin/ldconfig
+%postun -n libffcall%{somajor} -p /sbin/ldconfig
+
 %files -f list
 %defattr(-,root,root,-)
 %doc README NEWS COPYING
@@ -113,8 +129,13 @@
 %doc trampoline/trampoline.html
 %doc vacall/vacall.html
 %{_libdir}/*.a
+%{_libdir}/*.so
 %{_includedir}/*
 %doc %{_mandir}/man*/*
 %config %{_sysconfdir}/rpm/macros.%{name}
 
+%files -n libffcall%{somajor}
+%defattr(-,root,root,-)
+%{_libdir}/*.so.*
+
 %changelog

++++++ ffcall-trampoline.patch ++++++
--- /var/tmp/diff_new_pack.BNRgLQ/_old  2018-02-21 14:11:41.613709581 +0100
+++ /var/tmp/diff_new_pack.BNRgLQ/_new  2018-02-21 14:11:41.613709581 +0100
@@ -5,7 +5,7 @@
 
 --- callback/trampoline_r/trampoline.c
 +++ callback/trampoline_r/trampoline.c 2017-06-26 08:51:46.787267290 +0000
-@@ -76,6 +76,12 @@ extern void (*tramp_r) (); /* trampoline
+@@ -83,6 +83,12 @@ extern void (*tramp_r) (); /* trampoline
        #define EXECUTABLE_VIA_MMAP_THEN_MPROTECT
      #elif defined(HAVE_MMAP_SHARED_CAN_EXEC)
        #define EXECUTABLE_VIA_MMAP_FILE_SHARED
@@ -20,7 +20,7 @@
      #endif
 --- trampoline/trampoline.c
 +++ trampoline/trampoline.c    2017-06-26 08:50:21.820815116 +0000
-@@ -76,6 +76,12 @@ extern void (*tramp) (); /* trampoline p
+@@ -83,6 +83,12 @@ extern void (*tramp) (); /* trampoline p
        #define EXECUTABLE_VIA_MMAP_THEN_MPROTECT
      #elif defined(HAVE_MMAP_SHARED_CAN_EXEC)
        #define EXECUTABLE_VIA_MMAP_FILE_SHARED

++++++ libffcall-1.13.tar.gz -> libffcall-2.1.tar.gz ++++++
++++ 148602 lines of diff (skipped)


Reply via email to