Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
python-kubernetes
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Python Team
packages
python-kubernetes
Commits
fa8c26da
Commit
fa8c26da
authored
1 year ago
by
Alexandre Detiste
Browse files
Options
Downloads
Patches
Plain Diff
use the standard /usr/share/dpkg/pkg-info.mk
parent
0afb459e
No related branches found
No related tags found
No related merge requests found
Pipeline
#672988
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
debian/rules
+7
-7
7 additions, 7 deletions
debian/rules
with
7 additions
and
7 deletions
debian/rules
+
7
−
7
View file @
fa8c26da
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
export PYBUILD_NAME=kubernetes
DEB_PKGNAME := $(shell dpkg-parsechangelog -SSource)
DEB_VERSION := $(shell dpkg-parsechangelog -SVersion)
DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-)
DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//')
GIT_TAG := $(shell echo '$(DEB_UPSTREAM_VERSION)' | sed -e 's/~/_/')
...
...
@@ -29,12 +29,12 @@ gen-orig-xz:
cd client-python ; \
git reset --hard v$(GIT_TAG) ; \
git tag $(GIT_TAG) v$(GIT_TAG) ; \
git archive --prefix=$(DEB_
PKGNAM
E)-$(GIT_TAG)/ --format=tar $(GIT_TAG) >../$(DEB_
PKGNAM
E)_$(GIT_TAG).orig.tar ; \
git archive --prefix=$(DEB_
SOURC
E)-$(GIT_TAG)/ --format=tar $(GIT_TAG) >../$(DEB_
SOURC
E)_$(GIT_TAG).orig.tar ; \
git submodule update --init ; \
cd kubernetes/base ; \
git archive --prefix=$(DEB_
PKGNAM
E)-$(GIT_TAG)/kubernetes/base/ --format=tar master > ../../../base.tar ; \
git archive --prefix=$(DEB_
SOURC
E)-$(GIT_TAG)/kubernetes/base/ --format=tar master > ../../../base.tar ; \
cd ../../.. ; \
tar -Af $(DEB_
PKGNAM
E)_$(GIT_TAG).orig.tar base.tar ; \
tar -Af $(DEB_
SOURC
E)_$(GIT_TAG).orig.tar base.tar ; \
rm -rf base.tar client-python ; \
cat $(DEB_
PKGNAM
E)_$(GIT_TAG).orig.tar | xz >$(DEB_
PKGNAM
E)_$(GIT_TAG).orig.tar.xz ; \
rm $(DEB_
PKGNAM
E)_$(GIT_TAG).orig.tar
cat $(DEB_
SOURC
E)_$(GIT_TAG).orig.tar | xz >$(DEB_
SOURC
E)_$(GIT_TAG).orig.tar.xz ; \
rm $(DEB_
SOURC
E)_$(GIT_TAG).orig.tar
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment