tpkg / client

tpkg client code
MIT License
5 stars 7 forks source link

Native stubbing, multiple versions of a package #32

Open jheiss opened 12 years ago

jheiss commented 12 years ago

If you attempt to install two versions of the same package which both depend on native packages then the stubbing code collides with itself. It should incorporate the version of the tpkg in the name or version of the native package to avoid this conflict.

% tpkg -q python python-2.7.2-1-redhat6-x86_64.tpkg

% tpkg -i python=3.2.2 Executing with sudo The following packages will be installed: python-3.2.2-1-redhat6-x86_64.tpkg Confirm? [Y/n] Skipping bzip2, already installed Skipping gdbm, already installed Processing files: stub_for_python-1-1.noarch Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/rpmbuild20120910-8230-164886d-0/BUILDROOT/stub_for_python-1-1.x86_64 Wrote: /tmp/rpmbuild20120910-8230-164886d-0/RPMS/noarch/stub_for_python-1-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fRKBcR