[packages/dos2unix] Up to 7.5.7

arekm arekm at pld-linux.org
Fri Aug 28 09:09:16 CEST 2026


commit f96884917eef9163618110291a584095db9bcb85
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Aug 28 09:05:30 2026 +0200

    Up to 7.5.7

 dos2unix.spec | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/dos2unix.spec b/dos2unix.spec
index b0c2225..c40f7f8 100644
--- a/dos2unix.spec
+++ b/dos2unix.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without	tests		# unit tests
+#
 Summary:	dos2unix - DOS/MAC to UNIX text file format converter
 Summary(fr.UTF-8):	Convertisseur de format de fichier texte
 Summary(pl.UTF-8):	dos2unix - konwerter plików tekstowych z formatów DOS/MAC na UNIX
@@ -6,14 +10,16 @@ Summary(ru.UTF-8):	dos2unix - конвертор текстовых файлов
 Summary(uk.UTF-8):	dos2unix - конвертор текстових файлів DOS в формат UNIX
 Summary(zh_CN.UTF-8):	转换DOS或MAC文本文件到UNIX格式
 Name:		dos2unix
-Version:	7.5.6
+Version:	7.5.7
 Release:	1
 License:	BSD
 Group:		Applications/Text
 Source0:	https://downloads.sourceforge.net/dos2unix/%{name}-%{version}.tar.gz
-# Source0-md5:	0cda65d5e461b1d8162bf1194a669531
+# Source0-md5:	72877deeaea114ea152b76c08b0f2e78
 URL:		https://dos2unix.sourceforge.io/
 BuildRequires:	gettext-tools
+# for prove binary
+%{?with_tests:BuildRequires:	perl-tools-devel}
 BuildRequires:	perl-tools-pod
 Provides:	unix2dos = %{version}-%{release}
 Obsoletes:	unix2dos < 3
@@ -49,6 +55,8 @@ dos2unix - конвертор текстових файлів DOS в форма
 	RPM_OPT_FLAGS="%{rpmcflags} %{rpmcppflags}" \
 	LDFLAGS="%{rpmldflags}"
 
+%{?with_tests:%{__make} check}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dos2unix.git/commitdiff/f96884917eef9163618110291a584095db9bcb85



More information about the pld-cvs-commit mailing list