]> git.pld-linux.org Git - packages/t1lib.git/commitdiff
- bcond style, changelog cleanups
authoreothane <eothane@pld-linux.org>
Mon, 16 Feb 2004 00:03:05 +0000 (00:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    t1lib.spec -> 1.67

t1lib.spec

index bc7f5c5c1588dde0bcc11bd7419cfee2512819d9..4476189ee339cd4f63a42862f3d00b90a0dca76a 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-# _without_doc - do not build documentation with LaTeX
+%bcond_without doc     # do not build documentation with LaTeX
 #
 Summary:       A library for character- and string-glyphs from Adobe Type 1 fonts
 Summary(pl):   Biblioteka znakowych i ³añcuchowych glifów z fontów Adobe Type 1
@@ -28,7 +28,7 @@ BuildRequires:        XFree86-devel
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
-%if %{!?_without_doc:1}0
+%if %{with doc}
 BuildRequires: tetex-dvips
 BuildRequires: tetex-latex
 BuildRequires: tetex-makeindex
@@ -210,7 +210,7 @@ mv -f aclocal.m4 ac-tools
 %{__autoconf}
 %configure
 
-%{__make} %{?_without_doc:without_doc}
+%{__make} %{!?with_doc:without_doc}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -256,7 +256,7 @@ fontpostinst Type1
 %files
 %defattr(644,root,root,755)
 %doc Changes README.t1*
-%if %{?_without_doc:0}%{!?_without_doc:1}
+%if %{with doc}
 %doc doc/*.dvi
 %endif
 %doc doc/*.{tex,eps,fig}
This page took 0.090244 seconds and 4 git commands to generate.