Hello, everyone!
I have 2 created packages - package1 and package2.
Package1 has dependence from package2.
So, when I make package1, I add this string to the Makefile:
It works fine, but I want to check for package1 if it has new version - should I also upgrade package2? Or maybe new version package2 doesn't support package1 yet?
So I think it should be something like that (for example, package1 demand only minor changes of major version 0.1):
But I didn't find anything about this syntaxis
And another question - how to see suitable version of package2 for package1?
pkg rquery %do package1 shows name of package2
pkg rquery %dv package1 shows current version of package2
But I want to see is my installed version of package2 suitable for new version of package1! Not try to install, just to see. And also check, is new version of package2 suitable for new version of package1.
Thanks!
I have 2 created packages - package1 and package2.
Package1 has dependence from package2.
So, when I make package1, I add this string to the Makefile:
Code:
RUN_DEPENDS= package2>0:my_repo/package2
So I think it should be something like that (for example, package1 demand only minor changes of major version 0.1):
Code:
RUN_DEPENDS= package2=0.1.*:my_repo/package2
And another question - how to see suitable version of package2 for package1?
pkg rquery %do package1 shows name of package2
pkg rquery %dv package1 shows current version of package2
But I want to see is my installed version of package2 suitable for new version of package1! Not try to install, just to see. And also check, is new version of package2 suitable for new version of package1.
Thanks!