public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/sakura] rawhide: spec cleanup and modernization
Date: Sun, 14 Jun 2026 01:38:59 GMT	[thread overview]
Message-ID: <178140113939.1.18279573385638093792.rpms-sakura-edb38442b681@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/sakura
            Branch : rawhide
            Commit : edb38442b6815d67342cd496260db2093004ee71
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-13T22:38:52-03:00
            Stats  : +10/-10 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/sakura/c/edb38442b6815d67342cd496260db2093004ee71?branch=rawhide

            Log:
            spec cleanup and modernization

Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>

---
diff --git a/sakura.spec b/sakura.spec
index 8dd66ea..13d66cf 100644
--- a/sakura.spec
+++ b/sakura.spec
@@ -1,6 +1,3 @@
-%global optflags %{optflags} -flto=auto
-%global build_ldflags %{build_ldflags} -flto
-
 Name:           sakura
 Version:        3.8.9
 Release:        %autorelease
@@ -10,13 +7,17 @@ Summary:        Terminal emulator based on GTK and VTE
 License:        GPL-2.0-only
 URL:            https://launchpad.net/sakura
 Source0:        https://launchpad.net/sakura/trunk/%{version}/+download/sakura-%{version}.tar.bz2
+
 BuildRequires:  gcc
 BuildRequires:  gcc-c++
+BuildRequires:  cmake
+BuildRequires:  desktop-file-utils
+BuildRequires:  gettext
+BuildRequires:  pcre2-devel
+BuildRequires:  perl-podlators
 BuildRequires:  pkgconfig(glib-2.0) >= 2.20
 BuildRequires:  pkgconfig(gtk+-3.0)
-BuildRequires:  vte291-devel
-BuildRequires:  cmake desktop-file-utils gettext /usr/bin/pod2man
-BuildRequires:  pcre2-devel
+BuildRequires:  pkgconfig(vte-2.91)
 
 %description
 Sakura is a terminal emulator based on GTK and VTE. It's a terminal emulator 
@@ -28,9 +29,7 @@ have a decent terminal emulator.
 %autosetup
 
 %build
-find . -type f -name CMakeCache.txt -exec rm -rf {} \;
-%cmake -DCMAKE_AR=/usr/bin/gcc-ar -DCMAKE_RANLIB=/usr/bin/gcc-ranlib \
-       -DCMAKE_NM=/usr/bin/gcc-nm CMAKE_C_FLAGS="%{optflags}" -Wno-dev
+%cmake
 %cmake_build
 
 
@@ -47,7 +46,8 @@ rm -rf %{buildroot}%{_datadir}/doc/
 
 
 %check
-ctest .
+%ctest
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
 
 
 %files -f %{name}.lang

                 reply	other threads:[~2026-06-14  1:38 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=178140113939.1.18279573385638093792.rpms-sakura-edb38442b681@fedoraproject.org \
    --to=filiperosset@fedoraproject.org \
    --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