Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libyang for openSUSE:Factory checked 
in at 2021-10-12 23:16:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libyang (Old)
 and      /work/SRC/openSUSE:Factory/.libyang.new.2443 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libyang"

Tue Oct 12 23:16:43 2021 rev:8 rq:924938 version:2.0.97

Changes:
--------
--- /work/SRC/openSUSE:Factory/libyang/libyang.changes  2021-06-09 
21:52:13.606466687 +0200
+++ /work/SRC/openSUSE:Factory/.libyang.new.2443/libyang.changes        
2021-10-12 23:16:44.386779803 +0200
@@ -1,0 +2,10 @@
+Sat Oct  9 01:47:12 UTC 2021 - Linnaea Lavia <linn...@lavia.moe>
+
+- Upgrade to Release 2.0.97
+  * All language bingdings dropped: libyang-cpp and python-yang
+  * Standard extensions are now built-in: libyang-extentions removed
+
+- Extension path changed from upstream default to allow co-existence
+  with possible future version
+
+-------------------------------------------------------------------

Old:
----
  libyang-1.0.240.tar.gz

New:
----
  libyang-2.0.97.tar.gz

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

Other differences:
------------------
++++++ libyang.spec ++++++
--- /var/tmp/diff_new_pack.jivuRb/_old  2021-10-12 23:16:45.142780747 +0200
+++ /var/tmp/diff_new_pack.jivuRb/_new  2021-10-12 23:16:45.142780747 +0200
@@ -17,27 +17,24 @@
 #
 
 
-%define sover 1
+%define sover 2
+%define commit 320f34305dd9c7d14af5f13bec18e477b37f5db8
+
 Name:           libyang
-Version:        1.0.240
+Version:        2.0.97
 Release:        0
 Summary:        Parser toolkit for IETF YANG data modeling
 License:        BSD-3-Clause
-Group:          Development/Languages/C and C++
+Group:          System/Libraries
 URL:            https://github.com/CESNET/libyang
-Source:         
https://github.com/CESNET/libyang/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-BuildRequires:  bison
+Source:         
https://github.com/CESNET/libyang/archive/%{commit}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  cmake
 BuildRequires:  doxygen
 BuildRequires:  fdupes
-BuildRequires:  flex
-BuildRequires:  gcc-c++
 BuildRequires:  graphviz
 BuildRequires:  pkgconfig
-BuildRequires:  python3-devel
-BuildRequires:  swig >= 3.0.12
 BuildRequires:  pkgconfig(cmocka)
-BuildRequires:  pkgconfig(libpcre)
+BuildRequires:  pkgconfig(libpcre2-8) >= 10.30
 
 %description
 Libyang implements functions to process schemas expressed in the
@@ -68,18 +65,6 @@
 The library is implemented in C and provides an API for other software
 to use in processing configurations.
 
-%package extentions
-Summary:        IETF YANG data modeling parser toolkit runtime extentions
-Group:          System/Libraries
-Requires:       libyang%{sover} = %{version}
-
-%description extentions
-Libyang implements functions to process schemas expressed in the
-YANG data modeling language defined by the IETF in RFCs 6020/7950.
-
-This package contains extentions and user types used that enhance
-behaviour of the libyang runtime library.
-
 %package devel
 Summary:        Development files for libyang
 Group:          Development/Libraries/C and C++
@@ -107,38 +92,6 @@
 useful for normal operation where libyang primarily processes configuration
 data, not schemas.
 
-%package -n libyang-cpp%{sover}
-Summary:        C++ runtime from the IETF YANG parser toolkit
-Group:          System/Libraries
-
-%description -n libyang-cpp%{sover}
-Partially SWIG-generated bindings to use libyang with a C++ API.
-The functionality is the same as in libyang, the C++ code links wraps
-and uses libyang C code.
-
-%package -n libyang-cpp-devel
-Summary:        C++ development files for the IETF YANG parser toolkit
-Group:          Development/Libraries/C and C++
-Requires:       libyang-cpp%{sover} = %{version}
-
-%description -n libyang-cpp-devel
-Partially SWIG-generated bindings to use libyang with a C++ API.
-The functionality is the same as in libyang, the C++ code links wraps
-and uses libyang C code.
-
-This is the accompanying development package, containing headers, a
-pkgconfig file, and .so entry point for the libyang C++ bindings.
-
-%package -n python3-yang
-Summary:        Python3 bindings for the IETF YANG parser toolkit
-Group:          Development/Languages/Python
-
-%description -n python3-yang
-This package allows using libyang functionality to load IETF YANG models
-and data from Python3 code.
-
-The bindings are partially generated by SWIG.
-
 %package doc
 Summary:        API documentation for libyang
 Group:          Documentation/Other
@@ -148,10 +101,11 @@
 This is the API documentation of libyang.
 
 %prep
-%setup -q
+%autosetup -n libyang-%{commit} -p1
 
 %build
 %cmake \
+    -DPLUGINS_DIR=%{_libdir}/libyang%{sover} \
     -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
     -DENABLE_LYD_PRIV=ON \
     -DGEN_LANGUAGE_BINDINGS=ON \
@@ -161,30 +115,28 @@
 
 %install
 %cmake_install
-mkdir -p %{buildroot}/%{_docdir}/%{name}
-mv build/doc/html %{buildroot}%{_docdir}/%{name}/
-%fdupes -s %{buildroot}/%{_docdir}/%{name}/html
+cp tools/re/yangre.1 %{buildroot}/%{_mandir}/man1/yangre.1
+mkdir -p %{buildroot}/%{_docdir}/libyang%{sover}
+mkdir -p %{buildroot}/%{_libdir}/libyang%{sover}/extensions
+mkdir -p %{buildroot}/%{_libdir}/libyang%{sover}/types
+mkdir -p %{buildroot}%{_docdir}/%{name}/
+cp README.md %{buildroot}%{_docdir}/%{name}/
+cp -r build/doc/html %{buildroot}%{_docdir}/%{name}/
+%fdupes -s %{buildroot}%{_docdir}/%{name}
 
 %check
-export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}:$(pwd)/build/swig
+export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}
 %ctest
 
 %post   -n libyang%{sover} -p /sbin/ldconfig
 %postun -n libyang%{sover} -p /sbin/ldconfig
-%post   -n libyang-cpp%{sover} -p /sbin/ldconfig
-%postun -n libyang-cpp%{sover} -p /sbin/ldconfig
 
 %files -n libyang%{sover}
 %license LICENSE
-%doc FAQ.md KNOWNISSUES.md README.md
 %{_libdir}/libyang.so.*
-
-%files extentions
-%dir %{_libdir}/libyang1
-%dir %{_libdir}/libyang1/extensions/
-%{_libdir}/libyang1/extensions/*.so
-%dir %{_libdir}/libyang1/user_types/
-%{_libdir}/libyang1/user_types/*.so
+%dir %{_libdir}/libyang%{sover}
+%dir %{_libdir}/libyang%{sover}/extensions/
+%dir %{_libdir}/libyang%{sover}/types/
 
 %files -n yang-tools
 %{_bindir}/yanglint
@@ -198,20 +150,7 @@
 %{_libdir}/libyang.so
 %{_libdir}/pkgconfig/libyang.pc
 
-%files -n libyang-cpp%{sover}
-%{_libdir}/libyang-cpp.so.*
-
-%files -n libyang-cpp-devel
-%dir %{_includedir}/libyang/
-%{_includedir}/libyang/*.hpp
-%{_libdir}/libyang-cpp.so
-%{_libdir}/pkgconfig/libyang-cpp.pc
-
-%files -n python3-yang
-%{python3_sitearch}/*
-
 %files doc
-%dir %{_docdir}/%{name}
-%doc %{_docdir}/%{name}/html
+%doc %{_docdir}/%{name}
 
 %changelog

++++++ libyang-1.0.240.tar.gz -> libyang-2.0.97.tar.gz ++++++
++++ 395950 lines of diff (skipped)

Reply via email to