[Git][debian-gis-team/unarr][master] 2 commits: debian: Add a +ds to version because of repacked source.

Alec leamas gitlab at salsa.debian.org
Mon Sep 10 18:19:38 BST 2018


Alec leamas pushed to branch master at Debian GIS Project / unarr


Commits:
21cf965d by Alec Leamas at 2018-09-10T17:06:43Z
debian: Add a +ds to version because of repacked source.

- - - - -
2b130540 by Alec Leamas at 2018-09-10T17:18:37Z
debian: Rephrase package long descriptions.

- - - - -


5 changed files:

- debian/changelog
- debian/control
- debian/copyright
- debian/rules
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-unarr (0~20150801.d1be8c4-1) unstable; urgency=medium
+unarr (0~20150801.d1be8c4+ds-1) unstable; urgency=medium
 
   * Initial release (Closes: #907070)
 


=====================================
debian/control
=====================================
@@ -19,13 +19,14 @@ Section: libdevel
 Depends: libunarr1 (= ${binary:Version}),
          ${misc:Depends}
 Description: Decompression library for RAR, TAR, ZIP and 7z archives (devel)
- Development tools: headers and unversioned libraries
- .
  unarr originated as a port of the RAR extraction features from
  The Unarchiver project required for extracting images from comic
  book archives (.cbr). It was written as an alternative to
  libarchive which didn't have support for parsing filters or solid
- compression at the time. .
+ compression at the time
+ .
+ This package contains development tools: headers and unversioned libraries.
+
 
 Package: libunarr1
 Architecture: any
@@ -37,4 +38,6 @@ Description: Decompression library for RAR, TAR, ZIP and 7z archives (runtime)
  The Unarchiver project required for extracting images from comic
  book archives (.cbr). It was written as an alternative to
  libarchive which didn't have support for parsing filters or solid
- compression at the time. This package holds the runtime library.
+ compression at the time
+ . 
+ This package holds the runtime library.


=====================================
debian/copyright
=====================================
@@ -2,6 +2,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: unarr
 Upstream-Contact: https://github.com/zeniko/unarr/issues
 Source: https://github.com/zeniko/unarr
+Comment: Source repacked to get rid of upstream crlf line endings.
 
 Files: *
 Copyright: 2015, the unarr project authors (see AUTHORS file).


=====================================
debian/rules
=====================================
@@ -13,17 +13,18 @@ override_dh_auto_test:
 
 # Implement get-orig-source to handle upstream's dos line endings.
 VERSION      = $(DEB_VERSION_UPSTREAM)
+BASE_VERSION = $(word 1,$(subst +, ,$(VERSION)))
 
 get-orig-source:
 	rm -rf utmp; mkdir utmp
 	uscan --safe --force-download --compression gzip  --destdir utmp
-	cd utmp; tar xf unarr-$(VERSION).tar.gz
-	cd utmp/unarr-$(VERSION); \
+	cd utmp; tar xf unarr-$(BASE_VERSION).tar.gz
+	cd utmp/unarr-$(BASE_VERSION); \
 	    dos2unix -q $$(find . -name \*.c -o -name \*.h -o -name \*.txt)
 	cd utmp; \
-            mv unarr-$(VERSION) unarr-$(VERSION).orig; \
-	    tar -caf unarr-$(VERSION).orig.tar.gz unarr-$(VERSION).orig
+	    mv unarr-$(BASE_VERSION) unarr-$(VERSION); \
+	    tar -caf unarr-$(VERSION).tar.gz unarr-$(VERSION)
 	mk-origtargz --compression gzip \
                      --rename \
                      --repack \
-            utmp/unarr-$(VERSION).orig.tar.gz && rm -rf utmp
+            utmp/unarr-$(VERSION).tar.gz && rm -rf utmp


=====================================
debian/watch
=====================================
@@ -1,6 +1,7 @@
 version=4 
 
-opts="mode=git,pretty=0~%cd.%h" https://github.com/zeniko/unarr.git HEAD 
+opts="mode=git,pretty=0~%cd.%h,dversionmangle=s/\+ds$//" \
+    https://github.com/zeniko/unarr.git HEAD 
 
 # Issue asking for release tags: 
 # https://github.com/zeniko/unarr/issues/8



View it on GitLab: https://salsa.debian.org/debian-gis-team/unarr/compare/c5284e219c28087ca45f75b3440a23f4cce09c21...2b1305401cdfd329e0a77fcc5743be946a79ebd7

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/unarr/compare/c5284e219c28087ca45f75b3440a23f4cce09c21...2b1305401cdfd329e0a77fcc5743be946a79ebd7
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20180910/c19be836/attachment-0001.html>


More information about the Pkg-grass-devel mailing list