Help with packaging igraph (stuck on debuginfo)
Mamoru Tasaka
mtasaka at ioa.s.u-tokyo.ac.jp
Thu Jan 24 03:39:24 UTC 2008
Neal Becker wrote, at 01/24/2008 11:23 AM +9:00:
> I put together a package for igraph-0.4.5 and python bindings.
> Unfortunately, the upstream is a bit messed up. The python package is
> called exactly the same name (the original C is called ipython-0.4.5 and so
> is the python package).
>
> The upstream python package included it's own copy of the c code. I fixed
> that problem so the python package would use the installed ipython c devel
> package.
>
> Only 1 little problem.
>
> I renamed the python source to python-igraph-{version}.tar.gz. I did:
>
> %setup -q -n igraph-%{version}
>
> Now it builds fine, but:
> sudo rpm -U ~/RPM/RPMS/x86_64/python-igraph-*
> file /usr/src/debug/igraph-0.4.5/src/error.c from install of
> python-igraph-debuginfo-0.4.5-1.fc8.x86_64 conflicts with file from package
> igraph-debuginfo-0.4.5-1.fc8.x86_64
> file /usr/src/debug/igraph-0.4.5/src/error.h from install of
> python-igraph-debuginfo-0.4.5-1.fc8.x86_64 conflicts with file from package
> igraph-debuginfo-0.4.5-1.fc8.x86_64
>
> Any ideas how to fix this?
>
A quick workaround is using "%setup -q -c" then executing "cd igraph-%{version}".
Regards,
Mamoru
More information about the devel
mailing list