public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/lowdown] f45: Update to v3.1.1
@ 2026-08-31 11:28 Artur Frenszek-Iwicki
  0 siblings, 0 replies; only message in thread
From: Artur Frenszek-Iwicki @ 2026-08-31 11:28 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/lowdown
Branch : f45
Commit : a13f2309989be07c68f9335f75a07282d0e84fa2
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date   : 2026-08-27T21:53:09+02:00
Stats  : +37/-37 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/lowdown/c/a13f2309989be07c68f9335f75a07282d0e84fa2?branch=f45

Log:
Update to v3.1.1

---
diff --git a/.gitignore b/.gitignore
index 97ef178..0d333fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /lowdown-1.3.0.tar.gz
 /lowdown-1.3.2.tar.gz
 /lowdown-2.0.2.tar.gz
+/lowdown-3.1.1.tar.gz

diff --git a/0001-Makefile-link-lowdown-dynamically-and-lowdown-diff-s.patch b/0001-Makefile-link-lowdown-dynamically-and-lowdown-diff-s.patch
deleted file mode 100644
index 7c8b660..0000000
--- a/0001-Makefile-link-lowdown-dynamically-and-lowdown-diff-s.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 22fd3221d788477c5f16828a2549c5ef8effee35 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
-Date: Fri, 3 Nov 2023 14:05:40 +0100
-Subject: [PATCH] Makefile: link lowdown dynamically and lowdown-diff
- symbolically
-
----
- Makefile | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 6f36358acc..4e872870f5 100644
---- a/Makefile
-+++ b/Makefile
-@@ -177,11 +177,11 @@ installwww: www
- 	$(INSTALL) -m 0444 lowdown.tar.gz $(WWWDIR)/snapshots
- 	$(INSTALL) -m 0444 lowdown.tar.gz.sha512 $(WWWDIR)/snapshots
- 
--lowdown: liblowdown.a main.o
--	$(CC) -o $@ main.o liblowdown.a $(LDFLAGS) $(LDADD_MD5) -lm $(LDADD)
-+lowdown: liblowdown.so main.o
-+	$(CC) -o $@ $+ $(LDFLAGS) $(LDADD_MD5) -lm $(LDADD)
- 
- lowdown-diff: lowdown
--	ln -f lowdown lowdown-diff
-+	ln -sf lowdown lowdown-diff
- 
- liblowdown.a: $(OBJS) $(COMPAT_OBJS)
- 	$(AR) rs $@ $(OBJS) $(COMPAT_OBJS)

diff --git a/0001-Makefile-use-standard-make-syntax.patch b/0001-Makefile-use-standard-make-syntax.patch
index 06bf9e5..bfcd3c1 100644
--- a/0001-Makefile-use-standard-make-syntax.patch
+++ b/0001-Makefile-use-standard-make-syntax.patch
@@ -12,14 +12,14 @@ diff --git a/Makefile b/Makefile
 index 988d9f5263..b55c408028 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -128,13 +128,13 @@ CFLAGS		+= -DVERSION=\"$(VERSION)\"
- # also set SANDBOX_INIT_ERROR_IGNORE in their environment to ignore
+@@ -150,13 +150,13 @@
  # failure.
  # Has no effect unless HAVE_SANDBOX_INIT is defined.
+ 
 -.ifdef SANDBOX_INIT_ERROR_IGNORE
 -.if $(SANDBOX_INIT_ERROR_IGNORE) == "always"
 +ifdef SANDBOX_INIT_ERROR_IGNORE
-+ifeq ($(SANDBOX_INIT_ERROR_IGNORE),"always")
++ifeq "$(SANDBOX_INIT_ERROR_IGNORE)" "always"
  CFLAGS		+= -DSANDBOX_INIT_ERROR_IGNORE=2
 -.else
 +else
@@ -28,6 +28,35 @@ index 988d9f5263..b55c408028 100644
 -.endif
 +endif
 +endif
+ 
+ # Names of shared and static libraries.
+ 
+@@ -172,21 +172,21 @@
+ 
+ LIB_LOWDOWN 	 = $(LIB_ST)
+ MAIN_OBJS	 = src/main.o
+-.ifdef LINK_METHOD
+-.if $(LINK_METHOD) == "shared"
++ifdef LINK_METHOD
++ifeq "$(LINK_METHOD)" "shared"
+ LIB_LOWDOWN 	 = $(LIB_SO)
+ MAIN_OBJS	 = $(COMPAT_OBJS) src/main.o
+-.endif
+-.endif
++endif
++endif
+ 
+ # Mac OS X and other Unix systems use different conventions for
+ # indicating shared library versions.
+ 
+-.if $(LINKER_SOSUFFIX) == "dylib"
++ifeq "$(LINKER_SOSUFFIX)" "dylib"
+ LIB_SOVER	 = liblowdown.$(LIBVER).$(LINKER_SOSUFFIX)
+-.else
++else
+ LIB_SOVER	 = liblowdown.$(LINKER_SOSUFFIX).$(LIBVER)
+-.endif
++endif
+ 
  # Because the objects will be compiled into a shared library:
  CFLAGS		+= -fPIC
- # To avoid exporting internal functions (lowdown.h has default visibility).

diff --git a/lowdown.spec b/lowdown.spec
index c763040..1365368 100644
--- a/lowdown.spec
+++ b/lowdown.spec
@@ -1,5 +1,5 @@
 Name:           lowdown
-Version:        2.0.2
+Version:        3.1.1
 Release:        %autorelease
 Summary:        Simple markdown translator
 
@@ -8,7 +8,6 @@ URL:            https://kristaps.bsd.lv/lowdown/
 %global github_version_tag %(tr '.' '_' <<<VERSION_%{version})
 
 Source:         https://github.com/kristapsdz/lowdown/archive/%{github_version_tag}/%{name}-%{version_no_tilde}.tar.gz
-Patch:          0001-Makefile-link-lowdown-dynamically-and-lowdown-diff-s.patch
 Patch:          0001-Makefile-use-standard-make-syntax.patch
 
 BuildRequires:  make
@@ -17,7 +16,7 @@ BuildRequires:  libbsd-devel
 
 Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
 
-%global soversion 2
+%global soversion 4
 %global _docdir_fmt %{name}
 
 %description

diff --git a/sources b/sources
index 6ce74ba..07fc00f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (lowdown-2.0.2.tar.gz) = ebd927776f13e78c26e1c001e8586dc43fe1e64d1c537a18cd71bd6a8936c93a9fefcb58c53e94a7c0727b525f6c6a21ab70b924db8c7c105161a6a92d9c96fa
+SHA512 (lowdown-3.1.1.tar.gz) = 05c6a0c6fcb0ffc45d7f60c5aecc43e96d89eb5708558098009db8aecd2e527bdac44dcce8cf91c139275f5405202b6cf838c0e56852a523fc8070d792fc8709

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

only message in thread, other threads:[~2026-08-31 11:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-31 11:28 [rpms/lowdown] f45: Update to v3.1.1 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