--- /dev/null
+--- clit-1.8/clit18/clit.c.orig 2004-07-04 17:20:12.000000000 +0200
++++ clit-1.8/clit18/clit.c 2016-09-01 18:15:22.946863883 +0200
+@@ -125,9 +125,9 @@
+ dir_program[i+1] = '\0'; break;\r
+ }\r
+ }\r
+- printf(sTitle);\r
++ fputs(sTitle, stdout);\r
+ if (argc < 3) { \r
+- printf(sUsage);\r
++ fputs(sUsage, stdout);\r
+ return -1;\r
+ }\r
+ base = 1;\r
Summary(pl.UTF-8): Otwarte narzędzie do rozpakowywania plików .LIT
Name: clit
Version: 1.8
-Release: 2
+Release: 3
License: GPL v2+
Group: Applications/Archiving
Source0: http://www.kyz.uklinux.net/downloads/open_c-lit-%{version}.tar.gz
# Source0-md5: d8c599cf0e3cd8bab08e455e51ef852d
+Patch0: %{name}-format.patch
URL: http://www.kyz.uklinux.net/convlit.php
BuildRequires: libtommath-devel
BuildRequires: sed >= 4.0
%prep
%setup -q -c
+%patch0 -p1
sed -i -e 's/gcc -o clit.*/$(CC) -o clit $^ -ltommath/' %{name}%{xver}/Makefile
%files
%defattr(644,root,root,755)
%doc README
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/clit