packages: expat/expat.spec - package soname ghost

glen glen at pld-linux.org
Sat Dec 3 16:38:48 CET 2011


Author: glen                         Date: Sat Dec  3 15:38:48 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- package soname ghost

---- Files affected:
packages/expat:
   expat.spec (1.61 -> 1.62) 

---- Diffs:

================================================================
Index: packages/expat/expat.spec
diff -u packages/expat/expat.spec:1.61 packages/expat/expat.spec:1.62
--- packages/expat/expat.spec:1.61	Sat Jan 29 01:06:24 2011
+++ packages/expat/expat.spec	Sat Dec  3 16:38:43 2011
@@ -2,7 +2,7 @@
 #
 # Conditional build:
 %bcond_without	static_libs	# don't build static library
-#
+
 Summary:	XML 1.0 parser
 Summary(es.UTF-8):	Parser de XML 1.0
 Summary(pl.UTF-8):	Analizator składni XML-a 1.0
@@ -11,11 +11,11 @@
 Summary(uk.UTF-8):	Переносима бібліотека розбору XML (expat)
 Name:		expat
 Version:	2.0.1
-Release:	4
+Release:	5
 Epoch:		1
 License:	Thai Open Source Software Center Ltd (distributable)
 Group:		Applications/Publishing/XML
-Source0:	http://dl.sourceforge.net/expat/%{name}-%{version}.tar.gz
+Source0:	http://downloads.sourceforge.net/expat/%{name}-%{version}.tar.gz
 # Source0-md5:	ee8b492592568805593f81f8cdf2a04c
 Patch0:		%{name}-ac_fixes.patch
 Patch1:		%{name}-am18.patch
@@ -39,8 +39,8 @@
 It is currently not a validating XML parser.
 
 %description -l es.UTF-8
-Expat es un parser de XML escrito en C. Pretende conformarse totalmente
-al estándar. Actualmente no es un parser XML validante.
+Expat es un parser de XML escrito en C. Pretende conformarse
+totalmente al estándar. Actualmente no es un parser XML validante.
 
 %description -l pl.UTF-8
 Expat to napisany w języku C analizator składni XML-a. Dąży do pełnej
@@ -147,10 +147,10 @@
 	DESTDIR=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_aclocaldir}
-install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-install conftools/expat.m4 $RPM_BUILD_ROOT%{_aclocaldir}
+cp -p conftools/expat.m4 $RPM_BUILD_ROOT%{_aclocaldir}
 
-cp examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 # for compatibility with upstream/other distros
 cd $RPM_BUILD_ROOT%{_libdir}
 ln -sf libexpat.so.*.*.* libexpat.so.1
@@ -166,6 +166,7 @@
 %doc COPYING Changes README
 %attr(755,root,root) %{_bindir}/xmlwf
 %attr(755,root,root) %{_libdir}/libexpat.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libexpat.so.0
 %attr(755,root,root) %{_libdir}/libexpat.so.1
 %{_mandir}/man1/xmlwf.1*
 
@@ -176,9 +177,7 @@
 %{_libdir}/libexpat.la
 %{_includedir}/expat*.h
 %{_aclocaldir}/expat.m4
-%dir %{_examplesdir}/%{name}-%{version}
-%{_examplesdir}/%{name}-%{version}/*
-
+%{_examplesdir}/%{name}-%{version}
 
 %if %{with static_libs}
 %files static
@@ -192,6 +191,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.62  2011/12/03 15:38:43  glen
+- package soname ghost
+
 Revision 1.61  2011/01/29 00:06:24  sparky
 - dropped pre-cvs changelog
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/expat/expat.spec?r1=1.61&r2=1.62&f=u



More information about the pld-cvs-commit mailing list