diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2019-07-15 08:38:25 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2019-07-15 08:44:22 +0900 |
commit | 6b0a3e15ffd23c0dc8c052e2634dc883c6715a3d (patch) | |
tree | 36adb83ac3e2e80e4a4c4d6daa023bf984c82d1e | |
parent | 6fb29878b754678ad4fd8cce5b4e592593533009 (diff) | |
download | bundle-6b0a3e15ffd23c0dc8c052e2634dc883c6715a3d.tar.gz bundle-6b0a3e15ffd23c0dc8c052e2634dc883c6715a3d.tar.bz2 bundle-6b0a3e15ffd23c0dc8c052e2634dc883c6715a3d.zip |
Adjust check section position
Some profile doesn't support %check section. It causes the build error
issue. To solve the issue, this patch adjusts %check section position.
Change-Id: Ia7e5b3411ee6544e5695724f0f67e5daacaacd04
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r-- | packaging/bundle.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packaging/bundle.spec b/packaging/bundle.spec index 3e5fdaf..b28c025 100644 --- a/packaging/bundle.spec +++ b/packaging/bundle.spec @@ -71,14 +71,6 @@ mkdir -p gcov-obj find . -name '*.gcno' -exec cp '{}' gcov-obj ';' %endif -%install -%make_install - -%if 0%{?gcov:1} -mkdir -p %{buildroot}%{_datadir}/gcov/obj -install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj -%endif - %check ctest --output-on-failure %{?_smp_mflags} %if 0%{?gcov:1} @@ -88,6 +80,14 @@ zip -r bundle.zip bundle.out bundle.info install -m 0644 bundle.zip %{buildroot}%{_datadir}/gcov/ %endif +%install +%make_install + +%if 0%{?gcov:1} +mkdir -p %{buildroot}%{_datadir}/gcov/obj +install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj +%endif + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig |