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/xfce4-calculator-plugin] rawhide: spec cleanup and modernization, enabled tests
Date: Fri, 04 Sep 2026 17:30:45 GMT	[thread overview]
Message-ID: <178854304563.1.12392910150287305776.rpms-xfce4-calculator-plugin-54805ee3d565@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/xfce4-calculator-plugin
Branch : rawhide
Commit : 54805ee3d5659995133e405228447058baba76a3
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-08-31T22:29:45-03:00
Stats  : +13/-11 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/xfce4-calculator-plugin/c/54805ee3d5659995133e405228447058baba76a3?branch=rawhide

Log:
spec cleanup and modernization, enabled tests

---
diff --git a/xfce4-calculator-plugin.spec b/xfce4-calculator-plugin.spec
index ac33880..1efd2e8 100644
--- a/xfce4-calculator-plugin.spec
+++ b/xfce4-calculator-plugin.spec
@@ -1,4 +1,3 @@
-%global _hardened_build 1
 %global majorver 0.8
 %global gen_name calculator
 
@@ -7,17 +6,16 @@ Version:	0.8.0
 Release:	%autorelease
 Summary:	A calculator plugin for the Xfce4 panel
 
-# Automatically converted from old format: GPLv2+ - review is highly recommended.
 License:	GPL-2.0-or-later
-URL:		http://goodies.xfce.org/projects/panel-plugins/%{name}
-Source0:	http://archive.xfce.org/src/panel-plugins/%{name}/%{majorver}/%{name}-%{version}.tar.xz
+URL:		https://docs.xfce.org/panel-plugins/%{name}
+Source0:	https://archive.xfce.org/src/panel-plugins/%{name}/%{majorver}/%{name}-%{version}.tar.xz
 
-BuildRequires:	make
-BuildRequires:	gcc-c++
+BuildRequires:	gcc
+BuildRequires:	meson
+BuildRequires:	gtk3-devel
 BuildRequires:	libxfce4ui-devel
+BuildRequires:	libxfce4util-devel
 BuildRequires:	xfce4-panel-devel
-BuildRequires:	gtk2-devel
-BuildRequires:	meson
 Requires:	xfce4-panel
 
 %description
@@ -33,8 +31,6 @@ and constants.
 
 %prep
 %autosetup
-# remove empty file
-rm -f NEWS
 
 %build
 %meson
@@ -43,11 +39,17 @@ rm -f NEWS
 %install
 %meson_install
 
+# Remove invalid locale
+rm -rf %{buildroot}%{_datadir}/locale/hye
+
 %find_lang %{name}
 
+%check
+%meson_test
+
 %files -f %{name}.lang
 %license COPYING
-%doc AUTHORS
+%doc AUTHORS NEWS README.md
 %{_libdir}/xfce4/panel/plugins/libcalculator.so
 %{_datadir}/xfce4/panel/plugins/%{gen_name}.desktop
 %{_datadir}/icons/hicolor/*/*/*calculator*

                 reply	other threads:[~2026-09-04 17:30 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=178854304563.1.12392910150287305776.rpms-xfce4-calculator-plugin-54805ee3d565@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