summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2013-01-31 09:26:42 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2013-01-31 09:26:42 +0000
commit469de4d1efc924447a5c0bccdefce9fa870a8f5a (patch)
tree2d1b3803d78b7fc9c32b5ada44115f64ff7e4455 /eclass
parentShorter description still. (diff)
downloadgentoo-2-469de4d1efc924447a5c0bccdefce9fa870a8f5a.tar.gz
gentoo-2-469de4d1efc924447a5c0bccdefce9fa870a8f5a.tar.bz2
gentoo-2-469de4d1efc924447a5c0bccdefce9fa870a8f5a.zip
Additional files also must be versioned as they change between versions.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/obs-service.eclass8
2 files changed, 8 insertions, 5 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index c38feff52759..20024f76f2ee 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.654 2013/01/30 10:42:25 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.655 2013/01/31 09:26:42 scarabeus Exp $
+
+ 31 Jan 2013; Tomáš Chvátal <scarabeus@gentoo.org> obs-service.eclass:
+ Additional files also must be versioned as they change between versions.
30 Jan 2013; Michał Górny <mgorny@gentoo.org> python-r1.eclass,
python-single-r1.eclass:
diff --git a/eclass/obs-service.eclass b/eclass/obs-service.eclass
index fecf2b2c7426..2bc47c85f5b6 100644
--- a/eclass/obs-service.eclass
+++ b/eclass/obs-service.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/obs-service.eclass,v 1.8 2012/11/15 20:06:34 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/obs-service.eclass,v 1.9 2013/01/31 09:26:42 scarabeus Exp $
# @ECLASS: obs-service.eclass
# @MAINTAINER:
@@ -62,7 +62,7 @@ SRC_URI="${OBS_URI}/${OBS_SERVICE_NAME} -> ${OBS_SERVICE_NAME}-${PV}"
SRC_URI+=" ${OBS_URI}/${OBS_SERVICE_NAME}.service -> ${OBS_SERVICE_NAME}-${PV}.service"
for i in ${ADDITIONAL_FILES}; do
- SRC_URI+=" ${OBS_URI}/${i}"
+ SRC_URI+=" ${OBS_URI}/${i} -> ${i}-${PV}"
done
# @FUNCTION: obs-service_src_unpack
@@ -101,7 +101,7 @@ obs-service_src_install() {
debug-print " ${ADDITIONAL_FILES}"
exeinto /usr/lib/obs/service/${OBS_SERVICE_NAME}.files
for i in ${ADDITIONAL_FILES}; do
- doexe "${S}"/${i}
+ newexe "${S}"/${i}-${PV} ${i}
done
fi
}