Compare commits

..

4 Commits

Author SHA1 Message Date
Kienan Stewart feb5d7df4d Add vcs-git and vcs-browser to debian control file 2018-12-04 18:43:52 -05:00
Kienan Stewart 63869cd7e6 Replace gemspec files from git with a globbed-search
Builds would fail if source didn't include the repository completely
2018-12-04 18:39:21 -05:00
Kienan Stewart 5865564894 Remove superfluous install override and target for original source 2018-12-04 18:38:13 -05:00
Kienan Stewart 57a7199650 Set ITP bug number in changelog 2018-12-04 18:37:52 -05:00
6 changed files with 48 additions and 12 deletions

4
debian/changelog vendored
View File

@ -1,5 +1,5 @@
puppet-strings (2.1.0-1) UNRELEASED; urgency=medium
puppet-strings (2.1.0-1) unstable; urgency=medium
* Initial release. (Closes: #XXXXXX)
* Initial release. (Closes: #915359)
-- Kienan Stewart <kienan.stewart@burntworld.ca> Sun, 02 Dec 2018 15:53:00 -0500

2
debian/control vendored
View File

@ -10,6 +10,8 @@ Build-Depends: debhelper (>= 11),
yard
Standards-Version: 4.2.1
Homepage: https://github.com/puppetlabs/puppet-strings
Vcs-Git: https://salsa.debian.org/kienan-guest/puppet-strings.git
Vcs-Browser: https://salsa.debian.org/kienan-guest/puppet-strings
XS-Ruby-Versions: all
Package: puppet-strings

39
debian/patches/gemspec_no_git vendored Normal file
View File

@ -0,0 +1,39 @@
Description: <short summary of the patch>
TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.
.
puppet-strings (2.1.0-1) unstable; urgency=medium
.
* Initial release. (Closes: #915359)
Author: Kienan Stewart <kienan.stewart@burntworld.ca>
Bug-Debian: https://bugs.debian.org/915359
---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:
Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2018-12-04
--- puppet-strings-2.1.0.orig/puppet-strings.gemspec
+++ puppet-strings-2.1.0/puppet-strings.gemspec
@@ -20,7 +20,9 @@ Gem::Specification.new do |s|
'LICENSE',
'README.md',
]
- s.files = `git ls-files`.split("\n") - Dir['.*', '*.gemspec']
+ #s.files = `git ls-files`.split("\n") - Dir['.*', '*.gemspec']
+ s.files = Dir.glob("{lib,misc,spec}/**/*") +
+ ['CHANGELOG.md', 'LICENSE', 'README.md', 'Rakefile', __FILE__]
s.add_runtime_dependency 'yard', '~> 0.9.5'
s.add_runtime_dependency 'rgen'

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
gemspec_no_git

10
debian/rules vendored
View File

@ -3,15 +3,7 @@
include /usr/share/dpkg/default.mk
export GEM2DEB_TEST_RUNNER = --check-dependencies
export DH_RUBY = --gem-install
%:
dh $@ --buildsystem=ruby --with ruby
override_dh_auto_install:
dh_auto_install
newtarball = new$(DEB_VERSION_UPSTREAM).tar.gz
get-orig-source:
wget --continue -O $(newtarball) \
https://github.com/puppetlabs/puppet-strings/releases/v$(DEB_VERSION_UPSTREAM).tar.gz
mk-origtargz --rename $(newtarball)

View File

@ -20,7 +20,9 @@ Gem::Specification.new do |s|
'LICENSE',
'README.md',
]
s.files = `git ls-files`.split("\n") - Dir['.*', '*.gemspec']
#s.files = `git ls-files`.split("\n") - Dir['.*', '*.gemspec']
s.files = Dir.glob("{lib,misc,spec}/**/*") +
['CHANGELOG.md', 'LICENSE', 'README.md', 'Rakefile', __FILE__]
s.add_runtime_dependency 'yard', '~> 0.9.5'
s.add_runtime_dependency 'rgen'