Red Hat Bugzilla – Bug 985905
RFE: enable debian and arch dependency solving
Last modified: 2014-09-30 19:41:32 EDT
Description of problem:
On Fedora machine, I need to be able to resolve Debian and ARCH dependency (because of perl-BSSolv, which is need for obs-server)
With this patch, libsolv is built with those featurese enabled:
diff --git a/libsolv.spec b/libsolv.spec
index da11940..574fff9 100644
@@ -92,7 +92,11 @@ make ARGS="-V" test
+ -DFEDORA=1 \
+ -DENABLE_DEBIAN=1 \
+ -DENABLE_ARCHREPO=1 \
@@ -112,6 +116,9 @@ rm $RPM_BUILD_ROOT/usr/bin/testsolv
I wanted to ask if we can safely enable this for the Fedora libsolv package? I am especially worried about the MULTI_SEMANTICS bit. What do you think?
Thank you, Ales
MULTI_SEMANTICS doesn't hurt, it just offers more flexibility. So don't be worried.
(From the perspective of a build service admin, I wouldn't link perl-BSSolv against the system's libsolv library, but use a copy of libsolv, just to make sure the build service doesn't break if the system's libsolv is changed. But I also know that having multiple copies of a library is against Fedora's policy...)
Miroslav, do you still want this then? If yes I can do quick testing and make an updated rawhide build with the new defines enabled.
Tests are passing OK and the change is in distgit, but I can not proceed with the build due to https://fedorahosted.org/fedora-infrastructure/ticket/3882
After the weekend, hopefully.
The build with the required flags is in Rawhide. After some exposure there I will try to propagate this to F19.