public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/lhasa] f43: Update to v0.6.0
@ 2026-06-18 12:50 Artur Frenszek-Iwicki
0 siblings, 0 replies; only message in thread
From: Artur Frenszek-Iwicki @ 2026-06-18 12:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/lhasa
Branch : f43
Commit : 0b49b1b57b0a8b8bf4cd3df679c5c4815016c366
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date : 2026-06-18T14:39:47+02:00
Stats : +33/-5 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/lhasa/c/0b49b1b57b0a8b8bf4cd3df679c5c4815016c366?branch=f43
Log:
Update to v0.6.0
---
diff --git a/.gitignore b/.gitignore
index 0cadf39..5bdd03f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/lhasa-v0.4.0.tar.gz
/lhasa-v0.5.0.tar.gz
+/lhasa-v0.6.0.tar.gz
diff --git a/0000-no-O0-for-tests.patch b/0000-no-O0-for-tests.patch
new file mode 100644
index 0000000..316f23c
--- /dev/null
+++ b/0000-no-O0-for-tests.patch
@@ -0,0 +1,19 @@
+--- lhasa-0.6.0--orig/configure.ac 2026-06-18 00:19:23.000000000 +0200
++++ lhasa-0.6.0/configure.ac 2026-06-18 00:43:12.478120357 +0200
+@@ -28,14 +28,14 @@
+ fi
+
+ TEST_CFLAGS="-DTEST_BUILD"
+
+-# Turn on all warnings for gcc. Turn off optimisation for the test build.
++# Turn on all warnings for gcc.
+
+ if $is_gcc; then
+ WARNINGS="-Wall -Wsign-compare"
+ CFLAGS="$CFLAGS $WARNINGS"
+- TEST_CFLAGS="$TEST_CFLAGS $WARNINGS -O0"
++ TEST_CFLAGS="$CFLAGS $TEST_CFLAGS $WARNINGS"
+ fi
+
+ # Support for coverage analysis via gcov:
+
diff --git a/lhasa.spec b/lhasa.spec
index 3b25959..880186b 100644
--- a/lhasa.spec
+++ b/lhasa.spec
@@ -2,12 +2,19 @@ Name: lhasa
Summary: Free Software LHA implementation
License: ISC
-Version: 0.5.0
+Version: 0.6.0
Release: 1%{?dist}
URL: https://fragglet.github.io/lhasa/
Source0: https://github.com/fragglet/lhasa/archive/v%{version}/%{name}-v%{version}.tar.gz
+# Upstream builds tests with a minimal set of compiler flags, ignoring CFLAGS.
+# It also uses -O0 for the tests, which conflicts with Fedora's code hardening:
+# #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
+#
+# Use normal CFLAGS for tests and remove the -O0 switch.
+Patch0: 0000-no-O0-for-tests.patch
+
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: doxygen
@@ -66,9 +73,7 @@ for Lhasa, the free software LHA implementation library.
%prep
-%autosetup
-sed -i configure.ac \
- -e 's|TEST_CFLAGS="-DTEST_BUILD"|TEST_CFLAGS="$CFLAGS -DTEST_BUILD"|g'
+%autosetup -p1
%build
@@ -112,6 +117,9 @@ cp -a doc/html %{buildroot}%{_pkgdocdir}
%changelog
+* Thu Jun 18 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 0.6.0-1
+- Update to v0.6.0
+
* Tue Jan 20 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 0.5.0-1
- Update to v0.5.0
diff --git a/sources b/sources
index f7f338e..a4c0ad4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (lhasa-v0.5.0.tar.gz) = 021de4f341c211548e6ae0ec9e69c5423bae8ef368eb28490ff0de6a5be8d77979e8b4808626e8212928a55fa67bf296df7cf0b9832387dc45155fe173cdece9
+SHA512 (lhasa-v0.6.0.tar.gz) = 1803770700be800b3743504395183d3788d92e15f1d970419545001d7a1614fd9bd1df59fc62391cf1e3738fe7e1a52f728d22fea39ca79dbc1215bd7a706aed
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-18 12:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-18 12:50 [rpms/lhasa] f43: Update to v0.6.0 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