summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/obs-service.eclass9
2 files changed, 7 insertions, 8 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 859f45e7a6e1..fb00d2b053e6 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for eclass directory
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.425 2012/10/02 10:46:02 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.426 2012/10/02 10:52:31 scarabeus Exp $
+
+ 02 Oct 2012; Tomáš Chvátal <scarabeus@gentoo.org> obs-service.eclass:
+ Always use openSUSE:Tools as project to get updates. Remove obs_package
+ declaration as it is equal to pn.
02 Oct 2012; Tomáš Chvátal <scarabeus@gentoo.org> obs-download.eclass:
Change the documentation a bit and take OBS_PACKAGE from PN if not set.
diff --git a/eclass/obs-service.eclass b/eclass/obs-service.eclass
index b1b3bf0e1297..ff6544210e39 100644
--- a/eclass/obs-service.eclass
+++ b/eclass/obs-service.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/obs-service.eclass,v 1.4 2012/09/27 16:35:41 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/obs-service.eclass,v 1.5 2012/10/02 10:52:31 scarabeus Exp $
# @ECLASS: obs-service.eclass
# @MAINTAINER:
@@ -30,10 +30,6 @@
# @DESCRIPTION:
# Name of the service. If not set, it is taken from ${PN}.
-# @ECLASS-VARIABLE: OPENSUSE_RELEASE
-# @DESCRIPTION:
-# From which stable openSUSE realease to take a package.
-
# @ECLASS-VARIABLE: ADDITIONAL_FILES
# @DEFAULT_UNSET
# @DESCRIPTION:
@@ -51,10 +47,9 @@ IUSE=""
RDEPEND="dev-util/osc"
[[ -n ${OBS_SERVICE_NAME} ]] || OBS_SERVICE_NAME=${PN/obs-service-/}
-[[ -n ${OPENSUSE_RELEASE} ]] || OBS_PROJECT="openSUSE:Tools"
+OBS_PROJECT="openSUSE:Tools"
DESCRIPTION="Open Build Service client module - ${OBS_SERVICE_NAME} service"
-OBS_PACKAGE="obs-service-${OBS_SERVICE_NAME}"
inherit obs-download