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/xedit] rawhide: spec cleanup and modernization
Date: Sun, 21 Jun 2026 03:36:35 GMT	[thread overview]
Message-ID: <178201299588.1.6861574939030855889.rpms-xedit-8b5d8d4c7cfe@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/xedit
            Branch : rawhide
            Commit : 8b5d8d4c7cfedbb82357431cf9dd513cce8663a9
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-21T00:11:15-03:00
            Stats  : +16/-12 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/xedit/c/8b5d8d4c7cfedbb82357431cf9dd513cce8663a9?branch=rawhide

            Log:
            spec cleanup and modernization

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

---
diff --git a/xedit.spec b/xedit.spec
index 30e1fa2..3eff0f7 100644
--- a/xedit.spec
+++ b/xedit.spec
@@ -1,17 +1,16 @@
 Name:		xedit
 Version:	1.2.4
-Release:	6%{?dist}
+Release:	7%{?dist}
 Summary:	Simple text editor for X
-URL:		http://xorg.freedesktop.org
-Source0:	http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.xz
+URL:		https://xorg.freedesktop.org
+Source0:	https://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.xz
 Source1:	%{name}.desktop
-# Automatically converted from old format: MIT and BSD - review is highly recommended.
-License:	LicenseRef-Callaway-MIT AND LicenseRef-Callaway-BSD
-BuildRequires:	libtool make
+License:	MIT AND BSD-3-Clause
+BuildRequires:	gcc make
 BuildRequires:	desktop-file-utils
 BuildRequires:	libXaw-devel
 BuildRequires:	xorg-x11-util-macros
-Patch0:		xedit-hunspell.patch
+Patch:		xedit-hunspell.patch
 Requires:	xorg-x11-xbitmaps
 Requires:	hunspell
 Requires:	hunspell-en
@@ -30,17 +29,19 @@ Xedit provides a simple text editor for X.
 
 %build
 %configure --with-lispdir=%{_datadir}/X11/%{name}
+%make_build
 
 %install
-make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
-install -D -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
-desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
+%make_install
+install -D -m 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop
 
 %check
-make check
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+%make_build check
 
 %files
-%doc AUTHORS ChangeLog COPYING README
+%license COPYING
+%doc AUTHORS ChangeLog README
 %{_bindir}/%{name}
 %{_datadir}/X11/%{name}
 %{_datadir}/X11/app-defaults/Xedit
@@ -49,6 +50,9 @@ make check
 %{_mandir}/man1/xedit.1*
 
 %changelog
+* Sun Jun 21 2026 Filipe Rosset <filiperosset@fedoraproject.org> - 1.2.4-7
+- spec cleanup and modernization
+
 * Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

                 reply	other threads:[~2026-06-21  3:36 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=178201299588.1.6861574939030855889.rpms-xedit-8b5d8d4c7cfe@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