public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xedit] rawhide: spec cleanup and modernization
@ 2026-06-21 3:36 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-21 3:36 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-21 3:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-21 3:36 [rpms/xedit] rawhide: spec cleanup and modernization Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox