summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-12-23 00:49:21 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-12-23 00:49:58 +0100
commit71490c1e95583444d9145ce7433a38f3784f2665 (patch)
tree3760a505fbbb8eb2ccd2b95c5027e25448697416
parentb5513e46175d0c5ed7402f69cdb39e164ded3c74 (diff)
downloadtde-packaging-71490c1e.tar.gz
tde-packaging-71490c1e.zip
DEB basket: Add the missing '.tdepkginfo' generation in debian-tde.mk.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit ee07bdff05f47e1d1fa81ac84ccd9e9c1521ff7c)
-rw-r--r--debian/_base/applications/basket/debian/cdbs/debian-tde.mk9
-rw-r--r--ubuntu/_base/applications/basket/debian/cdbs/debian-tde.mk9
2 files changed, 18 insertions, 0 deletions
diff --git a/debian/_base/applications/basket/debian/cdbs/debian-tde.mk b/debian/_base/applications/basket/debian/cdbs/debian-tde.mk
index 7a55130b2..641c6c6cc 100644
--- a/debian/_base/applications/basket/debian/cdbs/debian-tde.mk
+++ b/debian/_base/applications/basket/debian/cdbs/debian-tde.mk
@@ -113,6 +113,14 @@ ifndef _cdbs_class_cmake
endif
debian/rules clean
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
common-build-arch:: debian/stamp-man-pages
debian/stamp-man-pages:
if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
@@ -212,6 +220,7 @@ ifndef _cdbs_class_cmake
subdirs; \
fi
endif
+ rm -f .tdepkginfo
rm -f debian/stamp-kde-apidox
rm -f debian/stamp-cvs-make
diff --git a/ubuntu/_base/applications/basket/debian/cdbs/debian-tde.mk b/ubuntu/_base/applications/basket/debian/cdbs/debian-tde.mk
index 7a55130b2..641c6c6cc 100644
--- a/ubuntu/_base/applications/basket/debian/cdbs/debian-tde.mk
+++ b/ubuntu/_base/applications/basket/debian/cdbs/debian-tde.mk
@@ -113,6 +113,14 @@ ifndef _cdbs_class_cmake
endif
debian/rules clean
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
common-build-arch:: debian/stamp-man-pages
debian/stamp-man-pages:
if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
@@ -212,6 +220,7 @@ ifndef _cdbs_class_cmake
subdirs; \
fi
endif
+ rm -f .tdepkginfo
rm -f debian/stamp-kde-apidox
rm -f debian/stamp-cvs-make