Hello community, here is the log from the commit of package libpreludedb for openSUSE:Factory checked in at 2017-04-03 11:05:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libpreludedb (Old) and /work/SRC/openSUSE:Factory/.libpreludedb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libpreludedb" Mon Apr 3 11:05:10 2017 rev:3 rq:482280 version:3.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libpreludedb/libpreludedb.changes 2016-10-02 00:09:56.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libpreludedb.new/libpreludedb.changes 2017-04-03 11:05:12.358851715 +0200 @@ -1,0 +2,8 @@ +Sun Nov 27 20:16:55 UTC 2016 - thomas.andre...@gmail.com + +- Update to 3.1.0 (Prelude 3.1.0 released on 14 Sept 2016) +- Remove unnecessary patches (libpreludedb-python-swig.patch) +- Use a lib directory with soname +- Spec-Cleaner + +------------------------------------------------------------------- Old: ---- libpreludedb-3.0.0.tar.gz libpreludedb-python-swig.patch New: ---- libpreludedb-3.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libpreludedb.spec ++++++ --- /var/tmp/diff_new_pack.4btCm4/_old 2017-04-03 11:05:13.542684460 +0200 +++ /var/tmp/diff_new_pack.4btCm4/_new 2017-04-03 11:05:13.546683895 +0200 @@ -1,7 +1,7 @@ # # spec file for package libpreludedb # -# Copyright (c) 2016 SUSE LINUX 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 @@ -16,28 +16,28 @@ # -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%{!?python_sitearch3: %global python_sitearch3 %(%{__python}3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} - -%define sover 7 -%define sover_cpp 2 - +%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%{!?python_sitearch3: %global python_sitearch3 %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%define soname 7 +%define soname_cpp 2 Name: libpreludedb -Version: 3.0.0 +Version: 3.1.0 Release: 0 Summary: Framework to easy access to the Prelude database -License: GPL-3.0+ +# Prelude is GPL-2.0+ +# libmissing is LGPL-2.1+ +# libmissing/test is GPL-3.0+ +License: GPL-2.0+ and LGPL-2.1 and GPL-3.0+ Group: Productivity/Networking/Security Url: https://www.prelude-siem.org -Source0: https://www.prelude-siem.org/pkg/src/3.0.0/%{name}-%{version}.tar.gz -Patch0: libpreludedb-python-swig.patch +Source0: https://www.prelude-siem.org/pkg/src/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: gtk-doc BuildRequires: libgcrypt-devel BuildRequires: libprelude-devel BuildRequires: mysql-devel -BuildRequires: pkg-config -BuildRequires: postgresql94-devel +BuildRequires: pkgconfig +BuildRequires: postgresql-devel BuildRequires: python-devel BuildRequires: python3-devel BuildRequires: sqlite-devel @@ -51,22 +51,22 @@ worrying about SQL, and to access the database independently of the type/format of the database. -%package -n %{name}%{sover} +%package -n %{name}%{soname} Summary: Prelude Libraries Group: System/Libraries -%description -n %{name}%{sover} +%description -n %{name}%{soname} The PreludeDB Library provides an abstraction layer upon the type and the format of the database used to store IDMEF alerts. It allows developers to use the Prelude IDMEF database easily and efficiently without worrying about SQL, and to access the database independently of the type/format of the database. -%package -n %{name}cpp%{sover_cpp} +%package -n %{name}cpp%{soname_cpp} Summary: Prelude Libraries Group: System/Libraries -%description -n %{name}cpp%{sover_cpp} +%description -n %{name}cpp%{soname_cpp} The PreludeDB Library provides an abstraction layer upon the type and the format of the database used to store IDMEF alerts. It allows developers to use the Prelude IDMEF database easily and efficiently without @@ -78,10 +78,10 @@ Group: Development/Libraries/C and C++ Requires: automake Requires: libprelude-devel -Requires: libpreludedb%{sover} = %{version} -Requires: libpreludedbcpp%{sover_cpp} = %{version} +Requires: libpreludedb%{soname} = %{version} +Requires: libpreludedbcpp%{soname_cpp} = %{version} Requires: mysql-devel -Requires: postgresql94-devel +Requires: postgresql-devel Requires: sqlite-devel %description devel @@ -139,7 +139,7 @@ Summary: Plugin to use prelude with a pgsql database Group: Productivity/Networking/Security Requires: libpreludedb-plugins = %{version} -Requires: postgresql94-server +Requires: postgresql-server %description pgsql This plugin allows prelude to store alerts into a pgsql database. @@ -162,7 +162,7 @@ %package -n python3-%{name} Summary: Python 3 bindings for libpreludedb -Group: Development/Languages/Python3 +Group: Development/Languages/Python %description -n python3-%{name} Python 3 bindings for libpreludedb generated by SWIG. @@ -176,7 +176,6 @@ %prep %setup -q -%patch0 -p0 %build %configure --with-html-dir=%{_defaultdocdir}/%{name}-%{version}/html \ @@ -184,31 +183,34 @@ --enable-gtk-doc sed -i.rpath -e 's|LD_RUN_PATH=""||' bindings/Makefile -sed -i.rpath -e 's|^sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spec="/%{_lib} %{_libdir}|' libtool +sed -i.rpath -e 's|^sys_lib_dlsearch_path_spec="/lib %{_prefix}/lib|sys_lib_dlsearch_path_spec="/%{_lib} %{_libdir}|' libtool make %{?_smp_mflags} %install -make install DESTDIR=%{buildroot} -mkdir -p %{buildroot}/usr/share/libpreludedb/swig/python -cp bindings/libpreludedbcpp.i %{buildroot}/usr/share/libpreludedb/swig/ -cp bindings/python/libpreludedbcpp-python.i %{buildroot}/usr/share/libpreludedb/swig/python -find %{buildroot}%{_libdir} -name "*.la" -delete +%make_install +mkdir -p %{buildroot}%{_datadir}/libpreludedb%{soname}/swig/python +cp bindings/libpreludedbcpp.i %{buildroot}%{_datadir}/libpreludedb%{soname}/swig/ +cp bindings/python/libpreludedbcpp-python.i %{buildroot}%{_datadir}/libpreludedb%{soname}/swig/python +find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' -%post -n libpreludedb%{sover} -p /sbin/ldconfig -%post -n libpreludedbcpp%{sover_cpp} -p /sbin/ldconfig +%post -n libpreludedb%{soname} -p /sbin/ldconfig +%post -n libpreludedbcpp%{soname_cpp} -p /sbin/ldconfig +%postun -n libpreludedb%{soname} -p /sbin/ldconfig +%postun -n libpreludedbcpp%{soname_cpp} -p /sbin/ldconfig -%postun -n libpreludedb%{sover} -p /sbin/ldconfig -%postun -n libpreludedbcpp%{sover_cpp} -p /sbin/ldconfig +%files -n %{name}%{soname} +%defattr(-,root,root) +%{_libdir}/libpreludedb.so.%{soname}* -%files -n %{name}%{sover} +%files -n %{name}cpp%{soname_cpp} %defattr(-,root,root) -%{_libdir}/libpreludedb.so.%{sover}* +%{_libdir}/libpreludedbcpp.so.%{soname_cpp}* %files -n preludedb-tools %defattr(-,root,root) -%{_mandir}/man1/preludedb-admin.1.* +%{_mandir}/man1/preludedb-admin.1%{ext_man} %{_bindir}/preludedb-admin %files plugins @@ -217,10 +219,6 @@ %dir %{_libdir}/%{name}/plugins %{_libdir}/%{name}/plugins/formats/ -%files -n %{name}cpp%{sover_cpp} -%defattr(-,root,root) -%{_libdir}/libpreludedbcpp.so.%{sover_cpp}* - %files devel %defattr(-,root,root) %{_bindir}/libpreludedb-config @@ -228,11 +226,15 @@ %{_libdir}/libpreludedb.so %{_libdir}/libpreludedbcpp.so %{_datadir}/aclocal/libpreludedb.m4 +%{_mandir}/man1/libpreludedb-config.1%{ext_man} %files devel-bindings %defattr(-,root,root) -%dir %{_datadir}/libpreludedb/ -%{_datadir}/libpreludedb/swig/ +%dir %{_datadir}/libpreludedb%{soname}/ +%dir %{_datadir}/libpreludedb%{soname}/swig/ +%{_datadir}/libpreludedb%{soname}/swig/libpreludedbcpp.i +%dir %{_datadir}/libpreludedb%{soname}/swig/python/ +%{_datadir}/libpreludedb%{soname}/swig/python/libpreludedbcpp-python.i %files -n python-%{name} %defattr(-,root,root) ++++++ libpreludedb-3.0.0.tar.gz -> libpreludedb-3.1.0.tar.gz ++++++ ++++ 19365 lines of diff (skipped)