rpms/slang/devel slang.spec,1.52,1.53

Miroslav Lichvar mlichvar at fedoraproject.org
Fri Dec 12 14:20:48 UTC 2008


Author: mlichvar

Update of /cvs/pkgs/rpms/slang/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15290

Modified Files:
	slang.spec 
Log Message:
- convert changes.txt to UTF-8, comment patches (#226420)



Index: slang.spec
===================================================================
RCS file: /cvs/pkgs/rpms/slang/devel/slang.spec,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- slang.spec	8 Sep 2008 13:59:40 -0000	1.52
+++ slang.spec	12 Dec 2008 14:20:18 -0000	1.53
@@ -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 @@
 %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 @@
 %{_libdir}/libslang*.a
 
 %changelog
+* Fri Dec 12 2008 Miroslav Lichvar <mlichvar at redhat.com> - 2.1.4-2
+- convert changes.txt to UTF-8, comment patches (#226420)
+
 * Mon Sep 08 2008 Miroslav Lichvar <mlichvar at redhat.com> - 2.1.4-1
 - update to 2.1.4
 




More information about the fedora-extras-commits mailing list