public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jakub Sencak <jsencak@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/zziplib] rawhide: Replaced make macros with cmake macros
Date: Wed, 22 Jul 2026 07:57:15 GMT	[thread overview]
Message-ID: <178470703562.1.8195439154241259286.rpms-zziplib-a9eea40832e3@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/zziplib
            Branch : rawhide
            Commit : a9eea40832e32b53cb0132c935bfb11b9df5957d
            Author : Jakub Sencak <jsencak@redhat.com>
            Date   : 2026-07-22T07:49:18+02:00
            Stats  : +10/-7 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/zziplib/c/a9eea40832e32b53cb0132c935bfb11b9df5957d?branch=rawhide

            Log:
            Replaced make macros with cmake macros

- the %cmake macro defaults to ninja generator instead of make
- removed obsolete files.
- added CMake files to devel.
Assisted-by: Sonnet 4.5

---
diff --git a/zziplib.spec b/zziplib.spec
index 6a37379..5f64f51 100644
--- a/zziplib.spec
+++ b/zziplib.spec
@@ -4,7 +4,7 @@
 Summary: Lightweight library to easily extract data from zip files
 Name: zziplib
 Version: 0.13.78
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: LGPL-2.0-or-later OR MPL-1.1
 URL: http://zziplib.sourceforge.net/
 Source: https://github.com/gdraheim/zziplib/archive/v%{version}.tar.gz
@@ -64,20 +64,18 @@ zziplib library.
 %build
 # TODO: Please submit an issue to upstream (rhbz#2381654)
 export CMAKE_POLICY_VERSION_MINIMUM=3.5
-%cmake -B "%{_vpath_builddir}"
+%cmake
 
-%make_build -C "%{_vpath_builddir}"
+%cmake_build
 
 %install
-%make_install -C "%{_vpath_builddir}"
+%cmake_install
 
 %ldconfig_scriptlets
 
 %files
 %doc docs/COPYING* ChangeLog README TODO
 %{_libdir}/*.so.*
-%exclude %{_datadir}/zziplib/*.cmake
-%exclude %{_libdir}/cmake/zziplib/*.cmake
 
 %files utils
 %{_bindir}/*
@@ -85,13 +83,18 @@ export CMAKE_POLICY_VERSION_MINIMUM=3.5
 %files devel
 %doc docs/README.SDL docs/*.htm
 %{_includedir}/*
-%exclude %{_libdir}/*.la
+%{_libdir}/cmake/zziplib/
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
 %{_datadir}/aclocal/*.m4
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jul 22 2026 Jakub Sencak <jsencak@redhat.com> - 0.13.78-6
+- Replaced make macros with cmake macros; the cmake macro defaults to ninja generator instead of make
+- Removed obsolete files
+- Ship CMake config files in -devel package
+
 * Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.78-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

                 reply	other threads:[~2026-07-22  7:57 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=178470703562.1.8195439154241259286.rpms-zziplib-a9eea40832e3@fedoraproject.org \
    --to=jsencak@redhat.com \
    --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