SHA256
3
0
forked from pool/expat
Tomáš Chvátal 2019-07-04 12:15:08 +00:00 committed by Git OBS Bridge
parent ce7df1b42a
commit 2f8abc6cde
2 changed files with 2 additions and 10 deletions

View File

@ -18,7 +18,6 @@ Tue Jul 2 10:33:51 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com
- CMake: Make libdir of pkgconfig expat.pc support multilib
- CMake: Build man page in PROJECT_BINARY_DIR not _SOURCE_DIR
- Remove fallback to bcopy, assume that memmove(3) exists
- Use docbook2x to build the man pages
- Removed expat-2.2.6-fix-make-clean.patch
-------------------------------------------------------------------

View File

@ -28,7 +28,6 @@ Source0: https://github.com/libexpat/libexpat/releases/download/R_%{unver
Source1: %{name}faq.html
Source2: baselibs.conf
Source3: https://github.com/libexpat/libexpat/releases/download/R_%{unversion}/expat-%{version}.tar.xz.asc
BuildRequires: docbook2x
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: pkgconfig
@ -71,8 +70,7 @@ rm -f examples/*.dsp
%configure \
--disable-silent-rules \
--docdir="%{_docdir}/%{name}" \
--disable-static \
--with-docbook
--disable-static
%if 0%{?do_profiling}
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" LDFLAGS="%{optflags} %{cflags_profile_generate}" check
@ -94,16 +92,11 @@ make %{?_smp_mflags} check
%files
%{_docdir}/%{name}
%if 0%{?suse_version} > 1315
%license COPYING
%else
%doc COPYING
%endif
%license COPYING
%doc README.md expatfaq.html
%doc doc/expat.png doc/reference.html doc/style.css doc/valid-xhtml10.png
%doc examples/elements.c examples/outline.c examples/Makefile.am examples/Makefile.in
%doc AUTHORS Changes
%{_mandir}/man?/*
%{_bindir}/xmlwf
%files -n libexpat1