merge review by V.Skyttä (#226217), changed license to MIT, dropped .la,
adjusted comments
This commit is contained in:
parent
defae8b186
commit
93fbf234c2
16
opensp.spec
16
opensp.spec
@ -1,14 +1,14 @@
|
||||
Summary: SGML and XML parser
|
||||
Name: opensp
|
||||
Version: 1.5.2
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Requires: sgml-common >= 0.5
|
||||
URL: http://openjade.sourceforge.net/
|
||||
Source: http://download.sourceforge.net/openjade/OpenSP-%{version}.tar.gz
|
||||
Patch0: opensp-multilib.patch
|
||||
Patch1: opensp-nodeids.patch
|
||||
Patch2: opensp-sigsegv.patch
|
||||
License: BSD
|
||||
License: MIT
|
||||
Group: Applications/Text
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
@ -47,9 +47,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
# Fix up libtool libraries
|
||||
find $RPM_BUILD_ROOT -name '*.la' | \
|
||||
xargs perl -p -i -e "s|-L$RPM_BUILD_DIR[\w/.-]*||g"
|
||||
# Get rid of libtool libraries
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
|
||||
# oMy, othis ois osilly.
|
||||
for file in nsgmls sgmlnorm spam spent sx ; do
|
||||
@ -71,7 +70,7 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/OpenSP
|
||||
|
||||
|
||||
%check
|
||||
make check || : # failures as of 1.5.2pre1 :(
|
||||
make check || : # TODO: failures as of 1.5.2 :(
|
||||
|
||||
|
||||
%clean
|
||||
@ -97,10 +96,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/OpenSP/
|
||||
%{_libdir}/libosp.so
|
||||
%{_libdir}/libosp.la
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Oct 22 2008 Ondrej Vasik <ovasik@redhat.com> 1.5.2-8
|
||||
- merge review by V.Skyttä (#226217), changed license to
|
||||
MIT, dropped .la, adjusted comments
|
||||
|
||||
* Mon Feb 11 2008 Ondrej Vasik <ovasik@redhat.com> 1.5.2-7
|
||||
- gcc43 rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user