Fix breaks/replaces (Closes: #1077587)

This commit is contained in:
Sylvestre Ledru 2024-07-30 10:49:33 +02:00
parent 28ad8e189e
commit bb97f43cbc
4 changed files with 11 additions and 5 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
llvm-toolchain-18 (1:18.1.8-8) unstable; urgency=medium
* Fix breaks/replaces (Closes: #1077587)
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 30 Jul 2024 10:48:59 +0200
llvm-toolchain-18 (1:18.1.8-7) unstable; urgency=medium llvm-toolchain-18 (1:18.1.8-7) unstable; urgency=medium
* Unbreak the cmake tools * Unbreak the cmake tools

4
debian/control vendored
View File

@ -347,8 +347,8 @@ Section: libs
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Pre-Depends: ${misc:Pre-Depends} Pre-Depends: ${misc:Pre-Depends}
Multi-Arch: same Multi-Arch: same
Breaks: llvm-18-dev (<< 1:18.1.8-4) Breaks: llvm-18-dev (<< 1:18.1.8-8)
Replaces: llvm-18-dev (<< 1:18.1.8-4) Replaces: llvm-18-dev (<< 1:18.1.8-8)
Description: Modular compiler and toolchain technologies, runtime library Description: Modular compiler and toolchain technologies, runtime library
LLVM is a collection of libraries and tools that make it easy to build LLVM is a collection of libraries and tools that make it easy to build
compilers, optimizers, just-in-time code generators, and many other compilers, optimizers, just-in-time code generators, and many other

4
debian/control.in vendored
View File

@ -347,8 +347,8 @@ Section: libs
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Pre-Depends: ${misc:Pre-Depends} Pre-Depends: ${misc:Pre-Depends}
Multi-Arch: same Multi-Arch: same
Breaks: llvm-@LLVM_VERSION@-dev (<< 1:18.1.8-4) Breaks: llvm-@LLVM_VERSION@-dev (<< 1:18.1.8-8)
Replaces: llvm-@LLVM_VERSION@-dev (<< 1:18.1.8-4) Replaces: llvm-@LLVM_VERSION@-dev (<< 1:18.1.8-8)
Description: Modular compiler and toolchain technologies, runtime library Description: Modular compiler and toolchain technologies, runtime library
LLVM is a collection of libraries and tools that make it easy to build LLVM is a collection of libraries and tools that make it easy to build
compilers, optimizers, just-in-time code generators, and many other compilers, optimizers, just-in-time code generators, and many other

2
debian/rules vendored
View File

@ -683,7 +683,7 @@ stamps/preconfigure:
# Yeah, this is ugly but I don't know how to do better # Yeah, this is ugly but I don't know how to do better
if test "$(LLVM_VERSION)" = "18"; then \ if test "$(LLVM_VERSION)" = "18"; then \
if echo $(LLVM_VERSION_SNAPSHOT)| grep -q "~++"; then \ if echo $(LLVM_VERSION_SNAPSHOT)| grep -q "~++"; then \
sed -i -e "s| (<< 1:18.1.8-4)|(<< 1:18.1.8~++20240717045021)|g" debian/control; \ sed -i -e "s| (<< 1:18.1.8-8)|(<< 1:18.1.8~++20240730104741)|g" debian/control; \
fi; \ fi; \
fi fi