commit 3fd8c82a5ad88edc7b029242a1b99379fd5cf517e32331893a24a31d84117173 Author: Wojtek Dziewięcki Date: Fri Sep 7 06:52:46 2012 +0000 Accepting request 127343 from home:flichtenheld:deb-split split the deb package. See http://lists.opensuse.org/opensuse-factory/2012-06/msg00963.html for context OBS-URL: https://build.opensuse.org/request/show/127343 OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/devscripts?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/devscripts-2.11.7-buildfix.patch b/devscripts-2.11.7-buildfix.patch new file mode 100644 index 0000000..b650bee --- /dev/null +++ b/devscripts-2.11.7-buildfix.patch @@ -0,0 +1,80 @@ +diff -ur devscripts-2.11.7.orig/Makefile devscripts-2.11.7/Makefile +--- devscripts-2.11.7.orig/Makefile 2012-05-07 02:08:21.000000000 +0200 ++++ devscripts-2.11.7/Makefile 2012-06-27 01:25:57.172666259 +0200 +@@ -11,7 +11,7 @@ + DOCDIR ?= $(PREFIX)/share/doc/devscripts + MAN1DIR ?= $(PREFIX)/share/man/man1 + +-all: version make_scripts $(EXAMPLES) translated_manpages ++all: version scripts $(EXAMPLES) + + version: + rm -f version +@@ -40,7 +40,7 @@ + install: all install_scripts + cp -a $(PERL_MODULES) $(DESTDIR)$(PERLMOD_DIR) + cp $(EXAMPLES) $(DESTDIR)$(EXAMPLES_DIR) +- install -D README $(DESTDIR)$(DOCDIR)/README ++ install -D -m644 README $(DESTDIR)$(DOCDIR)/README + install -dD $(DESTDIR)$(MAN1DIR) + cp doc/*.1 $(DESTDIR)$(MAN1DIR) + ln -sf edit-patch.1 $(DESTDIR)$(MAN1DIR)/add-patch.1 +diff -ur devscripts-2.11.7.orig/Makefile.common devscripts-2.11.7/Makefile.common +--- devscripts-2.11.7.orig/Makefile.common 2012-05-07 02:08:21.000000000 +0200 ++++ devscripts-2.11.7/Makefile.common 2012-06-27 01:25:57.173666386 +0200 +@@ -6,3 +6,4 @@ + PERLMOD_DIR = /usr/share/devscripts + EXAMPLES_DIR = /usr/share/devscripts + ++XSL_STYLESHEET = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl +diff -ur devscripts-2.11.7.orig/po4a/Makefile devscripts-2.11.7/po4a/Makefile +--- devscripts-2.11.7.orig/po4a/Makefile 2012-05-07 02:08:21.000000000 +0200 ++++ devscripts-2.11.7/po4a/Makefile 2012-06-27 01:25:57.175666640 +0200 +@@ -22,8 +22,7 @@ + podchecker $< + pod2man --utf8 --center=" " --release="Utilitaires Debian" $< > $@ + fr/%.fr.1: fr/%.fr.dbk translate +- xsltproc --nonet -o $@ \ +- /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $< ++ xsltproc --nonet -o $@ $(XSL_STYLESHEET) $< + # xsltproc writes out to foo.1 even if you tell it to do otherwise, so we have + # to rename the file after it's generated + mv fr/$*.1 $@ +diff -ur devscripts-2.11.7.orig/scripts/Makefile devscripts-2.11.7/scripts/Makefile +--- devscripts-2.11.7.orig/scripts/Makefile 2012-05-07 02:08:21.000000000 +0200 ++++ devscripts-2.11.7/scripts/Makefile 2012-06-27 01:26:52.589709476 +0200 +@@ -24,7 +24,7 @@ + LIBDIR = /usr/lib/devscripts + BIN_LIBDIR = /usr/lib/devscripts + +-all: $(SCRIPTS) $(GEN_MAN1S) $(LIBS) $(CWRAPPERS) $(COMPLETION) ++all: $(SCRIPTS) $(GEN_MAN1S) $(LIBS) $(CWRAPPERS) + + $(VERSION_FILE): + $(MAKE) -C .. version +@@ -36,7 +36,6 @@ + bash -n $@ + %.tmp: %.pl $(VERSION_FILE) + sed -e "s/###VERSION###/$(VERSION)/" $< > $@ +- perl -I.. -c $@ + %: %.tmp + cp $< $@ + chmod +x $@ +@@ -45,8 +44,7 @@ + podchecker $< + pod2man --utf8 --center=" " --release="Debian Utilities" $< > $@ + %.1: %.dbk +- xsltproc --nonet -o $@ \ +- /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $< ++ xsltproc --nonet -o $@ $(XSL_STYLESHEET) $< + + # There is a slight chance this gets called twice, once here from here and once + # from ../po4a/Makefile. Treat files with care. +@@ -82,7 +80,6 @@ + ln -sf edit-patch $(DESTDIR)$(BINDIR)/add-patch + cp $(LIBS) $(DESTDIR)$(LIBDIR) + install -dD $(DESTDIR)/etc/bash_completion.d +- cp $(COMPLETION) $(DESTDIR)/etc/bash_completion.d + # Special treatment for debpkg + install -dD $(DESTDIR)$(PERLMOD_DIR) + mv $(DESTDIR)$(BINDIR)/debpkg $(DESTDIR)$(PERLMOD_DIR) diff --git a/devscripts-2.11.7-debcommit-hg16.patch b/devscripts-2.11.7-debcommit-hg16.patch new file mode 100644 index 0000000..f9b254d --- /dev/null +++ b/devscripts-2.11.7-debcommit-hg16.patch @@ -0,0 +1,15 @@ +Index: devscripts-2.11.7/scripts/debcommit.pl +=================================================================== +--- devscripts-2.11.7/scripts/debcommit.pl.orig 2011-02-19 17:23:31.000000000 +0100 ++++ devscripts-2.11.7/scripts/debcommit.pl 2011-03-16 09:47:07.033357951 +0100 +@@ -584,7 +584,9 @@ + else { + die "debcommit: unknown program $prog"; + } +- die "debcommit: commit failed\n" if (! $action_rc); ++ # mercurial 1.6 returns failure if nothing is to be committed ++ # but we still want to continue with tagging ++ die "debcommit: commit failed\n" if (! $action_rc) && (! $release); + } + + sub tag { diff --git a/devscripts-2.11.7-remove-install-layout-deb.patch b/devscripts-2.11.7-remove-install-layout-deb.patch new file mode 100644 index 0000000..7af05c6 --- /dev/null +++ b/devscripts-2.11.7-remove-install-layout-deb.patch @@ -0,0 +1,12 @@ +diff -urN devscripts-2.11.7.orig/scripts/Makefile devscripts-2.11.7/scripts/Makefile +--- devscripts-2.11.7.orig/scripts/Makefile 2012-05-21 20:25:34.530645434 +0800 ++++ devscripts-2.11.7/scripts/Makefile 2012-05-21 20:25:52.685418466 +0800 +@@ -76,7 +76,7 @@ + $(foreach python,$(shell pyversions -r ../debian/control),$(python) setup.py test$(\n)) + + install: all +- python setup.py install --root="$(DESTDIR)" --no-compile --install-layout=deb ++ python setup.py install --root="$(DESTDIR)" --no-compile --prefix=/usr + install -dD $(DESTDIR)$(BINDIR) $(DESTDIR)$(LIBDIR) + cp $(SCRIPTS) $(DESTDIR)$(BINDIR) + ln -sf edit-patch $(DESTDIR)$(BINDIR)/add-patch diff --git a/devscripts-old-File-Path.patch b/devscripts-old-File-Path.patch new file mode 100644 index 0000000..15111cc --- /dev/null +++ b/devscripts-old-File-Path.patch @@ -0,0 +1,47 @@ +diff -ur devscripts-2.11.7.orig/scripts/chdist.pl devscripts-2.11.6/scripts/chdist.pl +--- devscripts-2.11.7.orig/scripts/chdist.pl 2011-09-26 10:38:05.000000000 +0200 ++++ devscripts-2.11.7/scripts/chdist.pl 2012-04-15 00:39:40.000000000 +0200 +@@ -130,7 +130,7 @@ + use warnings; + use feature 'switch'; + use File::Copy qw(cp); +-use File::Path qw(make_path); ++use File::Path qw(mkpath); + use File::Basename; + use Getopt::Long qw(:config gnu_compat bundling require_order); + use Cwd qw(abs_path cwd); +@@ -319,11 +319,11 @@ + if (-d $dir) { + fatal("$dir already exists, exiting."); + } +- make_path($datadir); ++ mkpath($datadir); + foreach my $d (('/etc/apt', '/etc/apt/apt.conf.d', '/etc/apt/preferences.d', + '/etc/apt/trusted.gpg.d', '/var/lib/apt/lists/partial', + '/var/cache/apt/archives/partial', '/var/lib/dpkg')) { +- make_path("$dir/$d"); ++ mkpath("$dir/$d"); + } + + # Create sources.list +diff -ur devscripts-2.11.7.orig/scripts/debsnap.pl devscripts-2.11.6/scripts/debsnap.pl +--- devscripts-2.11.7.orig/scripts/debsnap.pl 2012-02-26 19:53:51.000000000 +0100 ++++ devscripts-2.11.7/scripts/debsnap.pl 2012-04-15 00:40:00.000000000 +0200 +@@ -21,7 +21,7 @@ + use Getopt::Long qw(:config gnu_getopt); + use File::Basename; + use Cwd qw/cwd abs_path/; +-use File::Path qw/make_path/; ++use File::Path qw/mkpath/; + use Dpkg::Version; + + my $progname = basename($0); +@@ -231,7 +231,7 @@ + fatal "Destination dir $opt{destdir} already exists.\nPlease (re)move it first, or use --force to overwrite."; + } + } +-make_path($opt{destdir}); ++mkpath($opt{destdir}); + + my $json_text = fetch_json_page($baseurl); + unless ($json_text && @{$json_text->{result}}) { diff --git a/devscripts-pod2man-no-utf8.patch b/devscripts-pod2man-no-utf8.patch new file mode 100644 index 0000000..1f3f935 --- /dev/null +++ b/devscripts-pod2man-no-utf8.patch @@ -0,0 +1,12 @@ +diff -ur devscripts-2.11.7.orig/scripts/Makefile devscripts-2.11.6/scripts/Makefile +--- devscripts-2.11.7.orig/scripts/Makefile 2012-04-28 20:50:58.885379591 +0200 ++++ devscripts-2.11.7/scripts/Makefile 2012-04-28 20:48:18.194956664 +0200 +@@ -42,7 +42,7 @@ + + %.1: %.pl + podchecker $< +- pod2man --utf8 --center=" " --release="Debian Utilities" $< > $@ ++ pod2man --center=" " --release="Debian Utilities" $< > $@ + %.1: %.dbk + xsltproc --nonet -o $@ $(XSL_STYLESHEET) $< + diff --git a/devscripts.changes b/devscripts.changes new file mode 100644 index 0000000..32b86dc --- /dev/null +++ b/devscripts.changes @@ -0,0 +1,833 @@ +------------------------------------------------------------------- +Fri Jul 6 21:56:48 UTC 2012 - frank.lichtenheld@sophos.com + +- no need to depend on a specific perl version + +------------------------------------------------------------------- +Tue Jun 26 23:34:32 UTC 2012 - frank.lichtenheld@sophos.com + +- fix build on Fedora +* fix path to XSL stylesheets +* build require dpkg-devel since dpkg-parsechangelog + is in there in Fedora +* do not pretend that the Makefile honors %_libexecdir +- fix scripts that use File::Path on SLE 11 + +------------------------------------------------------------------- +Tue Jun 26 22:11:12 UTC 2012 - frank.lichtenheld@sophos.com + +- package devscripts separately + +------------------------------------------------------------------- +Mon May 21 03:31:50 UTC 2012 - i@marguerite.su + +- update to dpkg-1.16.3 + * see http://packages.debian.org/changelogs/pool/main/d/dpkg/dpkg_1.16.3/changelog +- update to debhelper 9.20120518 + * Fix versioned dependency on dpkg for xz options. Closes: #672895 + * dh_link: Doc improvement. Closes: #672988 +- update to devscripts-2.11.7 + * see http://packages.debian.org/changelogs/pool/main/d/devscripts/devscripts_2.11.7/changelog +- reworked patch. remove version for archtable. for it's universal. +- add dh_make 0.60 + * see http://packages.debian.org/changelogs/pool/main/d/dh-make/dh-make_0.60/changelog +- add dh_autoreconf 6 + * see http://packages.debian.org/changelogs/pool/main/d/dh-autoreconf/dh-autoreconf_6/changelog + +------------------------------------------------------------------- +Thu May 3 20:23:11 UTC 2012 - frank.lichtenheld@sophos.com + +- install missing parts of devscripts +* install man pages installed by debian/manpages +* install symlinks installed by debian/links + +------------------------------------------------------------------- +Sun Jan 29 20:54:50 UTC 2012 - frank.lichtenheld@sophos.com + +- update to dpkg-1.15.8.12 +* Do not fail to unpack shared directories missing on the file system + from packages being replaced by other packages. Debian Bug #631808 +* Defer hardlink renames so that there's never a point were the new + file contents are accessible from the final path before they have + been fsync()ed and cannot be executed causing ETXTBSY when trying + to open the to be installed paths for writing. Debian Bug #635683 +* Add armhf support to ostable and triplettable. + Debian Bugs #594179, #639674 + +------------------------------------------------------------------- +Tue Dec 20 20:15:25 UTC 2011 - coolo@suse.com + +- remove call to suse_update_config (very old work around) + +------------------------------------------------------------------- +Sat Nov 26 00:18:57 UTC 2011 - frank.lichtenheld@sophos.com + +- update to dpkg-1.15.8.11 +* Do not segfault on "dpkg -i --no-act". +* Fix typo in "dpkg-name --overwrite" argument parsing so that it actually + works at all. Ubuntu Bug #728708 +* Fix dpkg-split to not corrupt binary part metadata when generating the + split packages on 32-bit systems. +* Fix a regression in dpkg-divert where using --rename led to a failure when + the rename implies crossing file systems. + +------------------------------------------------------------------- +Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de + +- Remove redundant tags/sections from specfile + (cf. packaging guidelines) +- Use %_smp_mflags for parallel build + +------------------------------------------------------------------- +Thu Mar 31 11:39:18 UTC 2011 - flichtenheld@astaro.com + +- Merge openSUSE:Tools changes with system:packagemanager changes + +------------------------------------------------------------------- +Thu Mar 17 15:32:12 UTC 2011 - mvyskocil@suse.cz + +- split the u-a to separate spec file to reduce a build cycle + +------------------------------------------------------------------- +Wed Mar 16 09:07:15 UTC 2011 - mvyskocil@suse.cz + +- update to dpkg-1.15.8.10 +- update to debhelper-7.5.17 +- update to devscripts-2.10.71 +- see /usr/share/doc/packages/deb/*/changelog for details +- build and install update-alternatives as separate subpackage +- add download urls to source tags +- remove pushd/popd madness in %prep, use only one cd .. +- convert sed archtable hackery to patch and refresh patches +- rewrite a architecture mugging in config.h to be more readable + +------------------------------------------------------------------- +Fri Jan 28 14:17:27 UTC 2011 - adrian@suse.de + +- fix build on old distros + +------------------------------------------------------------------- +Fri Jan 28 12:57:25 UTC 2011 - flichtenheld@astaro.com + +- install missing debhelper files + - install dh + - install Debian/Debhelper/Buildsystem/*.pm + +------------------------------------------------------------------- +Thu Jul 29 23:38:02 CEST 2010 - wolfgang.rosenauer@basyskom.de + +- make 'debcommit -r' work with mercurial 1.6 + +------------------------------------------------------------------- +Fri Apr 9 09:23:40 UTC 2010 - puzel@novell.com + +- update to dpkg-1.15.6.1 +- update to debhelper-7.4.17 +- update to devscripts-2.10.62 + - see /usr/share/doc/packages/deb/*/changelog for details +- split deb-devel subpackage + +------------------------------------------------------------------- +Fri Feb 19 11:24:07 UTC 2010 - puzel@novell.com + +- update to dpkg-1.15.5.6 +- update to debhelper-7.4.15 +- update to devscripts-2.10.61 + - see /usr/share/doc/packages/deb/*/changelog for details + +------------------------------------------------------------------- +Wed Jan 6 04:37:36 UTC 2010 - jengelh@medozas.de + +- enable parallel building with smp_mflags + +------------------------------------------------------------------- +Fri Dec 18 09:06:00 UTC 2009 - wr@rosenauer.org + +- try to fix older dists + +------------------------------------------------------------------- +Wed Nov 25 12:01:33 UTC 2009 - puzel@novell.com + +- update to dpkg-1.15.5.2, debhelper-7.4.8, devscripts-2.10.58 + - huge number of changelogs - please see appropriate changelogs + for details: + - /usr/share/doc/packages/deb/debhelper/changelog + - /usr/share/doc/packages/deb/dpkg/changelog + + +------------------------------------------------------------------- +Thu Nov 12 09:14:55 UTC 2009 - wr@rosenauer.org + +- include devscripts-2.10.55 +- add sensible-editor helper script + +------------------------------------------------------------------- +Thu Aug 13 13:01:58 UTC 2009 - puzel@novell.com + +- update to debhelper-7.3.12 + * dh: Allow creation of new sequences (such as to handle a patch + target for quilt), by adding an add_command function to the + sequence addon interface. + * perl_build: Fix Build check to honor source directory setting. + * perl_build: Avoid failing if forced to be used in dh_auto_clean + when Build does not exist (ie due to being run twice in a row). + * dh_builddeb: Fix man page typo. + * dh_installdeb: In udeb mode, support the menutest and isinstallable + maintainer scripts. + +------------------------------------------------------------------- +Tue Aug 4 09:54:08 CEST 2009 - puzel@novell.com + +- update to debhelper-7.3.9 + * cmake: Avoid forcing rpath off as this can break some test suites. + It gets stripped by cmake at install time. + +------------------------------------------------------------------- +Mon Jul 27 10:28:40 CEST 2009 - puzel@novell.com + +- update to debhelper-7.3.8 + * First upload of buildsystems support to unstable. + Summary: Adds --buildsystem (modular, OO buildsystem classes), + --sourcedirectory, --builddirectory, and support for cmake + and ant. + * python_distutils buildsystem: Build for all supported Python + versions that are installed. Ensure that correct shebangs are + created by using `python' first during build and install. + Also build with python*-dbg if the package build-depends + on them. + +------------------------------------------------------------------- +Thu Jul 16 12:24:58 CEST 2009 - puzel@novell.com + +- update to debhelper-7.3.4 + * Add a versioned dep on perl-base, to get a version that supports + GetOptionsFromArray. + * dh_install: Fix support for the case where --sourcedir=debian/tmp/foo + is used. Perl was not being greedy enough and the 'foo' was not stripped + from the destination directory in this unusual case. + * dh_install: Fix support for the case where debian/tmp is + explicitly specified in filename paths despite being searched by + default. + * dh_install: Add test suite covering the last 5 bugs. + +------------------------------------------------------------------- +Fri Jul 3 10:48:44 CEST 2009 - puzel@novell.com + +- update to debhelper-7.3.1 + * Modular object oriented dh_auto_* buildsystem support, + contributed by Modestas Vainius + - dh_auto_* --sourcedirectory can now be used to specify a source + directory if sources and/or the whole buildsystem lives elsewhere + than the top level directory. + - dh_auto_* --builddirectory can now be used to specify a build + directory to use for out of source building, for build systems + that support it. + - dh_auto_* --buildsystem can now be used to override the autodetected + build system, or force use of a third-party class. + - dh_auto_* --list can be used to list available and selected build + systems. + - Adds support for cmake. + - For the perl_build build system, Build is used consistently + instead of falling back to using the generated Makefile. + - Historical dh_auto_* behavior should be preserved despite these + large changes.. + * Move two more command-specific options to only be accepted by the commands + that use them. The options are: + --sourcedir, --destdir + If any third-party debhelper commands use either of the above options, + they will be broken, and need to be changed to pass options to init(). + * Make dh not complain about unknown, command-specific options passed to it, + and further suppress warnings about such options it passes on to debhelper + commands. This was attempted incompletely before in version 7.2.17. + * dh_install: Fix installation of entire top-level directory + from debian/tmp. + * dh_install: Handle correctly the case where a glob expands to + a dangling symlink, installing the dangling link as requested. + * dh_install: Fix fallback use of debian/tmp in v7 mode; a bug caused + it to put files inside a debian/tmp directory in the package build + directory, now that prefix is stripped. + * dh_shlibdeps: Ensure DEBIAN directory exists, as dpkg-shlibdeps + prints a confusing warning if it does not. + * dh_auto_install: Pass --install-layout=deb to setup.py + to support python 2.6. + * Allow command-specific options to be passed to commands + via dh without causing other commands to emit a getopt + warning or deprecation message. + * dh_installinfo: No longer inserts install-info calls into + maintainer scripts, as that is now triggerized. Adds a dependency + via misc:Depends to handle partial upgrades. Note that while + dh_installinfo already required that info files had a INFO-DIR-SECTION, + the new system also requires they have START-INFO-DIR-ENTRY and + END-INFO-DIR-ENTRY for proper registration. I assume there will be + some mass bug filing for any packages that do not have that. + +------------------------------------------------------------------- +Fri Jun 12 09:03:44 CEST 2009 - puzel@suse.cz + +- update to debhelper-7.2.16 + * dh_gconf: Add missed half of postrm fragment removal. + +------------------------------------------------------------------- +Thu Jun 11 11:33:32 CEST 2009 - puzel@suse.cz + +- update to debhelper-7.2.15 + * dh_strip, dh_shlibdeps: Add support for OCaml shared libraries. + * dh_compress: Avoid compressing .svg and .sgvz files, since these + might be used as images on a html page, and also to avoid needing + to special case the .svgz extension when compressing svg. + * dh_scrollkeeper: Now a deprecated no-op. + * dh_gconf: Remove postrm fragment that handled schema migration + from /etc to /usr. + +------------------------------------------------------------------- +Thu May 21 12:11:37 CEST 2009 - puzel@suse.cz + +- update to debhelper-7.2.14 + * dh: Avoid writing log after override_dh_clean is run. + * dh_auto_configure: Pass --skipdeps safely via PERL_AUTOINSTALL. + * dh_auto_configure: Revert --skipdeps change + +------------------------------------------------------------------- +Wed May 13 12:05:11 CEST 2009 - puzel@suse.cz + +- update to debhelper-7.2.11 + * dh: Support --with addon,addon,... + * dh_auto_configure: Add --skipdeps when running Makefile.PL, + to prevent Module::Install from trying to download dependencies. + * Support debian/foo.os files to suppliment previous debian/foo.arch + file support. + +------------------------------------------------------------------- +Mon May 11 14:56:30 CEST 2009 - puzel@suse.cz + +- update to debhelper-7.2.10 + * Close COMPAT_IN filehandle. + * dh_auto_configure: Clarify man page re adding configure + parameters. + * dh_auto_configure: Pass packlist=0 when running Makefile.PL, + in case it is a Build.PL passthru, to avoid it creating + the .packlist file. + +------------------------------------------------------------------- +Wed May 6 15:50:23 CEST 2009 - puzel@suse.cz + +- update to debhelper-7.2.9 + * dh_fixperms: Ensure lintian overrides are mode 644. + * dh_fixperms: Fix permissions of OCaml .cmxs files. + * dh: Add --without to allow disabling sequence addons (particularly + useful to disable the default python-support addon). +- split -lang subpackage + +------------------------------------------------------------------- +Tue Apr 21 15:56:49 CEST 2009 - puzel@suse.cz + +- update to debhelper-7.2.8 + * dh_desktop: Now a deprecated no-op, since desktop-file-utils + uses triggers. + * Move dh sequence documentation to PROGRAMMING. + +------------------------------------------------------------------- +Thu Apr 16 11:55:35 CEST 2009 - puzel@suse.cz + +- update to debhelper-7.2.7 + * fix calling the same helper for separate packages in the override of dh + binary-indep/binary-arch + * add --remaining-packages option + * dh_icons: ignore gnome and hicolor themes (will be handled + by triggers) + +------------------------------------------------------------------- +Mon Apr 6 15:23:19 CEST 2009 - puzel@suse.cz + +- add a hack to detect architecture correctly (bnc#469337) + +------------------------------------------------------------------- +Mon Mar 16 16:43:15 CET 2009 - puzel@suse.cz + +- update to debhelper-7.2.6 + * examples files updated to add dh_bugfiles, remove obsolete + dh_python + * dh_auto_test: Support DEB_BUILD_OPTIONS=nocheck + * set MODULEBUILDRC=/dev/null when running perl Build scripts + to avoid ~/.modulebuildrc influencing the build + * dh_installmenus: Revert removal of update-menus calls + +------------------------------------------------------------------- +Mon Mar 9 17:40:28 CET 2009 - puzel@suse.cz + +- update to debhelper-7.2.4 + * dh_makeshlibs: Fix --add-udeb, for real + * dh_installmenus: Now that a triggers capable menu and dpkg are in + stable, menu does not need to be explicitly run in maintainer + scripts, except for packages with menu-methods files. + * dh_installdocs: No longer add maintainer script code to call + doc-base, as it supports triggers in stable. + * dh_bugfiles: New program, contributed by Modestas Vainius. + * dh: Override LC_ALL, not LANG. + * dh_installchangelogs: Support -X to exclude automatic installation + of specific upstream changelogs. + * Compat level 4 is now deprecated. + * dh_makeshlibs: Re-add --add-udeb support. + * dh_shlibdeps: Remove --add-udeb switch (was accidentially added here). + +------------------------------------------------------------------- +Thu Mar 5 15:26:28 CET 2009 - puzel@suse.cz + +- update to debhelper-7.2.2 + * dh_installmodules: Give files in /etc/modprobe.d a .conf + syntax, as required by new module-init-tools. + * dh_installmodules: Add preinst and postinst code to handle + cleanly renaming the modprobe.d files on upgrade. + * Two updates to conffile moving code from wiki: + - Support case where the conffile name is a substring of another + conffile's name. + - Support case where dpkg-query says the file is obsolete. + +------------------------------------------------------------------- +Tue Mar 3 10:10:53 CET 2009 - puzel@suse.cz + +- update to dpkg-1.15.0 and debhelper-7.2.1 + - huge number of changes, please see + /usr/share/doc/packages/deb/dpkg/changelog and + /usr/share/doc/packages/deb/debhelper/changelog + for details + +------------------------------------------------------------------- +Tue Jan 20 10:01:33 CET 2009 - puzel@suse.cz + +- partially revert change from Aug 12 2008 (bnc#467332) + +------------------------------------------------------------------- +Thu Dec 18 13:48:25 CET 2008 - puzel@suse.cz + +- update debhelper to 7.1.1 + * dh_install(1): Order options alphabetically. + * Fix some docs that refered to --srcdir rather than --sourcedir. + * Add Vcs-Browser field. + * Ignore unknown options in DH_OPTIONS. + +------------------------------------------------------------------- +Wed Oct 29 17:28:46 CET 2008 - puzel@suse.cz + +- update debhelper to 7.1.0 + * dh_installchangelogs: Fall back to looking for changelog files ending + with ".txt". + * dh_gencontrol: Ensure misc:Depends is set in substvars to avoid dpkg + complaining about it when it's empty. + * dh: Fix typo in example. + * Allow individual debhelper programs to define their own special options + by passing a hash to init(), which is later passed on the Getopt::Long. + * Move many command-specific options to only be accepted by the command + that uses them. Affected options are: + -x, -r, -R, -l, -L, -m, + --include-conffiles, --no-restart-on-upgrade, --no-start, + --restart-after-upgrade, --init-script, --filename, --flavor, --autodest, + --libpackage, --add-udeb, --dpkg-shlibdeps-params, + --dpkg-gencontrol-params, --update-rcd-params, --major, --remove-d, + --dirs-only, --keep-debug, --version-info, --list-missing, --fail-missing, + --language, --until, --after, --before, --remaining, --with + * If any third-party debhelper commands use any of the above options, + they will be broken, and need to be changed to pass options to init(). + * To avoid breaking rules files that pass options to commands that do not + use them, debhelper will now only warn if it encounters an unknown + option. This will be converted back to an error later. + +------------------------------------------------------------------- +Tue Sep 16 18:07:44 CEST 2008 - mrueckert@suse.de + +- do not package update-alternatives it conflicts with the required + package update-alternatives + +------------------------------------------------------------------- +Tue Sep 2 13:56:11 CEST 2008 - prusnak@suse.cz + +- updated to 1.14.21 + * lots of fixes - see ChangeLog +- enabled SELinux support [Fate#303662] + +------------------------------------------------------------------- +Mon Sep 1 14:02:20 CEST 2008 - puzel@suse.cz + +- update debhelper to 7.0.17 + * dh_auto_install: Fix man page, was referring to dh_auto_clean. + * dh_gencontrol: Drop the Homepage field from udebs. Closes debian bug #492719 + * Typo. Closes debian bug #493062 + * dh_auto_install: Improve check for MakeMaker, to avoid passing PREFIX + if the Makefile was generated by Module::Build::Compat. Closes debian bug #496157 + +------------------------------------------------------------------- +Tue Aug 12 11:29:14 CEST 2008 - puzel@suse.cz + +- fix paths + * install perl stuff to %{perl_vendorlib}/Debian where it is + expected by alien + +------------------------------------------------------------------- +Mon Aug 11 13:21:25 CEST 2008 - coolo@suse.de + +- fix paths + +------------------------------------------------------------------- +Mon Jul 21 11:18:02 CEST 2008 - puzel@suse.cz + +- update debhelper to 7.0.16 + * dh: Avoid passing --with on to subcommands. Closes debian bug #490886 + * dh_installchangelogs: When searching for changelog in v7 mode, skip + empty files. Closes debian bug #490937 + +------------------------------------------------------------------- +Fri Jul 18 13:10:50 CEST 2008 - puzel@suse.cz + +- update debhelper to 7.0.15 + * dh_clean: Do not delete *-stamp files in -k mode in v7. Closes debian bug #489918 + +------------------------------------------------------------------- +Tue Jul 8 11:20:11 CEST 2008 - puzel@suse.cz + +- update debhelper to 7.0.14 + * load python-support sequence file first, to allow ones loaded later to disable it + +------------------------------------------------------------------- +Mon Jul 7 13:49:46 CEST 2008 - puzel@suse.cz + +- update dpkg to 1.14.19 + * a lot of changes and bugfixes + * for complete changelog see program sources or + /usr/share/doc/packages/deb/dpkg/changelog + * removed dpkg-gcc4.patch - compiles fine without it + * removed dpkg-make.patch, dpkg-automake.diff, dpkg-strip.patch + * not needed anymore because of heavy changes in the build system + * removed dpkg_1.10.23-doc.patch - fixed in upstream +- update debhelper to 7.0.13 + * a lot of changes and bugfixes + * for complete changelog see program sources or + /usr/share/doc/packages/deb/debhelper/changelog + * debhelper-no-localized-manpages.diff - do not use po4a to generate + localized documentation +- dpkg is now built by configure/make +- debhelper is now built by make + +------------------------------------------------------------------- +Thu Jul 26 18:04:30 CEST 2007 - dmueller@suse.de + +- remove config.guess dependency completely + +------------------------------------------------------------------- +Tue Jul 24 14:52:04 CEST 2007 - dmueller@suse.de + +- link the config.guess from automake + +------------------------------------------------------------------- +Sun Apr 22 22:37:02 CEST 2007 - ro@suse.de + +- use texlive for building + +------------------------------------------------------------------- +Fri Mar 30 08:49:13 CEST 2007 - aj@suse.de + +- Adjust BuildRequires. + +------------------------------------------------------------------- +Fri Aug 18 14:44:34 CEST 2006 - aj@suse.de + +- Fix build with new make. + +------------------------------------------------------------------- +Wed Jan 25 21:35:25 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Fri Jan 13 13:12:52 CET 2006 - schwab@suse.de + +- Don't strip binaries. + +------------------------------------------------------------------- +Wed Dec 21 01:21:54 CET 2005 - ro@suse.de + +- remove unpackaged symlinks + +------------------------------------------------------------------- +Thu Sep 8 14:49:24 CEST 2005 - mjancar@suse.cz + +- package missing dpkg-{architecture,scanpackages,scansources} (#106239) + +------------------------------------------------------------------- +Thu May 12 17:38:51 CEST 2005 - meissner@suse.de + +- use RPM_OPT_FLAGS + +------------------------------------------------------------------- +Fri Apr 8 13:50:27 CEST 2005 - uli@suse.de + +- fixed to build with GCC4 + +------------------------------------------------------------------- +Thu Feb 10 16:56:12 CET 2005 - rengelhard@suse.de + +- update dpkg to 1.10.27 (just translation updates) + +------------------------------------------------------------------- +Thu Jan 20 23:38:24 CET 2005 - ro@suse.de + +- update dependency: html2txt -> html2text + +------------------------------------------------------------------- +Wed Jan 12 15:45:21 CET 2005 - rengelha@suse.de + +- update dpkg to 1.10.26 + +------------------------------------------------------------------- +Wed Jan 5 13:41:10 CET 2005 - rengelhard@suse.de + +- update debhelper to 4.2.30 + +------------------------------------------------------------------- +Tue Jan 4 11:11:22 CET 2005 - rengelhard@suse.de + +- update debhelper to 4.2.29 + +------------------------------------------------------------------- +Wed Dec 15 12:06:57 CET 2004 - rengelhard@suse.de + +- update debhelper to 4.2.28 + +------------------------------------------------------------------- +Mon Dec 13 09:16:46 CET 2004 - rengelhard@suse.de + +- update debhelper to 4.2.27 + +------------------------------------------------------------------- +Tue Nov 16 15:44:34 CET 2004 - rengelhard@suse.de + +- update dpkg to 1.10.25 + +------------------------------------------------------------------- +Thu Nov 11 10:42:02 CET 2004 - rengelhard@suse.de + +- update debhelper to 4.2.24 + +------------------------------------------------------------------- +Fri Oct 29 13:55:11 CEST 2004 - rengelhard@suse.de + +- update debhelper to 4.2.23 + +------------------------------------------------------------------- +Wed Oct 27 12:15:38 CEST 2004 - rengelhard@suse.de + +- update dpkg to 1.10.24 + +------------------------------------------------------------------- +Wed Oct 13 12:11:21 CEST 2004 - rengelhard@suse.de + +- update debhelper to 4.2.21 + +------------------------------------------------------------------- +Wed Sep 8 00:06:37 CEST 2004 - ro@suse.de + +- remove stuff now present in own update-alternatives package + +------------------------------------------------------------------- +Thu Aug 19 14:50:34 CEST 2004 - mcihar@suse.cz + +- update debhelper to 4.2.19 +- update dpkg to 1.10.23 +- use sed rather than patches +- remove patches accepted in upstream + +------------------------------------------------------------------- +Mon May 31 14:53:43 CEST 2004 - mcihar@suse.cz + +- update debhelper to 4.2.10 +- update dpkg to 1.10.21 + +------------------------------------------------------------------- +Thu Mar 04 12:43:17 CET 2004 - mcihar@suse.cz + +- no root for build +- revert to manual debhelper installation as installation using + debhelper needs dpkg and debhelper installed + +------------------------------------------------------------------- +Wed Mar 03 18:08:58 CET 2004 - mcihar@suse.cz + +- debhelper has debian/control file, so do not install manually +- update debhelper to 4.2.4 +- update dpkg to 1.10.18.1 + +------------------------------------------------------------------- +Wed Jan 28 00:25:16 CET 2004 - ro@suse.de + +- debhelper has no debian/control file, so install manually + +------------------------------------------------------------------- +Tue Jan 27 14:09:01 CET 2004 - mcihar@suse.cz + +- install debhelper man pages on correct place + +------------------------------------------------------------------- +Mon Jan 26 15:09:20 CET 2004 - mcihar@suse.cz + +- updated debhelper to 4.1.88 and dpkg to 1.10.18 + +------------------------------------------------------------------- +Wed Aug 20 19:54:08 CEST 2003 - mjancar@suse.cz + +- require the perl version we build with + +------------------------------------------------------------------- +Thu Aug 07 16:02:18 CEST 2003 - mcihar@suse.cz + +- updated debhelper to 4.1.57 + +------------------------------------------------------------------- +Mon Jul 28 14:13:38 CEST 2003 - schwab@suse.de + +- Fix format string. +- Fix undefined use of longjmp. +- Use perl_vendorlib. + +------------------------------------------------------------------- +Wed Jun 18 15:08:58 CEST 2003 - mcihar@suse.cz + +- updated debhelper to 4.1.47 (mostly fixes in dh_python) +- included directories for translated man pages +- use find_lang + +------------------------------------------------------------------- +Tue May 13 16:45:18 CEST 2003 - mcihar@suse.cz + +- updated debhelper to 4.1.43 +- updated dpkg to 1.1.10 + +------------------------------------------------------------------- +Tue Apr 08 11:48:37 CEST 2003 - mcihar@suse.cz + +- updated debhelper to 4.1.40 +- fixed problems with new coreutils + +------------------------------------------------------------------- +Thu Mar 06 15:40:08 CET 2003 - mcihar@suse.cz + +- configuration files under /etc marked as %config + +------------------------------------------------------------------- +Thu Jan 30 14:19:51 CET 2003 - mcihar@suse.cz + +- updated debhelper to 4.1.29: + * Added a dh_python command. + * Various fixes. + +------------------------------------------------------------------- +Wed Nov 13 12:22:45 CET 2002 - mcihar@suse.cz + +- updated dpkg to 1.10.9, major changes: + * Make the multiline regex have an upper bound, instead of being + unbounded, as newer perls have a larger stack frame, which cause them + to segfault quicker with larger inputs. + * Fix segfault in md5sum if the file being checked doesn't exist. + * Fix extraction of md5sum in dpkg-scanpackages. + * Handle directories better in md5sum. + * Fix several read pass buffer bugs, and a memleak. + * Fix segfault when --auto-deconfigure is given. +- updated debhelper to 4.1.20, major changes: + * typo in dh_shlibdeps(1) + * dh_fixperms: Make sure .pm files are 0644. + * dh_strip: detect and don't strip debug/*.so files. + * Various improvements to debhelper(1). + * Clarified dh_perl man page. + * Fixed excessive escaping around terms in DH_EXCLUDE_FIND. + * Patch from Andrew Suffield to make dh_perl understand #!/usr/bin/env perl +- included part of postinst script from debian package + +------------------------------------------------------------------- +Mon Nov 11 11:26:13 CET 2002 - ro@suse.de + +- changed neededforbuild to +- changed neededforbuild to <> + +------------------------------------------------------------------- +Wed Aug 28 12:37:07 MEST 2002 - mcihar@suse.cz + +- corrected requires + +------------------------------------------------------------------- +Wed Aug 7 15:05:04 CEST 2002 - mcihar@suse.cz + +- updated to debhelper 4.1.3: + * various bugfixes + * removed /usr/doc manglement code from postinst and prerm + * removed dh_installxaw + * dh_installchangelogs installs debian/NEWS +- updated to dpkg 1.10.4: + * plenty of bugfixes and new switches + * added Large File Summit extension + * added manpages for dpkg.cfg and dselect.cfg + * updated translations + * install archtable into /usr/share/dpkg/ +- dpkg is now build by debian/rules not by script in spec +- removed md5sum.1 start-stop-daemon.8 install-info.8 manpages also + for other locales (these programs are not installed) + +------------------------------------------------------------------- +Tue Jun 11 09:16:14 CEST 2002 - mcihar@suse.cz + +- updated to debhelper 4.0.11 and dpkg 1.9.21 + +------------------------------------------------------------------- +Mon Aug 13 15:51:56 CEST 2001 - ro@suse.de + +- changed neededforbuild to + +------------------------------------------------------------------- +Fri Jun 8 15:13:02 CEST 2001 - cihlar@suse.cz + +- fixed to compile with new autoconf + +------------------------------------------------------------------- +Tue Apr 24 12:12:56 CEST 2001 - cihlar@suse.cz + +- fixed warnings on ia64 + +------------------------------------------------------------------- +Wed Apr 18 09:07:26 CEST 2001 - cihlar@suse.cz + +- fixed to compile + +------------------------------------------------------------------- +Mon Mar 5 14:38:45 CET 2001 - cihlar@suse.cz + +- dpkg updated to version 1.8.3.1 +- debhelper updated to version 3.0.8 + +------------------------------------------------------------------- +Tue Dec 5 14:56:23 CET 2000 - schwab@suse.de + +- Fix broken declaration. + +------------------------------------------------------------------- +Tue Oct 31 10:57:36 CET 2000 - cihlar@suse.cz + +- update to version 1.6.14 +- bzipped sources + +------------------------------------------------------------------- +Tue May 23 16:48:45 CEST 2000 - cihlar@suse.cz + +- added files in /etc and /var to %files + +------------------------------------------------------------------- +Mon May 22 15:19:20 CEST 2000 - cihlar@suse.cz + +- removed install-info and start-stop-daemon + +------------------------------------------------------------------- +Mon May 15 17:20:51 CEST 2000 - schwab@suse.de + +- Fixed for ia64. + +------------------------------------------------------------------- +Wed May 3 17:15:12 CEST 2000 - cihlar@suse.cz + +- package created - version 1.4.0.35 (debhelper 1.1.24) + diff --git a/devscripts.spec b/devscripts.spec new file mode 100644 index 0000000..7e65aff --- /dev/null +++ b/devscripts.spec @@ -0,0 +1,138 @@ +# +# spec file for package devscripts +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%{!?py_ver: %global py_ver %(echo `python -c "import sys; sys.stdout.write(sys.version[:3])"`)} +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} + +Name: devscripts +Version: 2.11.7 +Release: 0 +Summary: Scripts to make the life of a Debian Package maintainer easier +License: GPL-2.0+ +Group: Development/Tools/Building +Source0: http://ftp.de.debian.org/debian/pool/main/d/devscripts/devscripts_%{version}.tar.gz +# PATCH-FIX-UPSTREAM remove bash auto completion and fix docbook template directories path. +Patch0: devscripts-2.11.7-buildfix.patch +# PATCH-FIX-UPSTREAM hg can't commit empty, fix it. +Patch1: devscripts-2.11.7-debcommit-hg16.patch +# PATCH-FIX-UPSTREAM remove --utf8 since we only build En manpages. +Patch2: devscripts-pod2man-no-utf8.patch +# PATCH-FIX-UPSTREAM remove unrecognized --install-layout=deb from scripts/setup.py and fix prefix +Patch3: devscripts-2.11.7-remove-install-layout-deb.patch +# PATCH-FIX-OPENSUSE support old versions of File::Patch (SLE 11) +Patch4: devscripts-old-File-Path.patch +BuildRequires: dpkg-devel +BuildRequires: python-devel +# we are sorry to drop sles10 support, but no setuptools +BuildRequires: python-setuptools +BuildRequires: zlib-devel +Requires: dpkg +Requires: html2text +Requires: perl +Provides: deb:%{_bindir}/debchange +BuildRequires: docbook-xsl-stylesheets +BuildRequires: libxslt +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%if 0%{?suse_version} +BuildRequires: sgmltool +BuildRequires: texlive-latex +%define _xsl_stylesheet /usr/share/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xsl +%if 0%{?suse_version} < 1120 +%define _libexecdir /usr/lib +%endif +%endif +%if 0%{?fedora_version} +BuildRequires: tetex-latex +%define _xsl_stylesheet /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl +%endif +%if 0%{?rhel_version} +BuildRequires: tetex-latex +%define _xsl_stylesheet /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl +%endif +%if 0%{?centos_version} +BuildRequires: tetex-latex +%define _xsl_stylesheet /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl +%endif + +%description +Collection of scripts for working on Debian packages. +Examples: + - bts: a command-line tool for manipulating the Debian Bug + Tracking System + - checkbashisms: check whether a /bin/sh script contains any + common bash-specific contructs + - dcontrol: remotely query package and source control files + for all Debian distributions + - debchange/dch: automagically add entries to + debian/changelog files + - debsign, debrsign: sign a .changes/.dsc pair without + needing any of the rest of the package to be present; + can sign the pair remotely or fetch the pair from a + remote machine for signing + - diff2patches: extract patches from a .diff.gz file + placing them under debian/ or, if present, debian/patches + - licensecheck: attempt to determine the license of source + files + - uscan: scan upstream sites for new releases of packages + +%prep +%setup -q + +%patch0 -p1 +%if 0%{?suse_version} && 0%{?suse_version} < 1130 +%patch2 -p1 +%patch4 -p1 +%endif +%patch1 -p1 +%patch3 -p1 + +%build +make %{?_smp_mflags} XSL_STYLESHEET="%{_xsl_stylesheet}" + +%install +%{__make} install DESTDIR=%{?buildroot} XSL_STYLESHEET="%{_xsl_stylesheet}" + +install -d %{buildroot}%{_mandir}/man1/ +install -d %{buildroot}%{_mandir}/man5/ +install -m 644 scripts/*.1 %{buildroot}%{_mandir}/man1/ +install -m 644 scripts/*.5 %{buildroot}%{_mandir}/man5/ +while read target link; do + if [ -d $(dirname "%{buildroot}$link") ]; then + ln -sf $target %{buildroot}$link + fi +done