From 8a9ac739d575f3367d5e8bcefec3be2c6b38ca79 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Fri, 12 Dec 2008 14:20:18 +0000 Subject: [PATCH] - convert changes.txt to UTF-8, comment patches (#226420) --- slang.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/slang.spec b/slang.spec index e329355..7b2cd01 100644 --- a/slang.spec +++ b/slang.spec @@ -1,11 +1,13 @@ Summary: The shared library for the S-Lang extension language Name: slang Version: 2.1.4 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: System Environment/Libraries Source: ftp://space.mit.edu/pub/davis/slang/v2.1/%{name}-%{version}.tar.bz2 +# fix file permissions, library symlink, parallel build, remove RPATH Patch1: slang-2.1.4-makefile.patch +# don't use internal glibc symbol Patch2: slang-nointerlibc2.patch URL: http://www.jedsoft.org/slang/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -59,6 +61,10 @@ language. %patch1 -p1 -b .makefile %patch2 -p1 -b .nointerlibc2 +head -n -1800 < changes.txt > changes.txt_ && tail -n 1800 < changes.txt | \ + iconv -f iso8859-1 -t utf8 >> changes.txt_ && \ + touch -r changes.txt{,_} && mv changes.txt{_,} + %build %configure \ --includedir=%{_includedir}/slang \ @@ -106,6 +112,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/libslang*.a %changelog +* Fri Dec 12 2008 Miroslav Lichvar - 2.1.4-2 +- convert changes.txt to UTF-8, comment patches (#226420) + * Mon Sep 08 2008 Miroslav Lichvar - 2.1.4-1 - update to 2.1.4