[SCM] mediainfo/master: Use file-rename instead of prename
hyperair at users.alioth.debian.org
hyperair at users.alioth.debian.org
Sun Sep 17 16:47:07 UTC 2017
The following commit has been merged in the master branch:
commit bbf26b0776b56c2a4f7a4e5843d333cf766f0eb6
Author: Chow Loong Jin <hyperair at debian.org>
Date: Sun Sep 17 13:04:27 2017 +0800
Use file-rename instead of prename
prename is deprecated
diff --git a/debian/rules b/debian/rules
index 0bf8c6b..d02cb3d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,18 +31,18 @@ override_dh_install:
find debian/mediainfo-gui \
-name MediaInfo\* \
- -exec prename 's/MediaInfo\.(png|svg|xpm)$$/mediainfo.$$1/g' '{}' '+'
+ -exec file-rename 's/MediaInfo\.(png|svg|xpm)$$/mediainfo.$$1/g' '{}' '+'
find debian/mediainfo-gui \
-name \*.desktop \
- -exec prename 's/\.kde[34]\.desktop$$/.desktop/' '{}' '+'
+ -exec file-rename 's/\.kde[34]\.desktop$$/.desktop/' '{}' '+'
find debian/mediainfo-gui/usr/share -type f -exec chmod 0644 '{}' '+'
override_dh_installdocs:
dh_installdocs
- prename 's/ReadMe_.*\.txt$$/README/' debian/*/usr/share/doc/*/ReadMe*
+ file-rename 's/ReadMe_.*\.txt$$/README/' debian/*/usr/share/doc/*/ReadMe*
%.1: %.pod
pod2man --center "User Commands" --release=MediaInfo\ 0.7.52 $< > $@
--
mediainfo packaging
More information about the pkg-multimedia-commits
mailing list