Using 'make distclean' instead of manual delete of .deps and .dirstamp.

epel9
Jonathan Robie 15 years ago
parent 7ef849a539
commit 977798b0e5

@ -1,7 +1,7 @@
Summary: Validating XML Parser Summary: Validating XML Parser
Name: xerces-c Name: xerces-c
Version: 3.0.1 Version: 3.0.1
Release: 9%{?dist} Release: 10%{?dist}
License: ASL 2.0 License: ASL 2.0
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://xml.apache.org/xerces-c/ URL: http://xml.apache.org/xerces-c/
@ -10,13 +10,16 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: dos2unix BuildRequires: dos2unix
%description %description Xerces-C is a validating XML parser written in a portable
Xerces-C is a validating XML parser written in a portable subset of subset of C++. Xerces-C makes it easy to give your application the
C++. Xerces-C makes it easy to give your application the ability to ability to read and write XML data. A shared library is provided for
read and write XML data. A shared library is provided for parsing, parsing, generating, manipulating, and validating XML
generating, manipulating, and validating XML documents. Xerces-C is documents. Xerces-C is faithful to the XML 1.0 recommendation and
faithful to the XML 1.0 recommendation and associated standards ( DOM associated standards: XML 1.0 (Third Edition), XML 1.1 (First
1.0, DOM 2.0. SAX 1.0, SAX 2.0, Namespaces). Edition), DOM Level 1, 2, 3 Core, Dom Level 2.0 Traversal and Range,
DOM Level 3.0 Load and Save, SAX 1.0 and SAX 2.0, Namespaces in XML,
Namespaces in XML 1.1, XML Schema, XML Inclusions).
%package devel %package devel
Summary: Header files, libraries and development documentation for %{name} Summary: Header files, libraries and development documentation for %{name}
@ -61,9 +64,9 @@ make
%{__rm} -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR="$RPM_BUILD_ROOT" %{__make} install DESTDIR="$RPM_BUILD_ROOT"
# get rid of files not allowed in a doc rpm # get rid of files not allowed in a doc rpm
pushd samples; make clean; rm -rf src/*/.deps; rm -rf src/*/.dirstamp; popd pushd samples; make distclean; popd
# correct errors in line endings and encoding # correct errors in line endings and encoding
iconv -f iso8859-1 -t utf-8 CREDITS iconv -f iso8859-1 -t utf-8 CREDITS > CREDITS.tmp && mv -f CREDITS.tmp CREDITS
pushd doc; dos2unix -U *.xml; pushd doc; dos2unix -U *.xml;
%post -p /sbin/ldconfig %post -p /sbin/ldconfig

Loading…
Cancel
Save