Hi @olf, I might be slightly confused by your write-up. I think I managed to replicate what you did, see rpm/harbour-whisperfish.spec · master · Whisperfish / Whisperfish - Signal on Sailfish OS · GitLab, but it only correctly installs on SailfishOS 4.x now. I tried creating two packages, one for 3.x and one for 4.x, and added a .sf3 or .sf4 suffix to the release field to differentiate the RPM names. Dependencies seem correctly set in my macro, so at least syntactically I’m correct:
$ rpm -qpR harbour-whisperfish-0.6.0.beta.7-0.sf3.armv7hl.rpm
sailfish-version >= 3.0
sailfish-version >= 3.3
sailfish-version < 4.0
S | Naam | Type | Versie | Arch | Opslagruimte
---+---------------------+--------+--------------------+---------+-----------------
i+ | harbour-whisperfish | pakket | 0.6.0.beta.7-0.sf4 | armv7hl | openrepos-rubdos
v | harbour-whisperfish | pakket | 0.6.0.beta.7-0.sf3 | armv7hl | openrepos-rubdos
v | harbour-whisperfish | pakket | 0.6.0-0.beta.6 | armv7hl | openrepos-rubdos
v | harbour-whisperfish | pakket | 0.6.0-0.beta.5 | armv7hl | openrepos-rubdos
S | Naam | Type | Versie | Arch | Opslagruimte
---+-------------------+--------+------------------------+--------+--------------
i+ | crypto-sdcard | pakket | 1.7.2-1.sfos401regular | noarch | openrepos-olf
v | crypto-sdcard | pakket | 1.7.2-1.sfos340regular | noarch | openrepos-olf
v | crypto-sdcard | pakket | 1.7.2-1.sfos340qcrypto | noarch | openrepos-olf
v | crypto-sdcard | pakket | 1.7.2-1.sfos321regular | noarch | openrepos-olf
v | crypto-sdcard | pakket | 1.7.2-1.sfos321qcrypto | noarch | openrepos-olf
v | crypto-sdcard | pakket | 1.7.2-1.sfos220regular | noarch | openrepos-olf
v | crypto-sdcard | pakket | 1.7.2-1.sfos220qcrypto | noarch | openrepos-olf
I don’t really see the difference at this point. If you’d have an idea, would be nice if you could send me a message here/on IRC (#whisperfish on Libera would be great) or Matrix (#whisperfish:rubdos.be)