FS#61664 - [emacs-nox] emacs-nox doesn't provide emacs>=VERSION

Attached to Project: Community Packages
Opened by Sabrina Dubroca (qsn) - Thursday, 07 February 2019, 14:32 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 07 February 2019, 20:35 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: emacs-nox provides emacs, but not emacs>=${pkgver}. Some AUR
packages (for example, emacs-with-editor-git [1]) depend on a specific
version of emacs, so that dependency fails [2], eventhough emacs-nox
is recent enough.


Additional info:
* package version(s): emacs-nox 26.1-1


Steps to reproduce:
1. pacman -S emacs-nox
2. pacman -T 'emacs-nox>=24.4' # succeeds
3. pacman -T 'emacs>=24.4' # fails


I modified the .PKGINFO file in the package as follows and reinstalled
locally, this made the 'emacs>=24.4' dependency pass.

--- a/.PKGINFO.old
+++ b/.PKGINFO
@@ -11,7 +11,7 @@ size = 132757504
arch = x86_64
license = GPL3
conflict = emacs
-provides = emacs
+provides = emacs=26.1-1
depend = dbus
depend = ncurses
depend = perl


[1] https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=emacs-with-editor-git#n12
[2] https://wiki.archlinux.org/index.php/PKGBUILD#provides
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Thursday, 07 February 2019, 20:35 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#52905   FS#60763 

Loading...