public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Martin Gansser <mgansser@netcom-mail.de>
To: git-commits@fedoraproject.org
Subject: [rpms/libclaw] f43: Update to 1.9.1-1
Date: Tue, 28 Jul 2026 14:02:47 GMT	[thread overview]
Message-ID: <178524736737.1.15177696740467385761.rpms-libclaw-1c16a652f4fb@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/libclaw
Branch : f43
Commit : 1c16a652f4fb3064a7e3c93bc9f6c26e90fe2b13
Author : Martin Gansser <mgansser@netcom-mail.de>
Date   : 2026-07-28T14:02:37+00:00
Stats  : +72/-36 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/libclaw/c/1c16a652f4fb3064a7e3c93bc9f6c26e90fe2b13?branch=f43

Log:
Update to 1.9.1-1

---
diff --git a/.gitignore b/.gitignore
index e9fa289..136613e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 libclaw-1.5.4.tar.gz
 /libclaw-1.7.0.tar.gz
 /libclaw-1.7.4.tar.gz
+/libclaw-1.9.1.tar.gz

diff --git a/lib64-installation-path.diff b/lib64-installation-path.diff
new file mode 100644
index 0000000..233b016
--- /dev/null
+++ b/lib64-installation-path.diff
@@ -0,0 +1,20 @@
+diff -Nur libclaw-1.8.2/cmake/package/CMakeLists.txt new/cmake/package/CMakeLists.txt
+--- libclaw-1.8.2/cmake/package/CMakeLists.txt	2024-01-24 21:45:29.000000000 +0100
++++ new/cmake/package/CMakeLists.txt	2024-12-19 11:31:13.606087720 +0100
+@@ -1,6 +1,6 @@
+ install(
+   EXPORT claw
+-  DESTINATION lib/cmake/claw/
++  DESTINATION lib${LIB_SUFFIX}/cmake/claw/
+   FILE claw-config-generated.cmake
+   )
+ 
+@@ -19,7 +19,7 @@
+   FILES
+     ${CMAKE_CURRENT_BINARY_DIR}/claw-config.cmake
+     ${CMAKE_CURRENT_BINARY_DIR}/claw-config-version.cmake
+-  DESTINATION lib/cmake/claw/
++  DESTINATION lib${LIB_SUFFIX}/cmake/claw/
+   )
+ 
+ 

diff --git a/libclaw.spec b/libclaw.spec
index c4d2dad..c1012cf 100644
--- a/libclaw.spec
+++ b/libclaw.spec
@@ -1,18 +1,13 @@
 Name:           libclaw
-Version:        1.7.4
-Release:        43%{?dist}
+Version:        1.9.1
+Release:        1%{?dist}
 Summary:        C++ Library of various utility functions
-# Automatically converted from old format: LGPLv2 - review is highly recommended.
-License:        LicenseRef-Callaway-LGPLv2
-URL:            http://libclaw.sourceforge.net/
-Source0:        http://dl.sourceforge.net/project/%{name}/%{version}/%{name}-%{version}.tar.gz
-Patch0:         libclaw-1.6.1-nostrip.patch
-Patch1:         libclaw-1.7.4-libdir.patch
-Patch2:         libclaw-1.7.4-gcc62.patch
-# Make documentation the same on different arches
-Patch3:         libclaw-1.7.4-noarch.patch
-# Fix errors found by GCC 7 (and Clang)
-Patch4:         libclaw-1.7.4-gcc7.patch
+License:        LGPL-2.1-or-later
+URL:            https://github.com/j-jorge/%{name}/
+Source0:        https://github.com/j-jorge/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# PATCH-FIX lib64-installation-path.diff
+Patch0:         lib64-installation-path.diff
+
 BuildRequires:  gcc-c++
 BuildRequires:  libjpeg-devel
 BuildRequires:  libpng-devel
@@ -27,6 +22,13 @@ Claw (C++ Library Absolutely Wonderful) is a C++ library of various utility
 functions. In doesn't have a particular objective but being useful to
 anyone.
 
+%package        %{name}
+Summary:        C++ library of various utility functions
+Group:          System/Libraries
+
+%description    %{name}
+Claw is a generalist library written in C++ and providing various
+structures (multitype map, AVL binary tree) and algorithms.
 
 %package devel
 Summary:        Development files for Claw library
@@ -40,7 +42,6 @@ Requires:       libpng-devel%{?_isa}
 This package contains files needed to develop and build software against
 Claw (C++ Library Absolutely Wonderful).
 
-
 %package doc
 Summary:        Documentation for Claw library
 BuildArch:      noarch
@@ -51,20 +52,9 @@ Wonderful).
 
 
 %prep
-%setup -q
-%patch -P0 -p1 -b .nostrip
-%patch -P1 -p1 -b .libdir
-%patch -P2 -p1 -b .gcc62
-%patch -P3 -p1 -b .noarch
-%patch -P4 -p1 -b .gcc7
-
-
-%build
-# TODO: Please submit an issue to upstream (rhbz#2380711)
-export CMAKE_POLICY_VERSION_MINIMUM=3.5
-%cmake
-%cmake_build
-find examples -type f |
+%autosetup -p1
+# Fix encoding of examples
+find example -type f |
 while read F
 do
         iconv -f iso8859-1 -t utf-8 $F |sed 's/\r//' >.utf8
@@ -72,35 +62,60 @@ do
         mv .utf8 $F
 done
 
+%build
+# TODO: Please submit an issue to upstream (rhbz#2380711)
+export CMAKE_POLICY_VERSION_MINIMUM=3.5
+
+pushd cmake
+%cmake -DCMAKE_BUILD_TYPE=Release
+
+%cmake_build
+popd
+
 
 %install
+pushd cmake
 %cmake_install
+popd
+
+cp -R example %{buildroot}%{_datadir}/doc/%{name}1/examples
+
 %find_lang %{name}
 
 
 %ldconfig_scriptlets
 
-
 %files -f %{name}.lang
 %license COPYING
 %{_libdir}/*.so.*
 
 
 %files devel
-%{_bindir}/claw-config
 %{_includedir}/claw
-%{_libdir}/cmake/%{name}
+%{_libdir}/cmake/claw
 %{_libdir}/*.so
-%exclude %{_libdir}/*.a
 
 
 %files doc
-%license COPYING
-%doc %{_datadir}/doc/libclaw1
-%doc examples
+%doc %{_datadir}/doc/%{name}1
 
 
 %changelog
+* Tue Jul 28 2026 Martin Gansser <martinkg@fedoraproject.org> - 1.9.1-1
+- Update to 1.9.1-1
+
+* Mon Jul 27 2026 Martin Gansser <martinkg@fedoraproject.org> - 1.7.4-47
+- Add libclaw-1.7.4-fix-static-library.patch
+
+* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-46
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
+
+* Thu Jan 29 2026 Martin Gansser <martinkg@fedoraproject.org> - 1.7.4-45
+- Add libclaw-c++20-no-concept-keyword.patch
+
+* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-44
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
+
 * Tue Nov 11 2025 Cristian Le <git@lecris.dev> - 1.7.4-43
 - Allow to build with CMake 4.0 (rhbz#2380711)
 

diff --git a/sources b/sources
index accd20c..9a4a13e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f27ed8936420abb8835d59f35a4101d9  libclaw-1.7.4.tar.gz
+SHA512 (libclaw-1.9.1.tar.gz) = 1714ba4e392b4cff42e26333345fa1276604c6b03163f6e82c4262685d6cbacdb6962d86696767ddd56fd270b021b66e12ce2420129c91657f6bf9ee49ba9923

                 reply	other threads:[~2026-07-28 14:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178524736737.1.15177696740467385761.rpms-libclaw-1c16a652f4fb@fedoraproject.org \
    --to=mgansser@netcom-mail.de \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox