[fplll] 01/01: Made libfplll<version> packages coinstallable and document how to soname bump in README.source

Julien Puydt julien.puydt at laposte.net
Sun Jun 18 10:59:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

jpuydt-guest pushed a commit to branch master
in repository fplll.

commit 560bb255e70c1534ed76fc996b43e5f3642781f6
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Sun Jun 18 08:49:35 2017 +0200

    Made libfplll<version> packages coinstallable and document how to soname bump in README.source
---
 debian/README.source                     |  8 ++++++++
 debian/changelog                         |  8 ++++++++
 debian/libfplll3.install                 |  2 +-
 debian/patches/series                    |  1 +
 debian/patches/versioned_strategies_path | 16 ++++++++++++++++
 5 files changed, 34 insertions(+), 1 deletion(-)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..0bdbdc6
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,8 @@
+How to soname bump
+==================
+* debian/control:
+ - declares the libfplll<version> package
+ - makes the libfplll-dev package depend on it
+* debian/libfplll<version>.* needs to be moved
+* debian/libfplll.install references the <version> for the strategy path
+* debian/patches/versioned_strategies_path also references the strategy path.
diff --git a/debian/changelog b/debian/changelog
index 64c5de1..66b72ca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+fplll (5.1.0-2) UNRELEASED; urgency=medium
+
+  * Made the strategies file go in a versioned directory so different
+  libfplll<version> packages are coinstallable (and document how to soname
+  bump in README.source as it becomes a bit involved).
+
+ -- Julien Puydt <julien.puydt at laposte.net>  Sun, 18 Jun 2017 08:46:35 +0200
+
 fplll (5.1.0-1) experimental; urgency=medium
 
   * New upstream release.
diff --git a/debian/libfplll3.install b/debian/libfplll3.install
index 5418fa6..e0877e3 100644
--- a/debian/libfplll3.install
+++ b/debian/libfplll3.install
@@ -1,2 +1,2 @@
 /usr/lib/*/*.so.*
-usr/share/fplll/strategies/default.json
+usr/share/fplll3/strategies/default.json
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..104b9a3
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+versioned_strategies_path
diff --git a/debian/patches/versioned_strategies_path b/debian/patches/versioned_strategies_path
new file mode 100644
index 0000000..7b765ce
--- /dev/null
+++ b/debian/patches/versioned_strategies_path
@@ -0,0 +1,16 @@
+Description: Install the strategies in a soname-versioned directory
+ This makes different libfplll<soname> packages coinstallable.
+Author: Julien Puydt <julien.puydt at laposte.net>
+Forwarded: no
+
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -6,7 +6,7 @@
+ pkgconfigdir       = $(libdir)/pkgconfig
+ pkgconfig_DATA     = fplll.pc
+ 
+-strategydir        = $(pkgdatadir)/strategies
++strategydir        = $(pkgdatadir)3/strategies
+ dist_strategy_DATA = strategies/default.json
+ 
+ CLANGFORMAT       ?= clang-format

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/fplll.git



More information about the debian-science-commits mailing list