Spec cleanup

epel9
Pete Walter 7 years ago
parent 27899d7df2
commit 3b8ee3ff4a

@ -1,9 +1,9 @@
Summary: Validating XML Parser
Name: xerces-c
Version: 3.2.0
Release: 1%{?dist}
Summary: Validating XML Parser
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
@ -23,7 +23,6 @@ Namespaces in XML 1.1, XML Schema, XML Inclusions).
%package devel
Summary: Header files, libraries and development documentation for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
@ -32,7 +31,6 @@ documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.
%package doc
Group: Documentation
Summary: Documentation for Xerces-C++ validating XML parser
BuildArch: noarch
@ -58,10 +56,10 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS"
%configure --disable-static \
--disable-sse2
make %{?_smp_mflags} V=1
%make_build V=1
%install
make install DESTDIR="$RPM_BUILD_ROOT"
%make_install
# Correct errors in encoding
iconv -f iso8859-1 -t utf-8 CREDITS > CREDITS.tmp && mv -f CREDITS.tmp CREDITS
# Correct errors in line endings
@ -71,9 +69,6 @@ rm -rf $RPM_BUILD_ROOT%{_bindir}
# Remove .la files
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license LICENSE
%{_libdir}/libxerces-c-3.2.so
@ -90,6 +85,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%changelog
* Tue Feb 06 2018 Pete Walter <pwalter@fedoraproject.org> - 3.2.0-1
- Update to 3.2.0
- Spec cleanup
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

Loading…
Cancel
Save