From 7ab4d6809ed7f1b92ac53f2025c4e5f5b3ba6f12 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mar 20 2015 08:47:57 +0000 Subject: Spec file cleanup for current rpmbuild --- diff --git a/xerces-c.spec b/xerces-c.spec index 8b58478..903667d 100644 --- a/xerces-c.spec +++ b/xerces-c.spec @@ -6,7 +6,6 @@ License: ASL 2.0 Group: System Environment/Libraries URL: http://xml.apache.org/xerces-c/ Source0: http://archive.apache.org/dist/xerces/c/3/sources/xerces-c-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: dos2unix @@ -63,7 +62,6 @@ export CXXFLAGS="$CFLAGS" make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT make install DESTDIR="$RPM_BUILD_ROOT" # Correct errors in encoding iconv -f iso8859-1 -t utf-8 CREDITS > CREDITS.tmp && mv -f CREDITS.tmp CREDITS @@ -77,22 +75,16 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) %doc LICENSE %{_libdir}/libxerces-c-3.*.so %files devel -%defattr(-,root,root,-) %{_libdir}/libxerces-c.so %{_libdir}/pkgconfig/xerces-c.pc %{_includedir}/xercesc/ %files doc -%defattr(-,root,root,-) %doc README LICENSE NOTICE CREDITS doc _docs/* %changelog