Bug 31514

Summary: rebuild fails (blocks perl 5.22 update)
Product: Sisyphus Reporter: viy <viy>
Component: libqpid-protonAssignee: Alexey Shabalin <shaba>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: blocker    
Priority: P3 CC: shaba
Version: unstable   
Hardware: all   
OS: Linux   

Description viy 2015-11-18 12:34:56 MSK
обновление perl затронет пакет qpid-proton, надо восстановить его собираемость.
кстати,есть обновление -- 0.10
Comment 1 viy 2015-11-21 00:14:34 MSK
хакнул, так как надо perl обновлять :(

commit c82fc9d7524ed9948a6cd1d9c82a4b53ea46fc0e
Author: Igor Vlasenko <viy@altlinux.org>
Date:   Fri Nov 20 23:01:23 2015 +0200

    conditional doc packages - quick hack to fix the build

diff --git a/qpid-proton.spec b/qpid-proton.spec
index d39a1ab..737835e 100644
--- a/qpid-proton.spec
+++ b/qpid-proton.spec
@@ -1,3 +1,6 @@
+# a hack: should be fixed
+%def_without doc
+
 %define proton_datadir %_datadir/proton-%version
 
 Name: qpid-proton
@@ -127,8 +130,10 @@ Perl language bindings for Qpid Proton
 %_libdir/cmake/Proton
 %_datadir/proton/examples
 
+%if_with doc
 %files -n lib%name-devel-doc
 %doc %proton_datadir/docs/api-c
+%endif
 
 %files -n python-module-qpid-proton
 %python_sitelibdir/_cproton.so
@@ -136,8 +141,10 @@ Perl language bindings for Qpid Proton
 %python_sitelibdir/proton.*
 
 
+%if_with doc
 %files -n python-module-qpid-proton-doc
 %doc %proton_datadir/docs/api-py
+%endif
 
 %files -n perl-qpid_proton
 %perl_vendor_archlib/*