#1 Spec file cleanup
Merged a year ago by ovasik. Opened a year ago by robert.
rpms/ robert/xmlto cleanup  into  master

file modified
+9 -13
@@ -7,8 +7,7 @@ 

  #URL: http://cyberelk.net/tim/xmlto/

  #Source0: http://cyberelk.net/tim/data/xmlto/stable/%{name}-%{version}.tar.bz2

  URL: https://pagure.io/xmlto/

- Source0: http://releases.pagure.org/%{name}/%{name}-%{version}.tar.bz2

- 

+ Source0: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.bz2

  

  BuildRequires: docbook-xsl

  BuildRequires: libxslt
@@ -34,7 +33,6 @@ 

  Requires: xmlto = %{version}-%{release}

  BuildArch: noarch

  

- 

  %description tex

  This subpackage contains xmlto backend scripts which do require

  PassiveTeX/TeX for functionality.
@@ -57,17 +55,17 @@ 

  

  %build

  %configure BASH=/bin/bash

- make %{?_smp_mflags}

+ %make_build

  

  %check

  make check

  

  %install

- rm -rf $RPM_BUILD_ROOT

- make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"

+ %make_install

  

  %files

- %doc COPYING ChangeLog README AUTHORS NEWS

+ %license COPYING

+ %doc ChangeLog README AUTHORS NEWS

  %{_bindir}/*

  %{_mandir}/*/*

  %{_datadir}/xmlto
@@ -77,7 +75,6 @@ 

  %exclude %dir %{_datadir}/xmlto/format/xhtml1/

  %exclude %{_datadir}/xmlto/format/xhtml1

  

- 

  %files tex

  %{_datadir}/xmlto/format/fo/dvi

  %{_datadir}/xmlto/format/fo/ps
@@ -87,7 +84,6 @@ 

  %dir %{_datadir}/xmlto/format/xhtml1/

  %{_datadir}/xmlto/format/xhtml1/*

  

- 

  %changelog

  * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.28-14

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
@@ -149,7 +145,7 @@ 

  * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.26-2

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

  

- * Sat Apr 04 2014 Ondrej Vasik <ovasik@redhat.com> - 0.0.26-1

+ * Sat Apr 05 2014 Ondrej Vasik <ovasik@redhat.com> - 0.0.26-1

  - New version 0.0.26

  - fix build with automake 1.13+

  - fix warning in searchpath option
@@ -193,7 +189,7 @@ 

  - workaround passivetex limitation for chapter titles starting

    with L(#526273)

  

- * Fri Sep 24 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.23-2

+ * Thu Sep 24 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.23-2

  - ensure the default shell is /bin/bash instead of /bin/sh

  

  * Mon Sep 21 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.23-1
@@ -250,7 +246,7 @@ 

  - xmlto-tex subpackage to prevent requirements for

    passivetex/tex for all backends(#454341)

  

- * Mon Jun 20 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.21-1

+ * Fri Jun 20 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.21-1

  - new version 0.0.21

  

  * Tue May 13 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.20-3
@@ -444,4 +440,4 @@ 

  - Built for Red Hat Linux.

  

  * Fri Nov 23 2001 Tim Waugh <twaugh@redhat.com>

- - Initial spec file.

+ - Initial spec file. 

\ No newline at end of file