Bug 31514 - rebuild fails (blocks perl 5.22 update)
Summary: rebuild fails (blocks perl 5.22 update)
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: libqpid-proton (show other bugs)
Version: unstable
Hardware: all Linux
: P3 blocker
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-18 12:34 MSK by viy
Modified: 2015-11-21 00:14 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/*