[Pkg-sass-devel] Bug#791162: libsass: library transition may be needed when GCC 5 is the default -- patch+NMU
Martin Pitt
mpitt at debian.org
Wed Aug 5 11:05:38 UTC 2015
tag 791162 patch pending
user release.debian.org at packages.debian.org
usertag 791162 + transition
block 791162 by 790756
thanks
Matthias Klose [2015-07-03 13:12 +0000]:
> - If a library transition is needed, please prepare for the change.
> Rename the library package, append "v5" to the name of the package
> (e.g. libfoo2 -> libfoo2v5).
Attached debdiff does that. As per the transition rules I NMUed
this to DELAYED/2.
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
-------------- next part --------------
diff -Nru libsass-3.2.5/debian/changelog libsass-3.2.5/debian/changelog
--- libsass-3.2.5/debian/changelog 2015-06-20 20:10:25.000000000 +0200
+++ libsass-3.2.5/debian/changelog 2015-08-05 12:55:23.000000000 +0200
@@ -1,3 +1,12 @@
+libsass (3.2.5-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Rename library packages for g++5 ABI transition. (Closes: #791162)
+ * debian/rules: Adjust "abi" as per previous rename and add --suffix
+ option for dhshlibmove.
+
+ -- Martin Pitt <mpitt at debian.org> Wed, 05 Aug 2015 12:26:36 +0200
+
libsass (3.2.5-1) unstable; urgency=medium
* Update copyright info:
diff -Nru libsass-3.2.5/debian/control libsass-3.2.5/debian/control
--- libsass-3.2.5/debian/control 2015-06-20 20:09:27.000000000 +0200
+++ libsass-3.2.5/debian/control 2015-08-05 12:42:17.000000000 +0200
@@ -17,7 +17,7 @@
Vcs-Git: git://git.debian.org/pkg-libsass/libsass.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-libsass/libsass.git
-Package: libsass0
+Package: libsass0v5
Section: libs
Architecture: any
Depends: ${shlibs:Depends},
@@ -25,6 +25,8 @@
Pre-Depends: ${misc:Pre-Depends},
${cdbs:Pre-Depends}
Multi-Arch: same
+Conflicts: libsass0
+Replaces: libsass0
Description: C/C++ port of the Sass CSS precompiler
Sass is a pre-processing language for CSS. It allows you to write
cleaner stylesheets and makes collaboration on your CSS a breeze.
@@ -32,12 +34,14 @@
LibSass is a C/C++ port of the Sass engine. The point is to be simple,
fast, and easy to integrate.
-Package: libsass0-dbg
+Package: libsass0v5-dbg
Section: debug
Priority: extra
Architecture: any
Depends: ${misc:Depends},
- libsass0 (= ${binary:Version})
+ libsass0v5 (= ${binary:Version})
+Conflicts: libsass0-dbg
+Replaces: libsass0-dbg
Description: C/C++ port of the Sass CSS precompiler - debugging symbols
Sass is a pre-processing language for CSS. It allows you to write
cleaner stylesheets and makes collaboration on your CSS a breeze.
@@ -51,7 +55,7 @@
Section: libdevel
Architecture: any
Multi-Arch: same
-Depends: libsass0 (= ${binary:Version}),
+Depends: libsass0v5 (= ${binary:Version}),
${devlibs:Depends},
${misc:Depends}
Suggests: libsass-doc
diff -Nru libsass-3.2.5/debian/control.in libsass-3.2.5/debian/control.in
--- libsass-3.2.5/debian/control.in 2015-06-20 20:13:12.000000000 +0200
+++ libsass-3.2.5/debian/control.in 2015-08-05 12:58:05.000000000 +0200
@@ -9,7 +9,7 @@
Vcs-Git: git://git.debian.org/pkg-libsass/libsass.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-libsass/libsass.git
-Package: libsass0
+Package: libsass0v5
Section: libs
Architecture: any
Depends: ${shlibs:Depends},
@@ -17,6 +17,8 @@
Pre-Depends: ${misc:Pre-Depends},
${cdbs:Pre-Depends}
Multi-Arch: same
+Conflicts: libsass0
+Replaces: libsass0
Description: C/C++ port of the Sass CSS precompiler
Sass is a pre-processing language for CSS. It allows you to write
cleaner stylesheets and makes collaboration on your CSS a breeze.
@@ -24,12 +26,14 @@
LibSass is a C/C++ port of the Sass engine. The point is to be simple,
fast, and easy to integrate.
-Package: libsass0-dbg
+Package: libsass0v5-dbg
Section: debug
Priority: extra
Architecture: any
Depends: ${misc:Depends},
- libsass0 (= ${binary:Version})
+ libsass0v5 (= ${binary:Version})
+Conflicts: libsass0-dbg
+Replaces: libsass0-dbg
Description: C/C++ port of the Sass CSS precompiler - debugging symbols
Sass is a pre-processing language for CSS. It allows you to write
cleaner stylesheets and makes collaboration on your CSS a breeze.
@@ -43,7 +47,7 @@
Section: libdevel
Architecture: any
Multi-Arch: same
-Depends: libsass0 (= ${binary:Version}),
+Depends: libsass0v5 (= ${binary:Version}),
${devlibs:Depends},
${misc:Depends}
Suggests: libsass-doc
diff -Nru libsass-3.2.5/debian/control.in.in libsass-3.2.5/debian/control.in.in
--- libsass-3.2.5/debian/control.in.in 2015-03-03 13:14:02.000000000 +0100
+++ libsass-3.2.5/debian/control.in.in 2015-08-05 12:57:07.000000000 +0200
@@ -17,6 +17,8 @@
Pre-Depends: ${misc:Pre-Depends},
${cdbs:Pre-Depends}
Multi-Arch: same
+Conflicts: libsass0
+Replaces: libsass0
Description: C/C++ port of the Sass CSS precompiler
Sass is a pre-processing language for CSS. It allows you to write
cleaner stylesheets and makes collaboration on your CSS a breeze.
@@ -30,6 +32,8 @@
Architecture: any
Depends: ${misc:Depends},
__LIBPKG__ (= ${binary:Version})
+Conflicts: libsass0-dbg
+Replaces: libsass0-dbg
Description: C/C++ port of the Sass CSS precompiler - debugging symbols
Sass is a pre-processing language for CSS. It allows you to write
cleaner stylesheets and makes collaboration on your CSS a breeze.
diff -Nru libsass-3.2.5/debian/libsass0v5-dbg.lintian-overrides libsass-3.2.5/debian/libsass0v5-dbg.lintian-overrides
--- libsass-3.2.5/debian/libsass0v5-dbg.lintian-overrides 1970-01-01 01:00:00.000000000 +0100
+++ libsass-3.2.5/debian/libsass0v5-dbg.lintian-overrides 2015-08-04 10:07:34.000000000 +0200
@@ -0,0 +1,2 @@
+# G++5 ABI transition
+libsass0v5-dbg: package-name-doesnt-match-sonames libsass0-dbg
diff -Nru libsass-3.2.5/debian/libsass0v5.lintian-overrides libsass-3.2.5/debian/libsass0v5.lintian-overrides
--- libsass-3.2.5/debian/libsass0v5.lintian-overrides 1970-01-01 01:00:00.000000000 +0100
+++ libsass-3.2.5/debian/libsass0v5.lintian-overrides 2015-08-04 10:07:34.000000000 +0200
@@ -0,0 +1,2 @@
+# G++5 ABI transition
+libsass0v5: package-name-doesnt-match-sonames libsass0
diff -Nru libsass-3.2.5/debian/rules libsass-3.2.5/debian/rules
--- libsass-3.2.5/debian/rules 2015-05-13 23:36:53.000000000 +0200
+++ libsass-3.2.5/debian/rules 2015-08-05 12:55:16.000000000 +0200
@@ -34,7 +34,7 @@
pkg = $(DEB_SOURCE_PACKAGE)
stem = $(patsubst lib%,%,$(pkg))
-abi = 0
+abi = 0v5
lib = lib$(stem)
libpkg = lib$(stem)$(abi)
devpkg = lib$(stem)-dev
@@ -74,6 +74,7 @@
binary-install/$(devpkg)
d-shlibmove --commit \
--devunversioned \
+ --suffix v5 \
--exclude-la \
--multiarch \
--movedev "debian/tmp/usr/include/*" usr/include/ \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sass-devel/attachments/20150805/8c1ba6e3/attachment.sig>
More information about the pkg-sass-devel
mailing list