public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libmawk] rawhide: spec cleanup and modernization
@ 2026-06-09  2:51 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-09  2:51 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libmawk
Branch : rawhide
Commit : 9f4f319283cc8a2d783255cf93a1abdf3dc8a120
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-06-08T23:44:10-03:00
Stats  : +16/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/libmawk/c/9f4f319283cc8a2d783255cf93a1abdf3dc8a120?branch=rawhide

Log:
spec cleanup and modernization

---
diff --git a/libmawk.spec b/libmawk.spec
index 5698150..8d619e3 100644
--- a/libmawk.spec
+++ b/libmawk.spec
@@ -1,12 +1,11 @@
 Name:           libmawk
 Version:        1.0.5
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Embed awk scripting language in any application written in C
 
-# Automatically converted from old format: GPLv2 - review is highly recommended.
 License:        GPL-2.0-only
 URL:            http://repo.hu/projects/libmawk
-Source0:        http://repo.hu/projects/libmawk/releases/%{name}-%{version}.tar.gz
+Source:         http://repo.hu/projects/libmawk/releases/%{name}-%{version}.tar.gz
 
 BuildRequires:  gcc
 BuildRequires:  make
@@ -48,6 +47,10 @@ HTML documentation for %{name}.
 %make_install LIBARCHDIR=%{buildroot}/%{_libdir} LIBPATH=%{buildroot}/%{_libdir}/%{name}
 
 
+%check
+%make_build test
+
+
 %files
 %license src/libmawk/COPYING
 %doc AUTHORS README Release_notes
@@ -61,14 +64,22 @@ HTML documentation for %{name}.
 %files devel
 %{_mandir}/man3/*
 %{_mandir}/man7/*
-%{_includedir}/*
+%{_includedir}/%{name}.h
+%{_includedir}/%{name}/
 %{_libdir}/*.so
 
 %files doc
-%doc %{_docdir}/%{name}
+%dir %{_docdir}/%{name}
+%{_docdir}/%{name}/*.html
 
 
 %changelog
+* Mon Jun 08 2026 Filipe Rosset <rosset.filipe@gmail.com> - 1.0.5-2
+- Modernize spec file according to Fedora Packaging Guidelines
+- Add %%check section to run test suite
+- Fix doc subpackage file duplication and directory ownership
+- Clean up obsolete comments and use explicit headers ownership
+
 * Wed Feb 25 2026 Filipe Rosset <rosset.filipe@gmail.com> - 1.0.5-1
 - Update to 1.0.5 fix FTBFS rhbz#2268946
 

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

only message in thread, other threads:[~2026-06-09  2:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-09  2:51 [rpms/libmawk] rawhide: spec cleanup and modernization Filipe Rosset

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