public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/stlink] rawhide: spec cleanup and modernization
@ 2026-06-14  5:39 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-14  5:39 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-14  5:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-14  5:39 [rpms/stlink] 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