Compare commits

...
Sign in to create a new pull request.

12 commits

Author SHA1 Message Date
Fedora Release Engineering
4f6221779d Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 09:19:11 +00:00
Tom spot Callaway
d68c111af1 fix dates out of order error, may not be the exact date, but ... meh 2026-02-09 10:58:18 -05:00
Tom spot Callaway
e7ef05bd9a fix -tex subpackage to use modern texlive provide 2026-02-09 10:53:56 -05:00
Fedora Release Engineering
8cb63c9ee2 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 20:46:24 +00:00
Fedora Release Engineering
a94a07b2d0 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:56:43 +00:00
Fedora Release Engineering
b67fdf77ad Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 16:02:42 +00:00
Ondřej Sloup
cb08ff9a60 Rebase to the latest upstream version 2024-07-30 07:54:09 +02:00
Miroslav Suchý
a64c58b3be convert GPLv2+ license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-07-26 03:58:07 +02:00
Fedora Release Engineering
947717a290 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 10:14:39 +00:00
Fedora Release Engineering
c3562b90a4 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 09:53:51 +00:00
Ondřej Sloup
d19f7db132 Update license tag to the SPDX format (GPL-2.0-or-later) 2023-10-23 23:24:42 +02:00
Fedora Release Engineering
6e464f7aa3 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 19:03:07 +00:00
5 changed files with 50 additions and 77 deletions

1
.gitignore vendored
View file

@ -4,3 +4,4 @@ xmlto-0.0.23.tar.bz2
/xmlto-0.0.26.tar.bz2
/xmlto-0.0.27.tar.bz2
/xmlto-0.0.28.tar.bz2
/xmlto-0.0.29.tar.gz

View file

@ -1 +1 @@
93bab48d446c826399d130d959fe676f xmlto-0.0.28.tar.bz2
SHA512 (xmlto-0.0.29.tar.gz) = 95b574262b00c5d6460d156a1be6b0684ed2683f4ee0140016f7c88d8cdd7a46b4e090a9e55cee44b7ce88efb68da9af27ff02a182481d05486ed44bea0cc2ce

View file

@ -1,26 +0,0 @@
commit 1375e2df75530cd198bd16ac3de38e2b0d126276
Author: Thomas Kuehne <thomas@kuehne.cn>
Date: Sat Dec 11 21:10:41 2021 +0100
fix -Wimplicit-int for ifsense
fixes:
xmlif/xmlif.l:46:8: warning: type defaults to int in declaration of ifsense [-Wimplicit-int]
46 | static ifsense; /* sense of last `if' or unless seen */
| ^~~~~~~
Signed-off-by: Thomas Kuehne <thomas@kuehne.cn>
diff --git a/xmlif/xmlif.l b/xmlif/xmlif.l
index ac421367d47a2cd4..6e5970e147be21b1 100644
--- a/xmlif/xmlif.l
+++ b/xmlif/xmlif.l
@@ -43,7 +43,7 @@
static char **selections; /* selection tokens */
static int nselections; /* number of selections */
-static ifsense; /* sense of last `if' or unless seen */
+static int ifsense; /* sense of last `if' or unless seen */
static char *attribute; /* last attribute scanned */
struct stack_t {

View file

@ -1,35 +0,0 @@
commit 8e34f087bf410bcc5fe445933d6ad9bae54f24b5
Author: Thomas Kuehne <thomas@kuehne.cn>
Date: Sat Dec 11 21:54:50 2021 +0100
Fix return type of main function
Fixes:
xmlif/xmlif.l:242:1: warning: return type defaults to int [-Wimplicit-int]
242 | main(int argc, char *argv[])
| ^~~~
Signed-off-by: Thomas Kuehne <thomas@kuehne.cn>
diff --git a/xmlif/xmlif.l b/xmlif/xmlif.l
index 6e5970e147be21b1..8bcc59216d41a3cb 100644
--- a/xmlif/xmlif.l
+++ b/xmlif/xmlif.l
@@ -239,7 +239,7 @@ WS [ \t\n]*
int yywrap() {exit(0);};
-main(int argc, char *argv[])
+int main(int argc, char *argv[])
{
int i;
@@ -265,7 +265,7 @@ main(int argc, char *argv[])
exit(1);
}
- yylex();
+ return yylex();
}
/*

View file

@ -1,21 +1,19 @@
Summary: A tool for converting XML files to various formats
Name: xmlto
Version: 0.0.28
Release: 20%{?dist}
License: GPLv2+
#Older versions up to xmlto-0.0.20
#URL: http://cyberelk.net/tim/xmlto/
#Source0: http://cyberelk.net/tim/data/xmlto/stable/%{name}-%{version}.tar.bz2
Version: 0.0.29
Release: 6%{?dist}
Summary: A tool for converting XML files to various formats
License: GPL-2.0-or-later
URL: https://pagure.io/xmlto/
Source0: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.bz2
Patch0: xmlto-c99-1.patch
Patch1: xmlto-c99-2.patch
Source0: https://pagure.io/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: make
BuildRequires: docbook-xsl
BuildRequires: libxslt
BuildRequires: util-linux, flex
BuildRequires: gcc
BuildRequires: autoconf
BuildRequires: automake
# We rely heavily on the DocBook XSL stylesheets!
Requires: docbook-xsl
@ -28,10 +26,10 @@ This is a package for converting XML files to various formats using XSL
stylesheets.
%package tex
License: GPLv2+
License: GPL-2.0-or-later
Summary: A set of xmlto backends with TeX requirements
# For full functionality, we need passivetex.
Requires: tex-passivetex
Requires: texlive-passivetex
# We require main package
Requires: xmlto = %{version}-%{release}
BuildArch: noarch
@ -41,7 +39,7 @@ This subpackage contains xmlto backend scripts which do require
PassiveTeX/TeX for functionality.
%package xhtml
License: GPLv2+
License: GPL-2.0-or-later
Summary: A set of xmlto backends for xhtml1 source format
# For functionality we need stylesheets xhtml2fo-style-xsl
Requires: xhtml2fo-style-xsl
@ -54,7 +52,9 @@ This subpackage contains xmlto backend scripts for processing
xhtml1 source format.
%prep
%autosetup -p1
%autosetup -n %{name}-%{version} -p1
autoreconf -i -v
%build
%configure BASH=/bin/bash
@ -68,7 +68,7 @@ make check
%files
%license COPYING
%doc ChangeLog README AUTHORS NEWS
%doc ChangeLog README.md AUTHORS.md NEWS.md
%{_bindir}/*
%{_mandir}/*/*
%{_datadir}/xmlto
@ -88,6 +88,39 @@ make check
%{_datadir}/xmlto/format/xhtml1/*
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.29-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Mon Feb 9 2026 Tom Callaway <spot@fedoraproject.org> - 0.0.29-5
- fix -tex subpackage to use modern texlive provide
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.29-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.29-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.29-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sun Aug 11 2024 Ondrej Sloup <osloup@redhat.com> - 0.0.29-1
- Rebase to the latest upstream version
* Fri Jul 26 2024 Miroslav Suchý <msuchy@redhat.com> - 0.0.28-25
- convert license to SPDX
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.28-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.28-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Oct 23 2023 Ondrej Sloup <osloup@redhat.com> - 0.0.28-22
- Update license tag to the SPDX format
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.28-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.28-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild