summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>2014-02-10 15:45:51 +0100
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>2014-02-10 15:46:11 +0100
commit954a24253d3ae45d93735c35d3da127fa4475b47 (patch)
tree8063c408e5d9e0dfafc14b6d3d602398ac6b5e41
parent67a9a2321291b04db4d9bfc545c712d9a59341a2 (diff)
downloadpython-elementary-tizen_ivi_release.tar.gz
python-elementary-tizen_ivi_release.tar.bz2
python-elementary-tizen_ivi_release.zip
force timestamp if generated file present to prevent gbs FTBFS spec cleanup Change-Id: I178051ddb9fe982656ad1b37cca1722f17a43ca2 Bug-Tizen: PTREL-653 Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
-rw-r--r--packaging/python-elementary.spec8
1 files changed, 5 insertions, 3 deletions
diff --git a/packaging/python-elementary.spec b/packaging/python-elementary.spec
index 1b9e573..f2676c5 100644
--- a/packaging/python-elementary.spec
+++ b/packaging/python-elementary.spec
@@ -9,9 +9,9 @@ Source: %{name}-%{version}.tar.bz2
Source1001: python-elementary.manifest
BuildRequires: python-devel
BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(ecore-x)
BuildRequires: pkgconfig(python-ecore)
BuildRequires: pkgconfig(python-evas)
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Elementary python bindings.
@@ -27,6 +27,10 @@ Development files for %{name}.
%setup -q
cp %{SOURCE1001} .
+# prevent FTBFS on wrong timestamps
+file=./elementary/elementary.c_elementary.c
+[ ! -r $file ] || touch $file
+
%build
%configure
make %{?_smp_mflags}
@@ -46,5 +50,3 @@ make %{?_smp_mflags}
%{_datadir}/python-elementary/examples
%{_libdir}/pkgconfig/*.pc
-
-%changelog