public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Neil Hanlon <neil@shrug.pw>
To: git-commits@fedoraproject.org
Subject: [rpms/remind] epel10: Add tests, split documentation into subpkg
Date: Fri, 21 Aug 2026 13:53:06 GMT	[thread overview]
Message-ID: <178732038679.1.9747988295649123395.rpms-remind-dbebd91fb889@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/remind
Branch : epel10
Commit : dbebd91fb8891ea18be6f82769cbf755fab6bdfc
Author : Neil Hanlon <neil@shrug.pw>
Date   : 2024-02-07T14:11:55+00:00
Stats  : +35/-17 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/remind/c/dbebd91fb8891ea18be6f82769cbf755fab6bdfc?branch=epel10

Log:
Add tests, split documentation into subpkg

---
diff --git a/remind.spec b/remind.spec
index 56696f7..6670961 100644
--- a/remind.spec
+++ b/remind.spec
@@ -19,6 +19,7 @@ Source:         685A5A5E511D30E2.gpg
 Source:         tkremind.desktop
 # stolen from Debian
 Patch:          use-system-libjsonparser.diff
+Patch:          remove-timezone-tests-from-compare.patch
 
 BuildRequires:  gcc
 BuildRequires:  gnupg2
@@ -33,6 +34,7 @@ BuildRequires:  pkgconfig(json-parser)
 BuildRequires:  desktop-file-utils
 Recommends:     remind-tools
 Recommends:     remind-gui
+Recommends:     remind-doc
 
 %description
 Remind is a sophisticated calendar and alarm program. It includes the following
@@ -47,21 +49,13 @@ features:
  - Facilities for both the Gregorian and Hebrew calendars
  - Support for 12 different languages
 
+%package        doc
+Summary:        Documentation for remind, a sophisticated calendar and alarm program
+License:        GPL-2.0-only
+BuildArch:      noarch
 
-%package        tools
-Summary:        Additional tools for remind
-# GPL-2.0-or-later:
-#  - contrib/ical2rem.pl
-#  - contrib/rem2ics-0.93/rem2ics.spec
-#  - contrib/remind-conf-mode/remind-conf-mode.el
-# GPL-2.0-or-later AND GPL-2.0-only:
-#  - contrib/rem2ics-0.93/rem2ics
-# GPL-3.0-only:
-#  - contrib/remind-conf-mode/gpl.txt
-License:        GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only
-
-%description    tools
-Tools to convert the remind output to ps, pdf or html as well as example files.
+%description    doc
+Documentation and information on how to use remind
 
 %package        gui
 Summary:        GUI for remind, a sophisticated calendar and alarm program
@@ -73,11 +67,25 @@ Requires:       tcl
 Requires:       tcllib
 Requires:       tk >= 8.0
 
-
 %description    gui
 Tkremind provides a GUI which allows viewing a calendar and adding or editing
 reminders without learning the syntax of Remind.
 
+%package        tools
+Summary:        Additional tools for remind
+# GPL-2.0-or-later:
+#  - contrib/ical2rem.pl
+#  - contrib/rem2ics-0.93/rem2ics.spec
+#  - contrib/remind-conf-mode/remind-conf-mode.el
+# GPL-2.0-or-later AND GPL-2.0-only:
+#  - contrib/rem2ics-0.93/rem2ics
+# GPL-3.0-only:
+#  - contrib/remind-conf-mode/gpl.txt
+License:        GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only
+
+%description    tools
+Tools to convert the remind output to ps, pdf or html as well as example files.
+
 %prep
 %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
 %autosetup -p1 -n %{name}-%{version}
@@ -93,8 +101,15 @@ sed -i 's|\$(PERL) Makefile.PL|\$(PERL) Makefile.PL NO_PACKLIST=1 NO_PERLLOCAL=1
 
 desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE3}
 
+%check
+# NOTE(neil): 2024-01-09 disabling tz.rem as it is broken
+
+sed -iE 's,^TZ=America.*,,;s,^TZ=Europe.*,,' tests/test-rem
+
+make test
+
 %files
-%doc README docs/
+%doc README
 %license COPYRIGHT MICROSOFT-AND-APPLE
 %attr(0755,-,-) %{_bindir}/%{name}
 %{_bindir}/rem
@@ -102,8 +117,11 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE3}
 %{_mandir}/man1/rem.1*
 %{_mandir}/man1/%{name}.1*
 
-%files tools
+%files doc
+%doc README docs/
 %doc www/ examples/ contrib/
+
+%files tools
 %license COPYRIGHT MICROSOFT-AND-APPLE
 %attr(0755,-,-) %{_bindir}/rem2html
 %attr(0755,-,-) %{_bindir}/rem2pdf

             reply	other threads:[~2026-08-21 13:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-21 13:53 Neil Hanlon [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-08-21 13:53 [rpms/remind] epel10: Add tests, split documentation into subpkg Neil Hanlon

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=178732038679.1.9747988295649123395.rpms-remind-dbebd91fb889@fedoraproject.org \
    --to=neil@shrug.pw \
    --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