public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/sdorfehs] rawhide: Update to v1.7 (rhbz#2299786)
@ 2026-11-04 23:43 Artur Frenszek-Iwicki
  0 siblings, 0 replies; only message in thread
From: Artur Frenszek-Iwicki @ 2026-11-04 23:43 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/sdorfehs
Branch : rawhide
Commit : 1b0d9b96294696c7804d47676aeedeceae1feffc
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date   : 2026-10-02T21:48:44+02:00
Stats  : +31/-4 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/sdorfehs/c/1b0d9b96294696c7804d47676aeedeceae1feffc?branch=rawhide

Log:
Update to v1.7 (rhbz#2299786)

---
diff --git a/.gitignore b/.gitignore
index 285fb43..44577a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /sdorfehs-1.1.tar.gz
 /sdorfehs-1.4.tar.gz
 /sdorfehs-1.5.tar.gz
+/sdorfehs-1.7.tar.gz

diff --git a/0000-Makefile-command-expansion.patch b/0000-Makefile-command-expansion.patch
new file mode 100644
index 0000000..f674da6
--- /dev/null
+++ b/0000-Makefile-command-expansion.patch
@@ -0,0 +1,24 @@
+--- sdorfehs-1.7/Makefile.orig	2026-03-02 19:06:42.000000000 +0100
++++ sdorfehs-1.7/Makefile	2026-10-02 21:43:47.947821606 +0200
+@@ -1,18 +1,18 @@
+ VERSION=	1.7
+ 
+ VERSION!=	[ -d .git ] && \
+-		echo "git-`git rev-list --abbrev-commit --tags --max-count=1`" || \
++		echo "git-$(shell git rev-list --abbrev-commit --tags --max-count=1)" || \
+ 		echo "${VERSION}"
+ 
+ CC?=		cc
+ PREFIX?=	/usr/local
+ PKGLIBS=	x11 xft xrandr xtst xres freetype2
+ CFLAGS+=	-O2 -Wall \
+ 		-Wunused -Wmissing-prototypes -Wstrict-prototypes \
+-		`pkg-config --cflags ${PKGLIBS}` \
++		$(shell pkg-config --cflags ${PKGLIBS}) \
+ 		-DVERSION=\"${VERSION}\"
+-LDFLAGS+=	`pkg-config --libs ${PKGLIBS}`
++LDFLAGS+=	$(shell pkg-config --libs ${PKGLIBS})
+ 
+ # uncomment to enable debugging
+ #CFLAGS+=	-g -DDEBUG=1
+ # and this for subsystem-specific debugging

diff --git a/sdorfehs.spec b/sdorfehs.spec
index 77d4465..2592bc2 100644
--- a/sdorfehs.spec
+++ b/sdorfehs.spec
@@ -1,5 +1,5 @@
 Name:           sdorfehs
-Version:        1.5
+Version:        1.7
 Release:        %autorelease
 Summary:        A tiling window manager
 
@@ -7,6 +7,9 @@ License:        GPL-2.0-or-later
 URL:            https://github.com/jcs/sdorfehs
 Source:         %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
 
+# Fix command expansion in Makefile
+Patch0:         0000-Makefile-command-expansion.patch
+
 BuildRequires:  gcc
 BuildRequires:  make
 BuildRequires:  sed
@@ -31,12 +34,11 @@ then allows a number of bindings accessible with just a single keystroke or any
 other combination.
 
 %prep
-%autosetup
+%autosetup -p1
 # Do not strip binaries on install so we can get debuginfo
 sed -e 's/install -s/install -p/' -i Makefile
 
 %build
-%set_build_flags
 %make_build
 
 %install

diff --git a/sources b/sources
index 7b93249..8d24491 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sdorfehs-1.5.tar.gz) = 2bbb354d186e06b95b1d01e04bc97585121630dd9544ea8b10299dc5f15bc94bbd5cd55cbb72d6f04a3abf930652731b2070810fe908532953af87f02ec06687
+SHA512 (sdorfehs-1.7.tar.gz) = 5df7493fe9e47064345845a87cd4948f2fdacd5c91d72f24f215d817e54412466109f4cbc92e8456c5e2a81ff23bb915cabd9d5e2f79f7d5716557267a6c4501

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

only message in thread, other threads:[~2026-11-04 23:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-04 23:43 [rpms/sdorfehs] rawhide: Update to v1.7 (rhbz#2299786) Artur Frenszek-Iwicki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox