forked from pool/expat
This commit is contained in:
parent
ce7df1b42a
commit
2f8abc6cde
@ -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: Make libdir of pkgconfig expat.pc support multilib
|
||||||
- CMake: Build man page in PROJECT_BINARY_DIR not _SOURCE_DIR
|
- CMake: Build man page in PROJECT_BINARY_DIR not _SOURCE_DIR
|
||||||
- Remove fallback to bcopy, assume that memmove(3) exists
|
- 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
|
- Removed expat-2.2.6-fix-make-clean.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
11
expat.spec
11
expat.spec
@ -28,7 +28,6 @@ Source0: https://github.com/libexpat/libexpat/releases/download/R_%{unver
|
|||||||
Source1: %{name}faq.html
|
Source1: %{name}faq.html
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
Source3: https://github.com/libexpat/libexpat/releases/download/R_%{unversion}/expat-%{version}.tar.xz.asc
|
Source3: https://github.com/libexpat/libexpat/releases/download/R_%{unversion}/expat-%{version}.tar.xz.asc
|
||||||
BuildRequires: docbook2x
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -71,8 +70,7 @@ rm -f examples/*.dsp
|
|||||||
%configure \
|
%configure \
|
||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
--docdir="%{_docdir}/%{name}" \
|
--docdir="%{_docdir}/%{name}" \
|
||||||
--disable-static \
|
--disable-static
|
||||||
--with-docbook
|
|
||||||
%if 0%{?do_profiling}
|
%if 0%{?do_profiling}
|
||||||
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
|
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
|
||||||
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" LDFLAGS="%{optflags} %{cflags_profile_generate}" check
|
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" LDFLAGS="%{optflags} %{cflags_profile_generate}" check
|
||||||
@ -94,16 +92,11 @@ make %{?_smp_mflags} check
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%{_docdir}/%{name}
|
%{_docdir}/%{name}
|
||||||
%if 0%{?suse_version} > 1315
|
%license COPYING
|
||||||
%license COPYING
|
|
||||||
%else
|
|
||||||
%doc COPYING
|
|
||||||
%endif
|
|
||||||
%doc README.md expatfaq.html
|
%doc README.md expatfaq.html
|
||||||
%doc doc/expat.png doc/reference.html doc/style.css doc/valid-xhtml10.png
|
%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 examples/elements.c examples/outline.c examples/Makefile.am examples/Makefile.in
|
||||||
%doc AUTHORS Changes
|
%doc AUTHORS Changes
|
||||||
%{_mandir}/man?/*
|
|
||||||
%{_bindir}/xmlwf
|
%{_bindir}/xmlwf
|
||||||
|
|
||||||
%files -n libexpat1
|
%files -n libexpat1
|
||||||
|
Loading…
Reference in New Issue
Block a user