[packages/dosfstools] Test suite, br updates
arekm
arekm at pld-linux.org
Thu Oct 29 08:29:44 CET 2026
commit 4f5f7a300d00f31efbc0c7a332c7b15d055211f0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Oct 29 00:49:01 2026 +0100
Test suite, br updates
dosfstools.spec | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/dosfstools.spec b/dosfstools.spec
index ce86a93..d474fbc 100644
--- a/dosfstools.spec
+++ b/dosfstools.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests # unit tests
+#
Summary: Utilities to create and check MS-DOS FAT filesystems
Summary(es.UTF-8): Un programa que crea sistemas de archivo de MS-DOS (FAT) en Linux
Summary(pl.UTF-8): Narzędzia do tworzenia i sprawdzania systemów plikowych MS-DOS FAT
@@ -13,10 +17,8 @@ Source0: https://github.com/dosfstools/dosfstools/releases/download/v%{version}/
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-pl-man-pages.tar.bz2
# Source1-md5: 28913ed142dac33624b14ce1e1ce8803
URL: https://github.com/dosfstools/dosfstools
-BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.402
-BuildRequires: tar >= 1:1.22
-BuildRequires: xz
+%{?with_tests:BuildRequires: xxd}
Obsoletes: mkdosfs-ygg
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -58,6 +60,8 @@ sistemas de arquivo MS-DOS.
%{__make}
+%{?with_tests:%{__make} check}
+
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dosfstools.git/commitdiff/4f5f7a300d00f31efbc0c7a332c7b15d055211f0
More information about the pld-cvs-commit
mailing list