[liblouis] moved documentation to subpackage in order to prevent multilib conflicts

Martin Gieseking mgieseki at fedoraproject.org
Fri Feb 22 13:53:34 UTC 2013


commit caa46d20cac7d18934c3b6fa64f418bf709ae2b3
Author: Martin Gieseking <martin.gieseking at uos.de>
Date:   Fri Feb 22 14:44:01 2013 +0100

    moved documentation to subpackage in order to prevent multilib conflicts

 liblouis.spec |   20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)
---
diff --git a/liblouis.spec b/liblouis.spec
index 378be82..8416a78 100644
--- a/liblouis.spec
+++ b/liblouis.spec
@@ -1,6 +1,6 @@
 Name:           liblouis
 Version:        2.5.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Braille translation and back-translation library
 
 Group:          System Environment/Libraries
@@ -64,6 +64,16 @@ Requires:       %{name} = %{version}-%{release}
 This package provides Python language bindings for %{name}.
 
 
+%package doc
+Summary:        Documentation for %{name}
+Group:          Documentation
+BuildArch:      noarch
+Requires:       %{name} = %{version}-%{release}
+
+%description doc
+This package provides the documentation for liblouis.
+
+
 %prep
 %setup -q
 
@@ -73,7 +83,6 @@ This package provides Python language bindings for %{name}.
 make %{?_smp_mflags}
 make -C doc %{name}.pdf
 
-
 # Don't run the tests as they haven't been adapted to the current release yet.
 #%check
 #make check
@@ -111,7 +120,6 @@ fi
 %files
 %defattr(-,root,root,-)
 %doc README COPYING.LIB AUTHORS NEWS ChangeLog TODO
-%doc doc/%{name}.{html,txt,pdf}
 %{_libdir}/%{name}.so.*
 %{_datadir}/%{name}/
 %{_infodir}/%{name}.info*
@@ -133,8 +141,14 @@ fi
 %doc python/README
 %{python_sitelib}/louis/
 
+%files doc
+%doc doc/%{name}.{html,txt,pdf}
+
 
 %changelog
+* Fri Feb 22 2013 Martin Gieseking <martin.gieseking at uos.de> 2.5.2-2
+- Moved documentation to doc subpackage.
+
 * Wed Feb 06 2013 Martin Gieseking <martin.gieseking at uos.de> 2.5.2-1
 - Updated to new upstream release.
 


More information about the scm-commits mailing list