Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libuna for openSUSE:Factory checked 
in at 2021-06-09 21:51:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libuna (Old)
 and      /work/SRC/openSUSE:Factory/.libuna.new.32437 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libuna"

Wed Jun  9 21:51:52 2021 rev:13 rq:898008 version:20210418

Changes:
--------
--- /work/SRC/openSUSE:Factory/libuna/libuna.changes    2020-12-18 
19:59:37.918078097 +0100
+++ /work/SRC/openSUSE:Factory/.libuna.new.32437/libuna.changes 2021-06-09 
21:52:07.694456149 +0200
@@ -1,0 +2,7 @@
+Wed May 12 17:47:11 UTC 2021 - Jan Engelhardt <jeng...@inai.de>
+
+- Update to snapshot 20210418 (2939fe8f)
+  * No changelog was provided
+- Add system-libs.patch
+
+-------------------------------------------------------------------

Old:
----
  libuna-alpha-20201204.tar.gz

New:
----
  _multibuild
  _service
  libuna-20210418.tar.xz
  system-libs.patch

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

Other differences:
------------------
++++++ libuna.spec ++++++
--- /var/tmp/diff_new_pack.wwIpru/_old  2021-06-09 21:52:08.246457133 +0200
+++ /var/tmp/diff_new_pack.wwIpru/_new  2021-06-09 21:52:08.246457133 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package libuna
+# spec file
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,24 +16,34 @@
 #
 
 
-Name:           libuna
+%if "@BUILD_FLAVOR@" != ""
+%define pprefix @BUILD_FLAVOR@-
+%define psuffix -@BUILD_FLAVOR@
+%else
+%define psuffix %nil
+%endif
 %define lname  libuna1
-%define timestamp 20201204
-Version:        0~%timestamp
+
+Name:           libuna%psuffix
+Version:        20210418
 Release:        0
 Summary:        Library to support Unicode and ASCII (byte string) conversions
 License:        LGPL-3.0-or-later
 Group:          Development/Libraries/C and C++
-URL:            https://github.com/libyal/libuna/wiki
-Source:         
https://github.com/libyal/libuna/releases/download/%timestamp/%{name}-alpha-%timestamp.tar.gz
+URL:            https://github.com/libyal/libuna/
+Source:         libuna-%version.tar.xz
+Patch1:         system-libs.patch
+BuildRequires:  c_compiler
+BuildRequires:  gettext-tools >= 0.18.1
+BuildRequires:  libtool
 BuildRequires:  pkg-config
-BuildRequires:  pkgconfig(libcdatetime)
-BuildRequires:  pkgconfig(libcerror) >= 20150101
-BuildRequires:  pkgconfig(libcfile) >= 20120526
-BuildRequires:  pkgconfig(libclocale) >= 20120425
-BuildRequires:  pkgconfig(libcnotify) >= 20121224
-# Using versions from OBS fails, tested 1/8/2015
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  pkgconfig(libcdatetime) >= 20200510
+BuildRequires:  pkgconfig(libcerror) >= 20201121
+%if "@BUILD_FLAVOR@" != "mini"
+BuildRequires:  pkgconfig(libcfile) >= 20201229
+%endif
+BuildRequires:  pkgconfig(libclocale) >= 20200913
+BuildRequires:  pkgconfig(libcnotify) >= 20200913
 
 %description
 libuna is a library to support Unicode and ASCII (byte string)
@@ -41,11 +51,14 @@
 Windows 874, 932, 936, 949, 950, 1250, 1251, 1252, 1253, 1254, 1255,
 1256, 1257, 1258, KOI8-R, KOI8-U, UTF-7, UTF-8, UTF-16, UTF-32.
 
-%package -n %lname
+%package -n %lname%psuffix
 Summary:        Library to support Unicode and ASCII (byte string) conversions
 Group:          System/Libraries
+%if "@BUILD_FLAVOR@" == ""
+Obsoletes:      %lname-mini
+%endif
 
-%description -n %lname
+%description -n %lname%psuffix
 libuna is a library to support Unicode and ASCII (byte string)
 conversions.
 
@@ -59,7 +72,10 @@
 %package devel
 Summary:        Development files for libuna, a library to support 
Unicode/ASCII conversions
 Group:          Development/Libraries/C and C++
-Requires:       %lname = %{version}
+Requires:       %lname%psuffix = %version
+%if "@BUILD_FLAVOR@" == ""
+Obsoletes:      libuna-mini-devel
+%endif
 
 %description devel
 libuna is a library to support Unicode and ASCII (byte string)
@@ -69,32 +85,35 @@
 applications that want to make use of libuna.
 
 %prep
-%setup -qn libuna-%timestamp
+%autosetup -p1 -n libuna-%version
 
 %build
-%configure --disable-static --enable-wide-character-type --enable-python
-make %{?_smp_mflags}
+if [ ! -e configure ]; then ./autogen.sh; fi
+%configure \
+%if "@BUILD_FLAVOR@" == "mini"
+       --disable-tools \
+%endif
+       --disable-static --enable-wide-character-type
+%make_build
 
 %install
 %make_install
 rm -f "%{buildroot}/%{_libdir}"/*.la
 
-%post   -n %lname -p /sbin/ldconfig
-%postun -n %lname -p /sbin/ldconfig
+%post   -n %lname%psuffix -p /sbin/ldconfig
+%postun -n %lname%psuffix -p /sbin/ldconfig
 
-%files -n %lname
-%defattr(-,root,root)
+%files -n %lname%psuffix
 %license COPYING
-%doc AUTHORS ChangeLog ABOUT-NLS
 %{_libdir}/libuna.so.1*
 
+%if "@BUILD_FLAVOR@" != "mini"
 %files tools
-%defattr(-,root,root)
 %{_bindir}/una*
 %{_mandir}/man1/unaexport.1*
+%endif
 
 %files devel
-%defattr(-,root,root)
 %{_includedir}/libuna*
 %{_libdir}/libuna.so
 %{_libdir}/pkgconfig/libuna.pc

++++++ _multibuild ++++++
<multibuild>
        <package>mini</package>
</multibuild>
++++++ _service ++++++
<services>
        <service name="tar_scm" mode="disabled">
                <param name="scm">git</param>
                <param name="url">https://github.com/libyal/libuna</param>
                <param 
name="revision">2939fe8f28cd47b04a6b6c8fbf15b1d7b6954f34</param>
                <!-- see configure.ac -->
                <param name="versionformat">20210418</param>
        </service>
        <service name="recompress" mode="disabled">
                <param name="file">*.tar</param>
                <param name="compression">xz</param>
        </service>
        <service name="set_version" mode="disabled"/>
</services>
++++++ system-libs.patch ++++++
---
 Makefile.am         |   12 +++++-------
 configure.ac        |    7 ++-----
 manuals/Makefile.am |    4 +++-
 3 files changed, 10 insertions(+), 13 deletions(-)

Index: libuna-20210418/Makefile.am
===================================================================
--- libuna-20210418.orig/Makefile.am
+++ libuna-20210418/Makefile.am
@@ -3,13 +3,11 @@ ACLOCAL_AMFLAGS = -I m4
 SUBDIRS = \
        include \
        common \
-       libcerror \
-       libuna \
-       libcdatetime \
-       libclocale \
-       libcnotify \
-       libcfile \
-       unatools \
+       libuna
+if MAKE_TOOLS
+SUBDIRS += unatools
+endif
+SUBDIRS += \
        po \
        documents \
        manuals \
Index: libuna-20210418/configure.ac
===================================================================
--- libuna-20210418.orig/configure.ac
+++ libuna-20210418/configure.ac
@@ -115,16 +115,13 @@ AC_SUBST(
  [SPEC_DATE],
  [`date +"%a %b %e %Y" 2> /dev/null`])
 
+AC_ARG_ENABLE([tools], [AS_HELP_STRING([--disable-tools], [Do not build 
tools])], [make_tools=0], [make_tools=1])
+AM_CONDITIONAL([MAKE_TOOLS], [test "$make_tools" = 1])
 dnl Generate Makefiles
 AC_CONFIG_FILES([Makefile])
 AC_CONFIG_FILES([include/Makefile])
 AC_CONFIG_FILES([common/Makefile])
-AC_CONFIG_FILES([libcerror/Makefile])
 AC_CONFIG_FILES([libuna/Makefile])
-AC_CONFIG_FILES([libcdatetime/Makefile])
-AC_CONFIG_FILES([libclocale/Makefile])
-AC_CONFIG_FILES([libcnotify/Makefile])
-AC_CONFIG_FILES([libcfile/Makefile])
 AC_CONFIG_FILES([unatools/Makefile])
 AC_CONFIG_FILES([po/Makefile.in])
 AC_CONFIG_FILES([po/Makevars])
Index: libuna-20210418/manuals/Makefile.am
===================================================================
--- libuna-20210418.orig/manuals/Makefile.am
+++ libuna-20210418/manuals/Makefile.am
@@ -1,6 +1,8 @@
 man_MANS = \
-       unaexport.1 \
        libuna.3
+if MAKE_TOOLS
+man_MANS += unaexport.1
+endif
 
 EXTRA_DIST = \
        unaexport.1 \

Reply via email to