forked from pool/expat
Accepting request 672726 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/672726 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/expat?expand=0&rev=56
This commit is contained in:
commit
66c7d5ac26
19
expat-2.2.6-fix-make-clean.patch
Normal file
19
expat-2.2.6-fix-make-clean.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
Author: Bernhard M. Wiedemann <bwiedemann suse de>
|
||||||
|
Date: 2019-02-07
|
||||||
|
|
||||||
|
Do not clean files that are shipped in the tarball
|
||||||
|
and that we cannot create with 'make'
|
||||||
|
to fix building with profile guided optimizations
|
||||||
|
Index: expat-2.2.6/doc/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- expat-2.2.6.orig/doc/Makefile.in
|
||||||
|
+++ expat-2.2.6/doc/Makefile.in
|
||||||
|
@@ -572,7 +572,7 @@ clean-local: clean-local-check
|
||||||
|
|
||||||
|
.PHONY: clean-local-check
|
||||||
|
clean-local-check:
|
||||||
|
- $(RM) xmlwf.1
|
||||||
|
+ #$(RM) xmlwf.1
|
||||||
|
|
||||||
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 7 10:45:14 UTC 2019 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
- Add expat-2.2.6-fix-make-clean.patch
|
||||||
|
- Allow profile guided optimization again
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 3 13:08:57 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Thu Jan 3 13:08:57 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%global do_profiling 0
|
|
||||||
%global unversion 2_2_6
|
%global unversion 2_2_6
|
||||||
Name: expat
|
Name: expat
|
||||||
Version: 2.2.6
|
Version: 2.2.6
|
||||||
@ -29,6 +28,7 @@ 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.bz2.asc
|
Source3: https://github.com/libexpat/libexpat/releases/download/R_%{unversion}/expat-%{version}.tar.bz2.asc
|
||||||
|
Patch0: expat-2.2.6-fix-make-clean.patch
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -63,6 +63,7 @@ in libexpat.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
rm -f examples/*.dsp
|
rm -f examples/*.dsp
|
||||||
|
Loading…
Reference in New Issue
Block a user