public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libmawk] rawhide: spec cleanup and modernization
Date: Tue, 09 Jun 2026 02:51:13 GMT [thread overview]
Message-ID: <178097347351.1.6477973805731877503.rpms-libmawk-9f4f319283cc@fedoraproject.org> (raw)
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
reply other threads:[~2026-06-09 2:51 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=178097347351.1.6477973805731877503.rpms-libmawk-9f4f319283cc@fedoraproject.org \
--to=rosset.filipe@gmail.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