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/stlink] rawhide: spec cleanup and modernization
Date: Sun, 14 Jun 2026 05:39:42 GMT [thread overview]
Message-ID: <178141558222.1.13724714984803258461.rpms-stlink-7144d227b9b4@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/stlink
Branch : rawhide
Commit : 7144d227b9b498ca22de14a8a320efc6c73796f2
Author : Filipe Rosset <filiperosset@fedoraproject.org>
Date : 2026-06-14T02:39:30-03:00
Stats : +8/-17 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/stlink/c/7144d227b9b498ca22de14a8a320efc6c73796f2?branch=rawhide
Log:
spec cleanup and modernization
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
---
diff --git a/stlink.spec b/stlink.spec
index 869d4f9..2def20e 100644
--- a/stlink.spec
+++ b/stlink.spec
@@ -1,27 +1,19 @@
-# %global gitcommit_full f82700623127538c8cf5cddbbeba6afc12d3adbf
-# %global gitcommit %(c=%{gitcommit_full}; echo ${c:0:7})
-# %global date 20200420
-
Name: stlink
Version: 1.8.0
-# Release: 0.1.%{date}git%{gitcommit}%{?dist}
Release: %autorelease
Summary: STM32 discovery line Linux programmer
License: BSD-3-Clause
-Url: https://github.com/stlink-org/stlink
-# Source0: %{url}/tarball/%{gitcommit_full}
-Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+URL: https://github.com/stlink-org/stlink
+Source: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: 6a6718b3342b6c5e282a4e33325b9f97908a0692.patch
-BuildRequires: gcc
BuildRequires: cmake
+BuildRequires: desktop-file-utils
+BuildRequires: gcc
BuildRequires: pkgconfig(gtk+-3.0)
-BuildRequires: pkgconfig(udev)
BuildRequires: pkgconfig(libusb-1.0)
-BuildRequires: desktop-file-utils
-BuildRequires: pandoc
-Requires: pkgconfig(udev)
+BuildRequires: pkgconfig(udev)
%description
STLINK v1/v2 JTAG/SWD debugging/flashing tool for STM32 microcontrollers.
@@ -67,10 +59,8 @@ sed -i 's|CMP0153|CMP0042|' CMakeLists.txt
rm %{buildroot}%{_libdir}/lib%{name}.a
%check
-%cmake check
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-gui.desktop
-
%files
%doc README.md CHANGELOG.md
%license LICENSE.md
@@ -82,16 +72,17 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-gui.desktop
%{_udevrulesdir}/49-%{name}*
%files gui
+%license LICENSE.md
%{_bindir}/%{name}-gui
%{_datadir}/%{name}-gui.ui
%{_datadir}/applications/%{name}-gui.desktop
%{_datadir}/icons/hicolor/scalable/apps/%{name}-gui.svg
%files devel
+%license LICENSE.md
+%doc README.md
%{_includedir}/%{name}*
-# %{_includedir}/stm32.h
%{_libdir}/lib%{name}.so
-# %{_libdir}/pkgconfig/%{name}.pc
%changelog
%autochangelog
reply other threads:[~2026-06-14 5:39 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=178141558222.1.13724714984803258461.rpms-stlink-7144d227b9b4@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