Bug 984173 - Disable versioned OpenBabel data directories
Summary: Disable versioned OpenBabel data directories
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: openbabel
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Susi Lehtola
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-13 09:00 UTC by Susi Lehtola
Modified: 2013-07-28 01:11 UTC (History)
5 users (show)

Fixed In Version: openbabel-2.3.2-1.fc18
Clone Of:
Environment:
Last Closed: 2013-07-28 01:07:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Proposed patch (6.79 KB, patch)
2013-07-13 09:04 UTC, Susi Lehtola
no flags Details | Diff

Description Susi Lehtola 2013-07-13 09:00:22 UTC
OpenBabel provides force field data and libraries, which are needed for operating software that is built against openbabel.

Please provide rpm macros which state the version of the openbabel library, and the exact location of the data and library directories.

Comment 1 Susi Lehtola 2013-07-13 09:04:13 UTC
Created attachment 772974 [details]
Proposed patch

This patch adds the rpm macros, and also cleans up the packaging somewhat by removing duplicate html man pages, and branching out the documentation and the force fields to separate subpackages.

Comment 2 Susi Lehtola 2013-07-13 09:05:38 UTC
The patch also takes care of the trivial part of bug #865621, but I can't get openbabel to compile due to an obsolete Ruby makefile

-- Found Ruby: /usr/bin/ruby (found version "2.0.0") 
-- Ruby bindings will be compiled
-e:1:in `<main>': Use RbConfig instead of obsolete and deprecated Config.
-e:1:in `<main>': Use RbConfig instead of obsolete and deprecated Config.
-- Configuring incomplete, errors occurred!
error: Bad exit status from /var/tmp/rpm-tmp.wWLTSK (%build)

Comment 3 Susi Lehtola 2013-07-15 09:02:35 UTC
Alternatively, since we're only going to have one version of OpenBabel installed anyhow, this problem would be solved by not using version dependent locations for the libraries and the force fields.

Then the soname dependency automatically picked up by rpm would be sufficient.

Comment 4 Susi Lehtola 2013-07-18 00:21:18 UTC
(In reply to Susi Lehtola from comment #2)
> The patch also takes care of the trivial part of bug #865621, but I can't
> get openbabel to compile due to an obsolete Ruby makefile

What am I saying. That's not the error, the error is in the CMake makefile using the same target name twice.

Anyway, I can handle the updates, but I'd like to hear your opinion on the location issue.

Comment 5 Susi Lehtola 2013-07-18 08:53:08 UTC
Actually, since the versioned library locations can be turned off as a configure option I'm going ahead and doing the change in rawhide.

Comment 6 Dominik 'Rathann' Mierzejewski 2013-07-18 09:10:36 UTC
I'm fine with your changes and I've just approved your commit access. Thanks for your help.

Comment 7 Fedora Update System 2013-07-18 11:56:52 UTC
openbabel-2.3.2-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/openbabel-2.3.2-1.fc19

Comment 8 Fedora Update System 2013-07-18 11:57:11 UTC
openbabel-2.3.2-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/openbabel-2.3.2-1.fc18

Comment 9 Fedora Update System 2013-07-20 09:30:43 UTC
Package openbabel-2.3.2-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing openbabel-2.3.2-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-13229/openbabel-2.3.2-1.fc19
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2013-07-28 01:07:51 UTC
openbabel-2.3.2-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2013-07-28 01:11:05 UTC
openbabel-2.3.2-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.