From 1b1b2e546351e0a027d6a06d65d10557911dbaa1 Mon Sep 17 00:00:00 2001
From: Andreas Romeyke <andreas.romeyke@slub-dresden.de>
Date: Thu, 21 Nov 2024 10:56:55 +0100
Subject: [PATCH] - fix some open packaging problems

---
 .gitlab-ci.yml | 11 +++++++++--
 dist.ini       |  7 ++++++-
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 92e73fb..7adf337 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -92,6 +92,7 @@ create-debian-packages:
   tags:
     - "docker"
   script:
+    - dzil authordeps --missing | cpanm
     - mkdir debian
     - |
       cat <<RULES | sed -e "s/##TAB##/\\t/g" > debian/rules
@@ -150,11 +151,17 @@ create-debian-packages:
       CONTROL
     - |
       cat <<CHANGELOG > debian/changelog
-      tools-for-technical-analysts (1.0) stable; urgency=medium
+      tools-for-technical-analysts ($(cat dist.ini| grep "^version" | sed -e "s/version *= *\([0-9]*\.[0-9]*\)$/\1/")) stable; urgency=medium
+      
+      * updated to build debian package
+      
+      -- Andreas Romeyke <andreas.romeyke@slub-dresden.de> Thu, 21 Nov 2024 10:33:00 +0100
       CHANGELOG
     - echo 10 > debian/compat
-    - echo "(c) 2015-2024 Romeyke @ SLUB Dresden" > debian/copyright
+    - echo "(c) 2015-$(date +%Y) Romeyke @ SLUB Dresden" > debian/copyright
     - cat -e debian/rules
+    - cat -e debian/changelog
+    - cat -e debian/copyright
     - ls -lha ../
     - dpkg-buildpackage -uc -us
     - ls -lha ./
diff --git a/dist.ini b/dist.ini
index b49d1ca..46435f7 100644
--- a/dist.ini
+++ b/dist.ini
@@ -3,7 +3,7 @@ author  = Andreas Romeyke <pause@andreas-romeyke.de>
 license = GPL_3
 copyright_holder = Andreas Romeyke
 copyright_year   = 2023/24
-version = 0.1
+version = 1.1
 
 [@Filter]
 -bundle = @Basic
@@ -18,3 +18,8 @@ exclude_filename = Changes
 ;; will be added by ChangelogFromGit
 exclude_match = .*~$
 exclude_filename = Tools for Technical Analysts.iml
+
+[MinimumPerl]
+; determine minimum perl version
+
+[PkgVersion]
-- 
GitLab