Bug 453120
Summary: | perl-openbabel not built for perl 5.10.0 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Paul Howarth <paul> | ||||
Component: | openbabel | Assignee: | Dominik 'Rathann' Mierzejewski <dominik> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 9 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 2.2.0-1.fc9 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-07-29 21:50:58 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 454257 | ||||||
Attachments: |
|
Description
Paul Howarth
2008-06-27 12:47:30 UTC
Created attachment 310433 [details]
Patch to add perl(:MODULE_COMPAT... dependency and fix some rpmlint warnings
This patch does more than that. I'll add the missing perl requires, but please explain the rest of the hunks. (In reply to comment #2) > This patch does more than that. I'll add the missing perl requires, but please > explain the rest of the hunks. >>>> -Provides: %{name}-perl +Provides: %{name}-perl = %{version}-%{release} -Provides: %{name}-python +Provides: %{name}-python = %{version}-%{release} <<<< These make the "Provides" versioned; unversioned "provides" are bad because they effectively mean that the package "provides" every possible version, and that would cause problems for people doing upgrades if it was ever decided to change the package names back to (for example) "openbabel-perl" again. >>>> +# Fix bogus executable permissions on source files for debuginfo +%{__chmod} -x src/formats/{fchk,mmcif}format.cpp + <<<< These source files have the execute bits set, which causes rpmlint to complain when run on the "openbabel-debuginfo" package. >>>> -perl Makefile.PL INSTALLDIRS="vendor" +%{__perl} Makefile.PL INSTALLDIRS="vendor" -python setup.py build +%{__python} setup.py build <<<< These are for consistency; the spec uses macro-ized versions of commands in most places, so this changes the perl and python commands to the macro-ized versions too. >>>> -%{python_sitearch}/_openbabel.so +%attr(755,root,root) %{python_sitearch}/_openbabel.so <<<< This just forces the permissions of the _openbabel.so to be 755; otherwise it would be 775, which rpmlint considers to be "strange". openbabel-2.2.0-1.fc9 has been submitted as an update for Fedora 9 openbabel-2.2.0-1.fc9, kdeedu-4.0.5-2.fc9, gnome-chemistry-utils-0.8.7-2.fc9, gchempaint-0.8.7-3.fc9, xdrawchem-1.9.9-11.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update openbabel kdeedu gnome-chemistry-utils gchempaint xdrawchem'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-6376 For some reason bodhi didn't close this after it hit stable. |