Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
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
savoirfairelinux
jami-daemon
Commits
e8a6f56d
Commit
e8a6f56d
authored
10 years ago
by
Thibault Cohen
Browse files
Options
Downloads
Patches
Plain Diff
Add get-orig-source directive
Change-Id: Idccb105f54ad5835db645dd27375dd05f49868d4
parent
8ba0e562
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/rules
+16
-0
16 additions, 0 deletions
debian/rules
ring-daemon.spec
+2
-0
2 additions, 0 deletions
ring-daemon.spec
with
18 additions
and
0 deletions
debian/rules
+
16
−
0
View file @
e8a6f56d
#!/usr/bin/make -f
PKD = $(abspath $(dir $(MAKEFILE_LIST)))
#PKG = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog --show-field=Source))
PKG = $(shell dpkg-parsechangelog -l$(PKD)/changelog --show-field=Source)
VER ?= $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\-\d+.*)};')
DISTRIB_RELEASE = $(shell grep -hPo "DISTRIB_RELEASE=\K.*" /etc/*ease)
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
...
...
@@ -34,3 +41,12 @@ override_dh_auto_install:
mv $(CURDIR)/debian/ring-daemon/usr/include/dring/* $(CURDIR)/debian/ring-daemon-dev/usr/include/dring
rm -rf $(CURDIR)/debian/ring-daemon/usr/include/
dh_auto_install
get-orig-source:
# Daemon
git fetch --all
git merge origin master --no-edit
# Packing
@echo "# Packing ... "
find . | sort \
| XZ_OPT="-6v" tar -caf "../$(PKG)_$(VER)$(DTYPE).orig.tar.xz" -T- --owner=root --group=root --mode=a+rX
This diff is collapsed.
Click to expand it.
ring-daemon.spec
+
2
−
0
View file @
e8a6f56d
...
...
@@ -32,6 +32,8 @@ This is the daemon headers.
%prep
%setup -q
git fetch --all
git merge origin master --no-edit
# Apply all patches
for patch_file in $(cat debian/patches/series | grep -v "^#")
do
...
...
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