Skip to content
Snippets Groups Projects
Commit 313eec59 authored by Thibault Cohen's avatar Thibault Cohen Committed by Thibault COHEN
Browse files

packaging: update nightly packaging

Refs #71506

Change-Id: I5830e63f45d1c2ba06179ef09fafbf7fddb3c736
parents f55fd55d 3a6dc2b9
Branches
No related tags found
No related merge requests found
ring-daemon (2.1.0-1) unstable; urgency=medium
[ Thibault Cohen]
* New upstream version
-- Thibault Cohen <thibault.cohen@savoirfairelinux.com> Tue, 14 Apr 2015 12:40:24 -0400
ring-daemon (2.0.1-1) unstable; urgency=medium
[ Thibault Cohen]
......
[DEFAULT]
pristine-tar = False
upstream-branch = master
upstream-branch = release-2.1.x
[git-buildpackage]
export-dir = ../build-area/
......
......@@ -8,6 +8,8 @@ VER ?= $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m
DISTRIB_ID = $(shell grep -hPo "^ID=\K.*" /etc/*ease)
DISTRIB_VERSION_ID = $(shell grep -hPo "^VERSION_ID=\K.*" /etc/*ease)
DAEMON_TAG = master
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
......@@ -48,8 +50,14 @@ override_dh_auto_install:
get-orig-source:
# Daemon
git init
git remote add origin https://gerrit-ring.savoirfairelinux.com/ring-daemon
git fetch --all
git merge origin master --no-edit
git checkout packaging-releases -f
git config user.name "joulupukki"
git config user.email "joulupukki@localhost"
git merge $(DAEMON_TAG) --no-edit
rm -rf .git
# Packing
@echo "# Packing ... "
find . | sort \
......
%define name ring-daemon
%define version 2.0.1
%define version 2.1.0
%define release 1
%define daemon_tag master
Name: %{name}
Version: %{version}
......@@ -40,12 +41,13 @@ This is the ring repository
%prep
%setup -q
git init
git remote add origin https://gerrit-ring.savoirfairelinux.com/ring
git remote add origin https://gerrit-ring.savoirfairelinux.com/ring-daemon
git fetch --all
git checkout packaging -f
git checkout packaging-releases -f
git config user.name "joulupukki"
git config user.email "joulupukki@localhost"
git merge origin/master --no-edit
git merge %{daemon_tag} --no-edit
rm -rf .git
# Apply all patches
for patch_file in $(cat debian/patches/series | grep -v "^#")
do
......@@ -94,5 +96,8 @@ echo 'gpgcheck=0' >> %{buildroot}/%{_sysconfdir}/yum.repo.d/ring-nightly.repo
%config %{_sysconfdir}/yum.repo.d/ring-nightly.repo
%changelog
* Tue Apr 14 2015 Thibault Cohen <thibault.cohen@savoirfairelinux.com> - 2.1.0-1
- New upstream version
* Fri Mar 27 2015 Thibault Cohen <thibault.cohen@savoirfairelinux.com> - 2.0.1-1
- New upstream version
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment