[Bug 833462] Review Request: hawkey - A Library providing simplified C and Python API to libsolv

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=833462

Scott Tsai <scottt.tw@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dwmw2@xxxxxxxxxxxxx
          Component|Package Review              |0xFFFF
           Assignee|scottt.tw@xxxxxxxxx         |kklic@xxxxxxxxxx
              Flags|fedora-review?              |

--- Comment #1 from Scott Tsai <scottt.tw@xxxxxxxxx> ---
(In reply to comment #0)
Ales,

The .spec as-is produces a binary python-hawkey package that can't be installed
due to a missing requires on "libhawkey.so.0()(64bit)".  This is caused by
_hawkey_testmodule.so having a DT_NEEDED entry (i.e. is linked with)
_hawkeymodule.so and RPM automatically generating a requires from that.
We can stop RPM from generating that requires by adding this snippet:

 %global gitrev 04ecf00
 %global libsolv_version 0.0.0-11

+# filter out _hawkey_testmodule.so DT_NEEDED _hawkeymodule.so
+%{?filter_setup:
+%filter_requires_in %{python_sitearch}/hawkey/test/.*\.so$ 
+%filter_setup
+}
+
 Name:          hawkey

to the .spec file per
http://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering#Removing_items_from_the_requires_stream_.28post-scan_filtering.29
b

But I must ask do you _REALLY_ want to ship the "hawkey.test" package in the
RPM? Is it really useful?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]