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/st] rawhide: update to 0.9.3 fixes rhbz#2387382
Date: Sun, 14 Jun 2026 05:00:26 GMT	[thread overview]
Message-ID: <178141322638.1.7191383001980021450.rpms-st-3dc54c88861c@fedoraproject.org> (raw)

            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}
 

                 reply	other threads:[~2026-06-14  5:00 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=178141322638.1.7191383001980021450.rpms-st-3dc54c88861c@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