From 5c183b8650f0af2c8494553e25bc8722a9c0fae4 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Fri, 13 Oct 2006 06:29:50 +0000 Subject: [PATCH] don't ship generated docs in -libs but main package (#210572) Resolves: #210572 --- sane-backends.spec | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/sane-backends.spec b/sane-backends.spec index 55f0a28..87f1eaf 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -18,7 +18,7 @@ Summary: Scanner access software Name: sane-backends Version: 1.0.18 -Release: 3%{?dist} +Release: 4%{?dist} License: GPL (programs), relaxed LGPL (libraries), and public domain (docs) Group: System Environment/Libraries Source0: ftp://ftp.sane-project.org/pub/sane/%{name}-%{version}/%{name}-%{version}.tar.gz @@ -178,7 +178,7 @@ rm -rf %{buildroot} %{_libdir}/sane/*.so.* %endif -%if ! %{docs_split} && ! %{libs_split} +%if ! %{docs_split} %doc %{_docdir}/* %else %doc %{_docdir}/* @@ -197,15 +197,6 @@ rm -rf %{buildroot} %dir %{_libdir}/sane %{_libdir}/sane/*.so.* -%if ! %{docs_split} -%doc %{_docdir}/%{name}-%{version}/sane-backends.html -%doc %{_docdir}/%{name}-%{version}/sane-backends-external.html -%doc %{_docdir}/%{name}-%{version}/sane-mfgs.html -%doc %{_docdir}/%{name}-%{version}/sane-mfgs-external.html -%doc %{_docdir}/%{name}-%{version}/sane.dvi -%doc %{_docdir}/%{name}-%{version}/sane.ps -%endif - %if %{gphoto2_split} %exclude %{_libdir}/sane/*gphoto2.so.* @@ -237,6 +228,9 @@ rm -rf %{buildroot} %{_libdir}/pkgconfig/sane-backends.pc %changelog +* Fri Oct 13 2006 Nils Philippsen - 1.0.18-4 +- don't ship generated docs in -libs but main package (#210572) + * Sun Sep 17 2006 Warren Togami - 1.0.18-3 - -devel req exact version-release