From a3ac967dcf58231c23385f89fc2417847bca7cc1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?K=C3=A9vin=20THIERRY?= Date: Thu, 14 Aug 2014 11:50:29 +0200 Subject: [PATCH] Clean spec file for Yocto compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * Add the "-p" option to mkdir. * Add license in package dlt-daemon. * Remove executable bits to non binary files. Change-Id: I4625f3d1cf295542564bd1d3bbc139435c20c7d2 Signed-off-by: Kévin THIERRY --- AUTHORS | 0 LICENSE.txt | 0 MPL.txt | 0 ReleaseNotes.txt | 0 automotive-dlt.pc.in | 0 packaging/dlt-daemon.spec | 15 ++++++++------- 6 files changed, 8 insertions(+), 7 deletions(-) mode change 100755 => 100644 AUTHORS mode change 100755 => 100644 LICENSE.txt mode change 100755 => 100644 MPL.txt mode change 100755 => 100644 ReleaseNotes.txt mode change 100755 => 100644 automotive-dlt.pc.in diff --git a/AUTHORS b/AUTHORS old mode 100755 new mode 100644 diff --git a/LICENSE.txt b/LICENSE.txt old mode 100755 new mode 100644 diff --git a/MPL.txt b/MPL.txt old mode 100755 new mode 100644 diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt old mode 100755 new mode 100644 diff --git a/automotive-dlt.pc.in b/automotive-dlt.pc.in old mode 100755 new mode 100644 diff --git a/packaging/dlt-daemon.spec b/packaging/dlt-daemon.spec index 98ab045..65cba49 100644 --- a/packaging/dlt-daemon.spec +++ b/packaging/dlt-daemon.spec @@ -3,7 +3,7 @@ License: MPL-2.0 Group: Automotive/GENIVI Summary: GENIVI Diagnostic Log and Trace Version: 2.11.0 -Release: 1 +Release: 0 Source: %{name}-%{version}.tar.bz2 BuildRequires: cmake BuildRequires: pkg-config @@ -17,25 +17,25 @@ Requires(postun): /sbin/ldconfig GENIVI Diagnostic Log and Tracing Daemon and Tools %package daemon -Summary: GENIVI DLT Daemon +Summary: GENIVI DLT Daemon %description daemon GENIVI Diagnostic Log and Tracing Daemon %package bin -Summary: GENIVI DLT utility binaries +Summary: GENIVI DLT utility binaries %description bin GENIVI DLT utility binaries %package test -Summary: GENIVI DLT test binaries +Summary: GENIVI DLT test binaries %description test GENIVI DLT test binaries %package -n libdlt -Summary: GENIVI DLT library +Summary: GENIVI DLT library %description -n libdlt GENIVI DLT library @@ -51,12 +51,12 @@ Files needed for developing against the Automotive DLT %setup -q -n %{name}-%{version} %build -mkdir build +mkdir -p build cd build cmake -DWITH_SYSTEMD=ON -DWITH_SYSTEMD_JOURNAL=ON \ -DWITH_MAN=OFF -DWITH_DLT_EXAMPLES=OFF .. -make %{?jobs:-j %jobs} +make %{?_smp_mflags} %install rm -rf "$RPM_BUILD_ROOT" @@ -75,6 +75,7 @@ rm -rf "$RPM_BUILD_ROOT" %{_bindir}/dlt-daemon %config %{_sysconfdir}/dlt.conf %{_prefix}/lib/systemd/system/dlt.service +%license MPL.txt %files test %defattr(-,root,root,-) -- 2.7.4