public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/zziplib] rawhide: Replaced make macros with cmake macros
@ 2026-07-22  7:57 Jakub Sencak
  0 siblings, 0 replies; only message in thread
From: Jakub Sencak @ 2026-07-22  7:57 UTC (permalink / raw)
  To: git-commits

            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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-22  7:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-22  7:57 [rpms/zziplib] rawhide: Replaced make macros with cmake macros Jakub Sencak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox