From cf4d989107e721c17c6a0859f3e91157b3a89f1b61b4b19c2f5eec371abd0c22 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Tue, 26 Oct 2021 09:51:48 +0000 Subject: [PATCH 1/2] Accepting request 927316 from home:bluca:branches:devel:libraries:c_c++ - Update to new version 1.0.0 - Bump package name for new SOVERSION OBS-URL: https://build.opensuse.org/request/show/927316 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sdbus-cpp?expand=0&rev=9 --- sdbus-cpp-0.9.0.tar.gz | 3 --- sdbus-cpp-1.0.0.tar.gz | 3 +++ sdbus-cpp.changes | 6 ++++++ sdbus-cpp.spec | 18 +++++++++--------- 4 files changed, 18 insertions(+), 12 deletions(-) delete mode 100644 sdbus-cpp-0.9.0.tar.gz create mode 100644 sdbus-cpp-1.0.0.tar.gz diff --git a/sdbus-cpp-0.9.0.tar.gz b/sdbus-cpp-0.9.0.tar.gz deleted file mode 100644 index e8dc765..0000000 --- a/sdbus-cpp-0.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:db8e570ee525161e4bf89d79c824eea913d3dac9f0da614f232c0af9beea8a78 -size 198979 diff --git a/sdbus-cpp-1.0.0.tar.gz b/sdbus-cpp-1.0.0.tar.gz new file mode 100644 index 0000000..2048d1f --- /dev/null +++ b/sdbus-cpp-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3db82112c0d8a171a4115d761e3a592b62091fa7600988736652595178ae4e94 +size 202061 diff --git a/sdbus-cpp.changes b/sdbus-cpp.changes index 66ebdc4..5009b61 100644 --- a/sdbus-cpp.changes +++ b/sdbus-cpp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +* Mon Oct 25 14:48:52 UTC 2021 - Luca Boccassi + +- Update to new version 1.0.0 +- Bump package name for new SOVERSION + ------------------------------------------------------------------- * Thu Oct 21 16:29:09 UTC 2021 - Luca Boccassi diff --git a/sdbus-cpp.spec b/sdbus-cpp.spec index 7ae53c8..3169bbd 100644 --- a/sdbus-cpp.spec +++ b/sdbus-cpp.spec @@ -18,8 +18,8 @@ # -%global version_major 0 -%global version_minor 9 +%global version_major 1 +%global version_minor 0 %global version_micro 0 Name: sdbus-cpp @@ -40,17 +40,17 @@ BuildRequires: pkgconfig(libsystemd) >= 236 High-level C++ D-Bus library for Linux designed to provide easy-to-use yet powerful API in modern C++ -%package -n libsdbus-c++0 +%package -n libsdbus-c++1 Summary: Shared library for %{name} Group: Development/Libraries/C and C++ -%description -n libsdbus-c++0 +%description -n libsdbus-c++1 Shared library files for %{name}. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ -Requires: libsdbus-c++0 = %{version} +Requires: libsdbus-c++1 = %{version} %description devel CMake, pkg-config, headers and other development files for %{name}. @@ -67,7 +67,7 @@ READMEs and generated doxygen documentation for %{name} %package xml2cpp Summary: Stub code generator for sdbus-c++ Group: Development/Libraries/C and C++ -Requires: libsdbus-c++0 = %{version} +Requires: libsdbus-c++1 = %{version} BuildRequires: pkgconfig(expat) %description xml2cpp @@ -89,11 +89,11 @@ out of the D-Bus IDL XML description. %install %cmake_install -%post -n libsdbus-c++0 -p /sbin/ldconfig +%post -n libsdbus-c++1 -p /sbin/ldconfig -%postun -n libsdbus-c++0 -p /sbin/ldconfig +%postun -n libsdbus-c++1 -p /sbin/ldconfig -%files -n libsdbus-c++0 +%files -n libsdbus-c++1 %license %{_docdir}/sdbus-c++/COPYING %{_libdir}/libsdbus-c++.so.* From 24333ab5ba5a0a7b2098c4fae3e6911d521147d084ef112c238ccb4414a76c97 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Wed, 27 Oct 2021 11:26:33 +0000 Subject: [PATCH 2/2] Accepting request 927753 from home:bluca:branches:devel:libraries:c_c++ Use %license to pick the COPYING file and automatically use a binary-package-name specific installation directory, avoiding conflicts when the library package is renamed due to ABI changes. Also install the license in the other binary packages too. OBS-URL: https://build.opensuse.org/request/show/927753 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sdbus-cpp?expand=0&rev=10 --- sdbus-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sdbus-cpp.spec b/sdbus-cpp.spec index 3169bbd..a4323ba 100644 --- a/sdbus-cpp.spec +++ b/sdbus-cpp.spec @@ -94,7 +94,7 @@ out of the D-Bus IDL XML description. %postun -n libsdbus-c++1 -p /sbin/ldconfig %files -n libsdbus-c++1 -%license %{_docdir}/sdbus-c++/COPYING +%license COPYING %{_libdir}/libsdbus-c++.so.* %files devel @@ -105,6 +105,7 @@ out of the D-Bus IDL XML description. %doc %{_docdir}/sdbus-c++/ChangeLog %doc %{_docdir}/sdbus-c++/NEWS %doc %{_docdir}/sdbus-c++/README +%doc %{_docdir}/sdbus-c++/COPYING %{_libdir}/cmake/sdbus-c++* %{_libdir}/pkgconfig/sdbus-c++* %{_libdir}/libsdbus-c++.so @@ -119,8 +120,10 @@ out of the D-Bus IDL XML description. %doc %{_docdir}/sdbus-c++/sdbus-c++-class-diagram.uml %doc %{_docdir}/sdbus-c++/systemd-dbus-config.md %doc %{_docdir}/sdbus-c++/using-sdbus-c++.md +%license COPYING %files xml2cpp %{_bindir}/sdbus-c++-xml2cpp +%license COPYING %changelog