mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-31 02:43:06 +03:00
Candidate release 1 of libxslt 1.1.34
* doc/xsltproc.xml: moved to new place for docbook stylesheet and work around a missing / inrewrite of docbook xsl catalog in Fedora 30 * tests/fuzz/Makefile.am: add fuzz.h to sources * python/Makefile.am: there is no more TODO * libxslt.spec.in: run make tests instead of check to avoid fuzz in that environment, and drop python TODO
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<?xml-stylesheet type="text/xsl"
|
<?xml-stylesheet type="text/xsl"
|
||||||
href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"?>
|
href="http://cdn.docbook.org/release/xsl/current//manpages/docbook.xsl"?>
|
||||||
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
||||||
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
|
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|||||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}{,-python}-%{version}
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}{,-python}-%{version}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make tests
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -fr %{buildroot}
|
rm -fr %{buildroot}
|
||||||
@ -122,7 +122,6 @@ rm -fr %{buildroot}
|
|||||||
%doc AUTHORS ChangeLog.gz NEWS README Copyright FEATURES
|
%doc AUTHORS ChangeLog.gz NEWS README Copyright FEATURES
|
||||||
%{_libdir}/python*/site-packages/libxslt.py*
|
%{_libdir}/python*/site-packages/libxslt.py*
|
||||||
%{_libdir}/python*/site-packages/libxsltmod*
|
%{_libdir}/python*/site-packages/libxsltmod*
|
||||||
%doc python/TODO
|
|
||||||
%doc python/libxsltclass.txt
|
%doc python/libxsltclass.txt
|
||||||
%doc python/tests/*.py
|
%doc python/tests/*.py
|
||||||
%doc python/tests/*.xml
|
%doc python/tests/*.xml
|
||||||
|
@ -7,7 +7,7 @@ AM_CFLAGS = $(LIBXML_CFLAGS)
|
|||||||
|
|
||||||
DOCS_DIR = $(datadir)/doc/libxslt-python-$(LIBXSLT_VERSION)
|
DOCS_DIR = $(datadir)/doc/libxslt-python-$(LIBXSLT_VERSION)
|
||||||
# libxsltclass.txt is generated
|
# libxsltclass.txt is generated
|
||||||
DOCS = TODO
|
DOCS=
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
libxslt.c \
|
libxslt.c \
|
||||||
|
@ -11,13 +11,13 @@ DEPENDENCIES = $(LIBXSLT_LIBS)
|
|||||||
LDADD = $(LIBXSLT_LIBS) \
|
LDADD = $(LIBXSLT_LIBS) \
|
||||||
$(LIBGCRYPT_LIBS) $(LIBXML_LIBS) $(EXTRA_LIBS) $(M_LIBS)
|
$(LIBGCRYPT_LIBS) $(LIBXML_LIBS) $(EXTRA_LIBS) $(M_LIBS)
|
||||||
|
|
||||||
xpath_SOURCES = xpath.c fuzz.c
|
xpath_SOURCES = xpath.c fuzz.c fuzz.h
|
||||||
xpath_LDFLAGS = -fsanitize=fuzzer
|
xpath_LDFLAGS = -fsanitize=fuzzer
|
||||||
|
|
||||||
xslt_SOURCES = xslt.c fuzz.c
|
xslt_SOURCES = xslt.c fuzz.c fuzz.h
|
||||||
xslt_LDFLAGS = -fsanitize=fuzzer
|
xslt_LDFLAGS = -fsanitize=fuzzer
|
||||||
|
|
||||||
testTargets_SOURCES = testTargets.c fuzz.c
|
testTargets_SOURCES = testTargets.c fuzz.c fuzz.h
|
||||||
|
|
||||||
$(top_builddir)/libxslt/libxslt.la:
|
$(top_builddir)/libxslt/libxslt.la:
|
||||||
cd $(top_builddir)/libxslt && $(MAKE) libxslt.la
|
cd $(top_builddir)/libxslt && $(MAKE) libxslt.la
|
||||||
@ -27,7 +27,9 @@ $(top_builddir)/libexslt/libexslt.la: $(top_builddir)/libxslt/libxslt.la
|
|||||||
|
|
||||||
.PHONY: tests fuzz-xpath fuzz-xslt
|
.PHONY: tests fuzz-xpath fuzz-xslt
|
||||||
|
|
||||||
tests: $(check_PROGRAMS)
|
tests:
|
||||||
|
|
||||||
|
fuzz: $(check_PROGRAMS)
|
||||||
@echo '## Running fuzz target tests'
|
@echo '## Running fuzz target tests'
|
||||||
@./testTargets $(srcdir)
|
@./testTargets $(srcdir)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user