[debian-edu-commits] debian-edu/ 222/437: release 0.0.30-1 to unstable (as non-native package)

Mike Gabriel sunweaver at debian.org
Sun Mar 2 23:49:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository debian-edu-artwork.

commit 4a5d3109185d36dcf8f20b7e7bebf99e4a01bfa6
Author: Vagrant Cascadian <vagrant at freegeek.org>
Date:   Fri May 29 18:53:17 2009 +0000

    release 0.0.30-1 to unstable (as non-native package)
---
 debian/README.source | 21 +++++++++++++++++++++
 debian/changelog     | 12 +++++++-----
 debian/rules         |  6 ++++++
 3 files changed, 34 insertions(+), 5 deletions(-)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..cfa9d7c
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,21 @@
+newer versions are released as a non-native package. if making changes outside
+of the "debian" dir in the source, you need to release a new upstream version.
+to do so, commit your changes to svn and use the new-upstream-version target in
+debian/rules:
+
+  debian/rules new-upstream-version
+
+this will create an upstream source tarball and a .dsc file, which can then be
+built in a clean chroot environment such as pbuilder:
+
+  pbuilder --build debian-edu-artwork_VERSION.dsc
+
+if only making changes to the "debian" dir, download the previous .dsc from a
+debian mirror and copy the debian dir from svn into it:
+
+  dget -x http://ftp.us.debian.org/debian/pool/main/d/debian-edu-artwork/debian-edu-artwork_VERSION.dsc
+  rm -rf debian-edu-artwork-VERSION/debian
+  svn export debian debian-edu-artwork-VERSION/debian
+  cd debian-edu-artwork-VERSION
+  debuild -us -uc -S
+  pbuilder --build ../debian-edu-artwork_VERSION.dsc
diff --git a/debian/changelog b/debian/changelog
index 3802a2b..3c73af2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,13 +1,15 @@
-debian-edu-artwork (0.0.30~svn0) unstable; urgency=low
-
-  * Continue development. _After_ uploading this version, merge it with
-    previous 0.0.30~svn* versions.
+debian-edu-artwork (0.0.30-1) unstable; urgency=low
 
   [ Vagrant Cascadian ]
   * debian-edu-artwork-usplash: fix failure in postinst when update-initramfs
     is not present by using full if statement rather than a one-liner.
+  * switch to non-native package (Closes: #474463)
+    - add new-upstream-version target to debian/rules to generate upstream
+      tarballs
+    - add README.source explaining how to generate new upstream tarball, or
+      only make changes to the debian revision.
 
- -- Vagrant Cascadian <vagrant at freegeek.org>  Thu, 28 May 2009 13:29:48 -0700
+ -- Vagrant Cascadian <vagrant at freegeek.org>  Fri, 29 May 2009 11:27:48 -0700
 
 debian-edu-artwork (0.0.29) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index 989eeee..a7c3a68 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,3 +17,9 @@ install/debian-edu-artwork::
 binary-install/debian-edu-artwork::
 	cd debian/debian-edu-artwork/usr/share/gconf/defaults && \
                 mv 50_debian-edu-artwork 50_debian-edu-artwork.entries 
+
+new-upstream-version:
+	svn export . $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)
+	GZIP=--best tar czf $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz --exclude=debian $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)
+	(cd $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION) ; debuild -us -uc -S)
+	rm -rf $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-artwork.git



More information about the debian-edu-commits mailing list