rpmling warnings fixed

epel9
Peter Lemenkov 17 years ago
parent 7256b83979
commit f01c0d1320

@ -0,0 +1 @@
xerces-c-2_8_0-2_fc9:HEAD:xerces-c-2.8.0-2.fc9.src.rpm:1214829476

@ -1,11 +1,11 @@
Summary: Validating XML Parser
Name: xerces-c
Version: 2.8.0
Release: 1%{?dist}
License: Apache Software License
Name: xerces-c
Version: 2.8.0
Release: 2%{?dist}
License: ASL 2.0
Group: System Environment/Libraries
URL: http://xml.apache.org/xerces-c/
Source: http://www.apache.org/dist/xerces/c/sources/xerces-c-src_2_8_0.tar.gz
URL: http://xml.apache.org/xerces-c/
Source: http://www.apache.org/dist/xerces/c/sources/xerces-c-src_2_8_0.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
@ -16,10 +16,10 @@ generating, manipulating, and validating XML documents. Xerces-C is
faithful to the XML 1.0 recommendation and associated standards ( DOM
1.0, DOM 2.0. SAX 1.0, SAX 2.0, Namespaces).
%package devel
Summary: Header files, libraries and development documentation for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%package devel
Summary: Header files, libraries and development documentation for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
This package contains the header files, static libraries and development
@ -53,6 +53,15 @@ rm -rf doc/html/resources/.svn
find ./doc -type f -perm 755 -exec chmod 644 {} \;
find ./samples -type f -perm 755 -exec chmod 644 {} \;
%{__perl} -pi.orig -e 's|(PREFIX.)/lib\b|$1/%{_lib}|g' src/xercesc/configure */Makefile.in
rm doc/html/apiDocs/XMLRegisterCleanup_8hpp__incl.map
rm doc/html/apiDocs/XSConstants_8hpp__incl.map
# make rpmlint happy
sed -i 's/\r//' doc/charter.xml
iconv -f iso8859-1 -t utf-8 credits.txt > credits.utf8 && mv -f credits.{utf8,txt}
iconv -f iso8859-1 -t utf-8 doc/feedback.xml > doc/feedback.utf8 && mv -f doc/feedback.{utf8,xml}
iconv -f iso8859-1 -t utf-8 doc/migration.xml > doc/migration.utf8 && mv -f doc/migration.{utf8,xml}
iconv -f iso8859-1 -t utf-8 doc/releases_archive.xml > doc/releases_archive.utf8 && mv -f doc/releases_archive.{utf8,xml}
%build
export XERCESCROOT="$PWD"
@ -115,6 +124,8 @@ export XERCESCROOT="$PWD"
#%{_datadir}/%{name}/samples
%changelog
* Mon Jun 30 2008 Peter Lemenkov <lemenkov@gmail.com> 2.8.0-2
- Spec cleanups ( https://bugzilla.redhat.com/show_bug.cgi?id=435132 )
* Sun Feb 10 2008 Peter Lemenkov <lemenkov@gmail.com> 2.8.0-1
- Ver. 2.8.0

Loading…
Cancel
Save