=== modified file 'debian/changelog' --- debian/changelog 2013-11-05 14:53:36 +0000 +++ debian/changelog 2013-11-05 17:31:11 +0000 @@ -1,5 +1,5 @@ joyent-mdata-client (0.1~git2013113.24e0489c67-0ubuntu1) trusty; urgency=low - * Initial packaging (Closes #728749, LP: #248000). + * Initial packaging (Closes #728749, LP: #1248000). -- Ben Howard Mon, 04 Nov 2013 13:19:35 -0700 === modified file 'debian/copyright' --- debian/copyright 2013-11-05 14:53:36 +0000 +++ debian/copyright 2013-11-05 17:48:44 +0000 @@ -1,21 +1,25 @@ -The MIT License (MIT) - -Copyright (c) 2013, Joyent, Inc. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: mdata-client +Upstream-Contact: Joshua M. Clulow +Source: https://github.com/joyent/mdata-client + +Files: * +Copyright: 2013, Joyent, Inc. +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. === modified file 'debian/rules' --- debian/rules 2013-11-05 14:53:36 +0000 +++ debian/rules 2013-11-05 17:47:35 +0000 @@ -3,11 +3,12 @@ DEB_COMMIT=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p' | cut -f3 -d\. ) ORIG_SRC=https://github.com/joyent/mdata-client.git -get-packaged-orig-source: +get-orig-source: echo "$(DEB_VERSION) $(DEB_COMMIT)" - git clone --separate-git-dir=.git $(ORIG_SRC) orig_source - git archive --format=tar.gz $(DEB_COMMIT) \ + git clone $(ORIG_SRC) orig_source + git archive --format=tar.gz --prefix=joyent-mdata-client-$(DEB_VERSION)/ $(DEB_COMMIT) \ -o joyent-mdata-client_$(DEB_VERSION).orig.tar.gz + rm -rf orig_source %: dh $@