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/unetbootin] rawhide: spec cleanup and modernization
Date: Tue, 30 Jun 2026 23:34:42 GMT	[thread overview]
Message-ID: <178286248200.1.6325761115415846045.rpms-unetbootin-f665e846eab3@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/unetbootin
            Branch : rawhide
            Commit : f665e846eab370ccf63eab4173aad1b151ef4d1b
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-30T19:51:57-03:00
            Stats  : +27/-24 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/unetbootin/c/f665e846eab370ccf63eab4173aad1b151ef4d1b?branch=rawhide

            Log:
            spec cleanup and modernization

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

---
diff --git a/unetbootin.spec b/unetbootin.spec
index 018dae6..8de6e3c 100644
--- a/unetbootin.spec
+++ b/unetbootin.spec
@@ -1,58 +1,61 @@
-%global debug_package %{nil}
-
-Name:		unetbootin
-Version:	702
-Release:	12%{?dist}
-Summary:	Create bootable Live USB drives for a variety of Linux distributions
+Name:           unetbootin
+Version:        702
+Release:        12%{?dist}
+Summary:        Create bootable Live USB drives for a variety of Linux distributions
 # Automatically converted from old format: GPLv2+ - review is highly recommended.
-License:	GPL-2.0-or-later
-URL:		https://unetbootin.github.io/
-Source0:	https://sourceforge.net/projects/%{name}/files/UNetbootin/%{version}/%{name}-source-%{version}.tar.gz
-Patch0:     unetbootin-675-desktop.patch
+License:        GPL-2.0-or-later
+URL:            https://unetbootin.github.io/
+Source0:        https://sourceforge.net/projects/%{name}/files/UNetbootin/%{version}/%{name}-source-%{version}.tar.gz
+Patch0:         unetbootin-675-desktop.patch
 # Syslinux is only available on x86 architectures
-ExclusiveArch:	%{ix86} x86_64
+ExclusiveArch:  %{ix86} x86_64 aarch64
 
-BuildRequires: make
-BuildRequires:	gcc-c++
-BuildRequires:	desktop-file-utils
-BuildRequires:	qt5-linguist
-BuildRequires:	qt5-qtbase-devel
+BuildRequires:  desktop-file-utils
+BuildRequires:  gcc-c++
+BuildRequires:  make
+BuildRequires:  qt5-linguist
+BuildRequires:  qt5-qtbase-devel
 # Not picked up automatically, required for operation
-Requires:	p7zip-plugins
-Requires:	syslinux
-Requires:	syslinux-extlinux
+Requires:       p7zip-plugins
+%ifarch %{ix86} x86_64
+Requires:       syslinux
+Requires:       syslinux-extlinux
+%endif
 
 %description
 UNetbootin allows you to create bootable Live USB drives for a variety of
 Linux distributions from Windows or Linux, without requiring you to burn a CD.
 You can either let it download one of the many distributions supported
-out-of-the-box for you, or supply your own Linux .iso file if you've already
+out-of-the-box for you, or supply your own Linux .ISO file if you've already
 downloaded one or your preferred distribution isn't on the list.
 
 
 %prep
-%setup -c
-%patch -P0 -p1
+%autosetup -c
+# Fix line endings
+sed -i 's/\r$//' README.TXT
 # Fix desktop file
 sed -i '/^RESOURCES/d' unetbootin.pro
 
 %build
 lupdate-qt5 unetbootin.pro
 lrelease-qt5 unetbootin.pro
-%{?qmake_qt5}%{!?qmake_qt5:qmake-qt5}}
+%qmake_qt5
 %make_build
 
 
 %install
 install -D -p -m 755 unetbootin %{buildroot}%{_bindir}/unetbootin
 # Install desktop file
-desktop-file-install --vendor="" --remove-category=Application --dir=%{buildroot}%{_datadir}/applications unetbootin.desktop
+desktop-file-install --dir=%{buildroot}%{_datadir}/applications unetbootin.desktop
 # Install localization files
 install -d %{buildroot}%{_datadir}/unetbootin
 install -c -p -m 644 unetbootin_*.qm %{buildroot}%{_datadir}/unetbootin/
 # Install pixmap
 install -D -p -m 644 unetbootin_512.png %{buildroot}%{_datadir}/pixmaps/unetbootin.png
 
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/unetbootin.desktop
 
 %files
 %doc README.TXT

                 reply	other threads:[~2026-06-30 23:34 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=178286248200.1.6325761115415846045.rpms-unetbootin-f665e846eab3@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