]> git.pld-linux.org Git - packages/clit.git/blobdiff - clit.spec
- added format patch (fixes build with -Werror=format-security)
[packages/clit.git] / clit.spec
index 015e8c0ca4a27ca01504a721874ceef994c564eb..ba9b58c3b2705c238088d44a529c0cbd9d7c9542 100644 (file)
--- a/clit.spec
+++ b/clit.spec
@@ -3,11 +3,12 @@ Summary:      Open Convert-.LIT tool
 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
@@ -25,6 +26,7 @@ być pogwałceniem DMCA.
 
 %prep
 %setup -q -c
+%patch0 -p1
 
 sed -i -e 's/gcc -o clit.*/$(CC) -o clit $^ -ltommath/' %{name}%{xver}/Makefile
 
@@ -48,4 +50,4 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/clit
This page took 0.05084 seconds and 4 git commands to generate.