Spec file cleanup

This commit is contained in:
Robert Scheck 2020-12-24 22:43:23 +00:00
parent b5b97b77ba
commit 6fe374e55c

View File

@ -7,8 +7,7 @@ License: GPLv2+
#URL: http://cyberelk.net/tim/xmlto/ #URL: http://cyberelk.net/tim/xmlto/
#Source0: http://cyberelk.net/tim/data/xmlto/stable/%{name}-%{version}.tar.bz2 #Source0: http://cyberelk.net/tim/data/xmlto/stable/%{name}-%{version}.tar.bz2
URL: https://pagure.io/xmlto/ 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: docbook-xsl
BuildRequires: libxslt BuildRequires: libxslt
@ -34,7 +33,6 @@ Requires: tex-passivetex
Requires: xmlto = %{version}-%{release} Requires: xmlto = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description tex %description tex
This subpackage contains xmlto backend scripts which do require This subpackage contains xmlto backend scripts which do require
PassiveTeX/TeX for functionality. PassiveTeX/TeX for functionality.
@ -57,17 +55,17 @@ xhtml1 source format.
%build %build
%configure BASH=/bin/bash %configure BASH=/bin/bash
make %{?_smp_mflags} %make_build
%check %check
make check make check
%install %install
rm -rf $RPM_BUILD_ROOT %make_install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%files %files
%doc COPYING ChangeLog README AUTHORS NEWS %license COPYING
%doc ChangeLog README AUTHORS NEWS
%{_bindir}/* %{_bindir}/*
%{_mandir}/*/* %{_mandir}/*/*
%{_datadir}/xmlto %{_datadir}/xmlto
@ -77,7 +75,6 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%exclude %dir %{_datadir}/xmlto/format/xhtml1/ %exclude %dir %{_datadir}/xmlto/format/xhtml1/
%exclude %{_datadir}/xmlto/format/xhtml1 %exclude %{_datadir}/xmlto/format/xhtml1
%files tex %files tex
%{_datadir}/xmlto/format/fo/dvi %{_datadir}/xmlto/format/fo/dvi
%{_datadir}/xmlto/format/fo/ps %{_datadir}/xmlto/format/fo/ps
@ -87,7 +84,6 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%dir %{_datadir}/xmlto/format/xhtml1/ %dir %{_datadir}/xmlto/format/xhtml1/
%{_datadir}/xmlto/format/xhtml1/* %{_datadir}/xmlto/format/xhtml1/*
%changelog %changelog
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.28-14 * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.28-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
@ -149,7 +145,7 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.26-2 * 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 - 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 - New version 0.0.26
- fix build with automake 1.13+ - fix build with automake 1.13+
- fix warning in searchpath option - fix warning in searchpath option
@ -193,7 +189,7 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
- workaround passivetex limitation for chapter titles starting - workaround passivetex limitation for chapter titles starting
with L(#526273) 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 - ensure the default shell is /bin/bash instead of /bin/sh
* Mon Sep 21 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.23-1 * Mon Sep 21 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.23-1
@ -250,7 +246,7 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
- xmlto-tex subpackage to prevent requirements for - xmlto-tex subpackage to prevent requirements for
passivetex/tex for all backends(#454341) 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 - new version 0.0.21
* Tue May 13 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.20-3 * Tue May 13 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.20-3