[packages/scdoc] Up to 1.11.5
arekm
arekm at pld-linux.org
Fri Nov 27 22:00:51 CET 2026
commit 400f9ca1f54499c758afa34cdd7ab866b91fd27c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Nov 27 15:55:48 2026 +0100
Up to 1.11.5
scdoc.spec | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/scdoc.spec b/scdoc.spec
index beb923b..c13ac00 100644
--- a/scdoc.spec
+++ b/scdoc.spec
@@ -1,12 +1,16 @@
+#
+# Conditional build:
+%bcond_without tests # build without tests
+
Summary: Simple man page generator
Summary(pl.UTF-8): Prosty generator stron podręcznika man
Name: scdoc
-Version: 1.11.4
+Version: 1.11.5
Release: 1
License: MIT
Group: Applications/Text
Source0: https://git.sr.ht/~sircmpwn/scdoc/archive/%{version}.tar.gz
-# Source0-md5: 8899efbd90bd1cc3df5b5732e6d9d1a7
+# Source0-md5: 7b72e1661d31072a0f0be9b665588654
URL: https://git.sr.ht/~sircmpwn/scdoc/
BuildRequires: gcc >= 5:3.2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -24,10 +28,17 @@ POSIX-owych, napisany w C99.
%build
%{__make} \
CC="%{__cc}" \
- CFLAGS="%{rpmcppflags} %{rpmcflags} -DVERSION='\"%{version}\"' -Wno-error=unused-variable -Wno-error=unused-but-set-variable" \
+ CFLAGS="%{rpmcppflags} %{rpmcflags} -DVERSION='\"%{version}\"'" \
LDFLAGS="%{rpmldflags}" \
PREFIX="%{_prefix}" \
+%if %{with tests}
+%{__make} check \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcppflags} %{rpmcflags} -DVERSION='\"%{version}\"'" \
+ LDFLAGS="%{rpmldflags}"
+%endif
+
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/scdoc.git/commitdiff/400f9ca1f54499c758afa34cdd7ab866b91fd27c
More information about the pld-cvs-commit
mailing list