SHA256
8
0
forked from pool/libxml2

Accepting request 135341 from home:jengelh:branches:devel:libraries:c_c++

- Remove .la files; make sure installation succeeds for
  Fedora_17 target

OBS-URL: https://build.opensuse.org/request/show/135341
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=66
This commit is contained in:
Ismail Dönmez
2012-09-22 08:15:45 +00:00
committed by Git OBS Bridge
parent 6122acf4ed
commit def23ee0ab
2 changed files with 13 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 21 18:04:16 UTC 2012 - jengelh@inai.de
- Remove .la files; make sure installation succeeds for
Fedora_17 target
-------------------------------------------------------------------
Tue Jun 12 18:10:07 UTC 2012 - chris@computersalat.de

View File

@@ -123,12 +123,13 @@ The library also supports RelaxNG. Support for W3C XML Schemas is in
progress.
%prep
%setup -q -n %{name}-%{version}
%setup -q
%patch0
%build
%configure --disable-static \
--with-html-subdir=packages/%{name}/html \
--docdir=%_docdir/%name \
--with-html-dir=%_docdir/%name/html \
--with-fexceptions \
--with-history \
--without-python \
@@ -139,10 +140,12 @@ progress.
--with-reader \
--with-http
make %{?_smp_mflags} DOC_MODULE=packages/%{name}
make %{?_smp_mflags} BASE_DIR="%_docdir" DOC_MODULE="%name"
%install
%makeinstall DOC_MODULE=packages/%{name}
make install DESTDIR="%buildroot" BASE_DIR="%_docdir" DOC_MODULE="%name"
rm -f "%buildroot/%_libdir"/*.la
mkdir -p "%buildroot/%_docdir/%name"
cp -a AUTHORS NEWS README COPYING* Copyright TODO* %{buildroot}%{_docdir}/%{name}/
ln -s libxml2/libxml %{buildroot}%{_includedir}/libxml
@@ -177,7 +180,6 @@ make check
%{_includedir}/libxml
%{_includedir}/libxml2
%{_libdir}/lib*.so
%{_libdir}/libxml2.la
%{_libdir}/*.sh
%{_libdir}/pkgconfig/*.pc
%doc %{_mandir}/man1/xml2-config.1*