don't ship generated docs in -libs but main package (#210572) Resolves:

#210572
This commit is contained in:
Nils Philippsen 2006-10-13 06:29:50 +00:00
parent a0770c48c7
commit 5c183b8650

View File

@ -18,7 +18,7 @@
Summary: Scanner access software Summary: Scanner access software
Name: sane-backends Name: sane-backends
Version: 1.0.18 Version: 1.0.18
Release: 3%{?dist} Release: 4%{?dist}
License: GPL (programs), relaxed LGPL (libraries), and public domain (docs) License: GPL (programs), relaxed LGPL (libraries), and public domain (docs)
Group: System Environment/Libraries Group: System Environment/Libraries
Source0: ftp://ftp.sane-project.org/pub/sane/%{name}-%{version}/%{name}-%{version}.tar.gz Source0: ftp://ftp.sane-project.org/pub/sane/%{name}-%{version}/%{name}-%{version}.tar.gz
@ -178,7 +178,7 @@ rm -rf %{buildroot}
%{_libdir}/sane/*.so.* %{_libdir}/sane/*.so.*
%endif %endif
%if ! %{docs_split} && ! %{libs_split} %if ! %{docs_split}
%doc %{_docdir}/* %doc %{_docdir}/*
%else %else
%doc %{_docdir}/* %doc %{_docdir}/*
@ -197,15 +197,6 @@ rm -rf %{buildroot}
%dir %{_libdir}/sane %dir %{_libdir}/sane
%{_libdir}/sane/*.so.* %{_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} %if %{gphoto2_split}
%exclude %{_libdir}/sane/*gphoto2.so.* %exclude %{_libdir}/sane/*gphoto2.so.*
@ -237,6 +228,9 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/sane-backends.pc %{_libdir}/pkgconfig/sane-backends.pc
%changelog %changelog
* Fri Oct 13 2006 Nils Philippsen <nphilipp@redhat.com> - 1.0.18-4
- don't ship generated docs in -libs but main package (#210572)
* Sun Sep 17 2006 Warren Togami <wtogami@redhat.com> - 1.0.18-3 * Sun Sep 17 2006 Warren Togami <wtogami@redhat.com> - 1.0.18-3
- -devel req exact version-release - -devel req exact version-release