Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spglib for openSUSE:Factory checked 
in at 2022-08-10 17:14:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spglib (Old)
 and      /work/SRC/openSUSE:Factory/.spglib.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spglib"

Wed Aug 10 17:14:13 2022 rev:5 rq:994153 version:1.16.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/spglib/spglib.changes    2021-12-21 
18:41:25.857916890 +0100
+++ /work/SRC/openSUSE:Factory/.spglib.new.1521/spglib.changes  2022-08-10 
17:15:33.882062662 +0200
@@ -1,0 +2,9 @@
+Sun Aug  7 20:03:21 UTC 2022 - Dirk M??ller <[email protected]>
+
+- update to 1.16.5:
+  * Maintenance release including many minor fixes and improvements
+  * Bug fix of issue #157 
+- add 0001-Install-spglib-pkgconfig-into-LIBDIR.patch to fix
+  pkgconfig installation location
+
+-------------------------------------------------------------------

Old:
----
  spglib-1.16.3.tar.gz

New:
----
  0001-Install-spglib-pkgconfig-into-LIBDIR.patch
  spglib-1.16.5.tar.gz

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

Other differences:
------------------
++++++ spglib.spec ++++++
--- /var/tmp/diff_new_pack.Zy7EhU/_old  2022-08-10 17:15:34.602064541 +0200
+++ /var/tmp/diff_new_pack.Zy7EhU/_new  2022-08-10 17:15:34.606064551 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package spglib
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,14 @@
 
 %define shlib libsymspg1
 Name:           spglib
-Version:        1.16.3
+Version:        1.16.5
 Release:        0
 Summary:        Find and handle crystal symmetries
 License:        BSD-3-Clause
 Group:          Productivity/Scientific/Physics
-URL:            https://atztogo.github.io/spglib/
-Source0:        
https://github.com/atztogo/spglib/archive/v%{version}.tar.gz#/spglib-%{version}.tar.gz
+URL:            https://spglib.github.io/spglib/
+Source0:        
https://github.com/spglib/spglib/archive/v%{version}.tar.gz#/spglib-%{version}.tar.gz
+Patch1:         0001-Install-spglib-pkgconfig-into-LIBDIR.patch
 BuildRequires:  cmake
 BuildRequires:  python3-devel
 BuildRequires:  python3-numpy-devel
@@ -66,6 +67,7 @@
 
 %prep
 %setup -q
+%autopatch -p1
 
 %build
 pushd .
@@ -102,6 +104,7 @@
 %{_includedir}/spglib.h
 %{_includedir}/spglib_f08.f90
 %{_libdir}/libsymspg.so
+%{_libdir}/pkgconfig/spglib.pc
 
 %files -n python3-spglib
 %{python3_sitearch}/spglib

++++++ 0001-Install-spglib-pkgconfig-into-LIBDIR.patch ++++++
>From 360fab6bf82c9bd2b377e6a1cb89f889ff5c7740 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dirk=20M=C3=BCller?= <[email protected]>
Date: Tue, 9 Aug 2022 13:23:05 +0200
Subject: [PATCH] Install spglib pkgconfig into LIBDIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The pkgconfig file is architecture specific, so it needs
to be installed into libdir/pkgconfig. On Red Hat/SUSE
like distributions libdir is actually $prefix/lib64 on
64bit platforms.

Signed-off-by: Dirk M??ller <[email protected]>
---
 CMakeLists.txt  | 2 +-
 spglib.pc.cmake | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 33f5ae3..2ff1caf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -132,5 +132,5 @@ endif()
 configure_file(spglib.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/spglib.pc)
 install(
   FILES  ${CMAKE_CURRENT_BINARY_DIR}/spglib.pc
-  DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig
+  DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}/pkgconfig
   COMPONENT pkgconfig)
diff --git a/spglib.pc.cmake b/spglib.pc.cmake
index ce7b9d8..5a72864 100644
--- a/spglib.pc.cmake
+++ b/spglib.pc.cmake
@@ -1,5 +1,5 @@
 Name: ${PROJECT_NAME}
 Description: The spglib library
 Version: ${PROJECT_VERSION}
-Libs: -L${CMAKE_INSTALL_PREFIX}/lib -lsymspg
+Libs: -L${CMAKE_INSTALL_FULL_LIBDIR} -lsymspg
 Cflags: -I${CMAKE_INSTALL_PREFIX}/include
-- 
2.37.1


++++++ spglib-1.16.3.tar.gz -> spglib-1.16.5.tar.gz ++++++
++++ 67934 lines of diff (skipped)

Reply via email to