From f8fc4f7e2da3dcab56832a6b4e37f51cf29b4da013091fb9f93a6e93faf7d48c Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 15 Aug 2016 07:47:37 +0000 Subject: [PATCH] - Drop -doc subpackage as building it is getting more and more difficult OBS-URL: https://build.opensuse.org/package/show/Publishing/bibtool?expand=0&rev=13 --- bibtool.changes | 6 ++++++ bibtool.spec | 32 +++----------------------------- 2 files changed, 9 insertions(+), 29 deletions(-) diff --git a/bibtool.changes b/bibtool.changes index 3586824..5779840 100644 --- a/bibtool.changes +++ b/bibtool.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Aug 15 07:47:01 UTC 2016 - mpluskal@suse.com + +- Drop -doc subpackage as building it is getting more and more + difficult + ------------------------------------------------------------------- Sun Feb 7 13:56:50 UTC 2016 - mpluskal@suse.com diff --git a/bibtool.spec b/bibtool.spec index 5613863..1d0fd74 100644 --- a/bibtool.spec +++ b/bibtool.spec @@ -28,13 +28,8 @@ Source0: http://www.gerd-neugebauer.de/software/TeX/BibTool/BibTool-%{ver Source1: http://www.gerd-neugebauer.de/software/TeX/BibTool/BibTool-%{version}.tar.gz.asc Source2: %{name}.keyring Patch1: bibtool-use-system-regex.patch -BuildRequires: automake -BuildRequires: texlive-amsfonts -BuildRequires: texlive-bibtex -BuildRequires: texlive-devel -BuildRequires: texlive-latex -BuildRequires: texlive-lm -BuildRequires: texlive-makeindex +Provides: %{name}-doc = %{version} +Obsoletes: %{name}-doc < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -42,30 +37,13 @@ BibTool is a tool for manipulating BibTeX databases. BibTeX provides a means to integrate citations into LaTeX documents. BibTool allows the manipulation of BibTeX files which goes beyond the possibilities - and intentions - of BibTeX. -%package doc -Summary: Documentation for bibtool -Group: Documentation/Other -Requires: %{name} = %{version} -BuildArch: noarch - -%description doc -This package contains the documentation for bibtool. - %prep %setup -q -n BibTool %patch1 -p1 %build %configure -make %{?_smp_mflags} all doc -# avoid failure due to warning: LaTeX Font Warning: Some font shapes were -# not available, defaults substituted. -pdflatex -interaction=nonstopmode Changes.tex ||: -mkdir examples -sed 's|#!%{_prefix}/local/bin/tclsh|#!%{_bindir}/tclsh|' Tcl/bibtool.tcl \ - >examples/bibtool.tcl -sed 's|#!%{_prefix}/local/bin/perl|#!%{_bindir}/perl|' Perl/bibtool.pl \ - >examples/bibtool.pl +make %{?_smp_mflags} all %install make INSTALLPREFIX=%{buildroot} install install-man @@ -77,8 +55,4 @@ make INSTALLPREFIX=%{buildroot} install install-man %{_bindir}/bibtool %{_libdir}/BibTool -%files doc -%defattr(-,root,root,-) -%doc COPYING doc/bibtool.pdf doc/ref_card.pdf doc/c_lib.pdf Changes.pdf examples - %changelog