[Pkg-octave-commit] [SCM] octave-communications branch, master, updated. 8c84f6bb84f26aa4d1c38ae6f86e52a683588265
Rafael Laboissiere
rafael at debian.org
Fri May 22 13:20:19 UTC 2009
The following commit has been merged in the master branch:
commit 8c84f6bb84f26aa4d1c38ae6f86e52a683588265
Author: Rafael Laboissiere <rafael at debian.org>
Date: Fri May 22 15:20:15 2009 +0200
Fix permission of some installed *.m scripts
diff --git a/debian/changelog b/debian/changelog
index e9d44a3..bb93891 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,7 +3,9 @@ octave-communications (1.0.9-1) UNRELEASED; urgency=low
* New upstream release
* debian/patches/call-mlock-with-arg.diff: Add patch for making the
package compile against Octave 3.0.5
- * debian/rules: Include patchsys-quilt.mk
+ * debian/rules:
+ + Include patchsys-quilt.mk
+ + Fix permission of some installed *.m scripts
* debian/control:
+ (Build-Depends): Add quilt
+ (Standards-Version): Bump to 3.8.1 (no changes needed)
diff --git a/debian/rules b/debian/rules
index 038c30c..547a5b2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,3 +3,15 @@
include /usr/share/cdbs/1/class/octave-pkg.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+wrongperm = prbs_generator.m prbs_iterator.m prbs_sequence.m
+pkg = communications
+pkgdir = $(CURDIR)/debian/octave-$(pkg)/usr/share/octave/packages/*/$(pkg)-*
+
+install/octave-$(pkg)::
+ # Be sure that the file to be fixed has the wrong permissions.
+ # This will allow us to remove the code below if/when the package
+ # gets fixed upstream.
+ for f in $(wrongperm) ; do \
+ [ -x $(pkgdir)/$$f ] && chmod -x $(pkgdir)/$$f ; \
+ done
--
octave-communications
More information about the Pkg-octave-commit
mailing list