From 5f4aa24a097dfb98d130b203d6969ea749c9fe9d Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Jun 30 2008 12:42:53 +0000 Subject: rpmling warnings fixed --- diff --git a/import.log b/import.log new file mode 100644 index 0000000..45c2dee --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +xerces-c-2_8_0-2_fc9:F-9:xerces-c-2.8.0-2.fc9.src.rpm:1214829747 diff --git a/xerces-c.spec b/xerces-c.spec index 2e0548b..bbc6879 100644 --- a/xerces-c.spec +++ b/xerces-c.spec @@ -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 2.8.0-2 +- Spec cleanups ( https://bugzilla.redhat.com/show_bug.cgi?id=435132 ) * Sun Feb 10 2008 Peter Lemenkov 2.8.0-1 - Ver. 2.8.0