specific question about non-compiled files
OK. Here's a specific situation that I'm having trouble with. I'm trying to work with the instructions in the New Maintainer's Guide, but they're not helping.
There is a PHP library that I maintain at work. It was internally developed, and it's called MSS_Library. In that library are a number of classes and custom Smarty plugins. I've been tasked with updating a couple of things in MSS_Library, and so I've created a deb for it, so that we can put it on all our Debian boxen. Based on the directions in the NMG, and my own experience and Googling, I created a directory '~/src/mss-library-20060804' and placed a Makefile and the MSS_Library tarball inside. I set the 'install' up to install MSS_Library to /usr/share/php, per the draft Debian PHP specs. I ran dh_make in ~/src/mss-library-20060804, and everything was fine. I had a shiny new deb that installed MSS_Library to the right place.
Now I want to update that deb I made with the changes I have since made to MSS_Library. I'm treating this as a new upstream release as per section 9.2 of the NMG, so I copied ~/src/mss-library-20060804 to '~/src/mss-library-20060805', removed the debian/ subdirectory and the build-stamp and configure-stamp files, then tarred it up as
mss-library-20060805.tar.bz2. I then deleted ~/src/mss-library-20060805. I put the new tarball in the old source directory (~/src/mss-library-20060803) and then (again as per the NMG) ran 'uupdate -u mss-library-20060805.tar.bz2
'. It couldn't find the version number, so I added '-v 20060805' to the command line.
I got:
New Release will be 20060805-1.
Symlinking to pristine source from mss-library_20060805.orig.tar.bz2...
-- Untarring the new sourcecode archive mss-library-20060805.tar.bz2
uupdate: could not find diffs from version 20060804-2 to apply!
(Note that I had made a minor revision to 20060804 and updated the changelog accordingly). When I go to the newly-created ~/src/mss-library-20060805, there's no debian/ subdirectory, so dpkg-buildpackage fails.
How do I update this package the Debian way?
Kit
Reply to: