You are not logged in.

#1 2016-04-24 07:40:15

Tahvok
Member
Registered: 2014-04-13
Posts: 8

[Solved] Specify different conflict for each package in split package?

Hello,

I'm maintaining this split package:
https://aur.archlinux.org/pkgbase/gridcoinresearch-git/

The project developers started putting tags on releases, so I want to create a stable package as well.

The git package builds two packages: 'gridcoinresearch-daemon-git' and 'gridcoinresearch-qt-git' - a daemon and a qt - both do NOT require the other.

So I want 'daemon-git' to conflict with future created 'daemon' package,
and 'qt-git' to conflict with 'qt' package.

But, the 'qt' package, does not (and should not) conflict with the 'daemon' package.
It seems I can only specify 'conflicts' variable on the whole split package - and not per each package.
Is there no way to do what I want?
What do you suggest?

Last edited by Tahvok (2016-04-24 09:53:47)

Offline

#2 2016-04-24 08:40:12

pb
Member
From: Krakow, PL
Registered: 2014-12-26
Posts: 336
Website

Re: [Solved] Specify different conflict for each package in split package?

What about adds

conflicts=('gridcoinresearch-daemon-git')

to package_gridcoinresearch-daemon section and

conflicts=('gridcoinresearch-qt-git')

to package_gridcoinresearch-qt section (and of course similar lines to both sections in gridcoinresearch-git? It seems to build proper package.

Offline

#3 2016-04-24 09:45:07

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [Solved] Specify different conflict for each package in split package?

It seems I can only specify 'conflicts' variable on the whole split package - and not per each package.

What gives you that impression? If you're getting an error, post it.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2016-04-24 09:46:33

Tahvok
Member
Registered: 2014-04-13
Posts: 8

Re: [Solved] Specify different conflict for each package in split package?

No error,

I just didn't know you can specify conflicts in each package. That actually worked.

Thanks!

Offline

Board footer

Powered by FluxBB