Obsoletes and Provides
by Emmanuel Seyman
Hey, folks.
I maintain the package perl-JSON-RPC which I had split in 3 parts:
* perl-JSON-RPC
* perl-JSON-RPC-legacy
* perl-JSON-RPC-legacy-server
A bug report convinced me this was the wrong way to do it so I split it again,
this time in 4 parts:
* perl-JSON-RPC
* perl-JSON-RPC-Apache2
* perl-JSON-RPC-CGI
* perl-JSON-RPC-Daemon
I believed I had put in the correct Obsoletes and Provides but when I update
from updates-testing, I end up with this installed on my system:
* perl-JSON-RPC-legacy-server-1.01-2.fc17.noarch
* perl-JSON-RPC-Apache2-1.03-1.fc17.noarch
* perl-JSON-RPC-legacy-1.01-2.fc17.noarch
* perl-JSON-RPC-CGI-1.03-1.fc17.noarch
* perl-JSON-RPC-Common-0.06-8.fc17.noarch
* perl-JSON-RPC-Daemon-1.03-1.fc17.noarch
* perl-JSON-RPC-1.03-1.fc17.noarch
The build is here: http://koji.fedoraproject.org/koji/buildinfo?buildID=328530
If anyone could tell me what I'm doing wrong, it would be appreciated.
Emmanuel
11 years, 5 months
Where to install LD_PRELOAD libraries
by Orion Poplawski
I'm currently reviewing VirtualGL:
https://bugzilla.redhat.com/show_bug.cgi?id=834127
It installs a number of libraries that get used with LD_PRELOAD via a wrapper
script. While it is convenient to place them in %{_libdir} so that you don't
have to specify the full path in LD_PRELOAD, it seems to me that they
shouldn't be in %{_libdir} but in %{_libdir}/VirtualGL and then specify the
full path in LD_PRELOAD.
Any dissenting opinions?
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301 http://www.nwra.com
11 years, 5 months
Using Cmake in a package...
by Darryl L. Pierce
I'm trying to convert our package (qpid-cpp) from using autotools to Cmake
in our package. The project has supported both build environments as part
of our transition, and we're ready to eliminate autotools entirely now.
However, when I build using the following:
%build
mkdir cmake
pushd cmake
%cmake ../cpp # using the %cmake macro
make %{?_smp_mflags}
popd
the build consistently fails at the exact same point. But if I use:
%build
mkdir cmake
pushd cmake
cmake ../cpp
make %{?_smp_mflags}
popd
then the build finishes correctly. Is there a decent, updated guide for
building packages with Cmake?
11 years, 5 months