public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xfce4-calculator-plugin] f45: spec cleanup and modernization, enabled tests
@ 2026-09-04 17:31 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-09-04 17:31 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/xfce4-calculator-plugin
Branch : f45
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=f45

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*

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

only message in thread, other threads:[~2026-09-04 17:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 17:31 [rpms/xfce4-calculator-plugin] f45: spec cleanup and modernization, enabled tests Filipe Rosset

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