public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/st] rawhide: update to 0.9.3 fixes rhbz#2387382
@ 2026-06-14 5:00 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-14 5:00 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/st
Branch : rawhide
Commit : 3dc54c88861cc90fd4480106d11b219980991f5f
Author : Filipe Rosset <filiperosset@fedoraproject.org>
Date : 2026-06-14T01:48:00-03:00
Stats : +17/-6 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/st/c/3dc54c88861cc90fd4480106d11b219980991f5f?branch=rawhide
Log:
update to 0.9.3 fixes rhbz#2387382
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
index 0449610..121ebac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
/st-0.8.4.tar.gz
/st-0.9.tar.gz
/st-0.9.2.tar.gz
+/st-0.9.3.tar.gz
diff --git a/sources b/sources
index 9b2e257..0fc740d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (st-0.9.2.tar.gz) = 1ca484227189d9e92ffc1092183fdc6a162da8bb41b9c18df662212d49a9551a84c3c87784ae16f2294105776b9d58983f29396bc681e367b761610bd7071b61
+SHA512 (st-0.9.3.tar.gz) = c07303ac3447de57b72dd48f3cfd590de54267d85f8313517b625b4008de968383ced071e4c396a126d901983278b4242236ebc80f23d6838e6e7390feebc6a6
diff --git a/st.spec b/st.spec
index b73a3ff..425f632 100644
--- a/st.spec
+++ b/st.spec
@@ -1,5 +1,5 @@
Name: st
-Version: 0.9.2
+Version: 0.9.3
Release: %autorelease
Summary: A simple terminal implementation for X
%global _stsourcedir %{_usrsrc}/%{name}-user-%{version}-%{release}
@@ -40,21 +40,23 @@ Requires: libXft-devel
Requires: make
Requires: patch
Requires: redhat-rpm-config
+Requires(post): %{_sbindir}/update-alternatives
+Requires(postun): %{_sbindir}/update-alternatives
%description user
Source files for st and a launcher/builder wrapper script for
customized configurations.
%prep
-%setup -q
+%autosetup
# terminfo entries are provided by ncurses-base
sed -e "/tic .*st.info/d" -i Makefile
%build
-CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" make %{?_smp_mflags}
+%make_build CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}"
%install
-make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
+%make_install PREFIX=%{_prefix}
mv %{buildroot}%{_bindir}/%{name}{,-fedora}
install -pm755 %{SOURCE2} %{buildroot}%{_bindir}/%{name}-user
install -Dpm644 %{SOURCE3} %{buildroot}%{_mandir}/man1/%{name}-user.1
@@ -65,12 +67,20 @@ sed -i -e 's/VERSION/%{version}/' \
-e 's/RELEASE/%{release}/' \
${file}
done
+
+# Clean compilation artifacts before copying source files for st-user
+make clean
+
mkdir -p %{buildroot}%{_stsourcedir}
-install -m644 * \
+install -pm644 * \
%{buildroot}%{_stsourcedir}
touch %{buildroot}%{_bindir}/%{name}
+chmod 0755 %{buildroot}%{_bindir}/%{name}
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
+%check
+# No test suite exists
+
%pre
[ -L %{_bindir}/%{name} ] || rm -f %{_bindir}/%{name}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-14 5:00 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:00 [rpms/st] rawhide: update to 0.9.3 fixes rhbz#2387382 Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox