mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
install: Add conflict if Dangerzone is installed
Add a "Conflicts:" entry in the RPM spec, in case another version of Dangerzone is already installed.
This commit is contained in:
parent
81b4a8deb5
commit
215fa8b558
1 changed files with 13 additions and 0 deletions
|
@ -50,6 +50,19 @@ URL: https://dangerzone.rocks
|
||||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/#_troublesome_urls
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/#_troublesome_urls
|
||||||
Source0: https://github.com/freedomofpress/dangerzone/archive/refs/tags/v%{version}.tar.gz#/dangerzone-%{version}.tar.gz
|
Source0: https://github.com/freedomofpress/dangerzone/archive/refs/tags/v%{version}.tar.gz#/dangerzone-%{version}.tar.gz
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Package Replacements
|
||||||
|
|
||||||
|
%if 0%{?_qubes}
|
||||||
|
# Users who install Dangerzone with native Qubes support must uninstall
|
||||||
|
# Dangerzone with container support.
|
||||||
|
Conflicts: dangerzone
|
||||||
|
%else
|
||||||
|
# Users who install Dangerzone with container support must uninstall Dangerzone
|
||||||
|
# with native Qubes support.
|
||||||
|
Conflicts: dangerzone-qubes
|
||||||
|
%endif
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Package Requirements
|
# Package Requirements
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue