diff options
author | so.yu <so.yu@samsung.com> | 2013-04-05 17:41:41 +0900 |
---|---|---|
committer | so.yu <so.yu@samsung.com> | 2013-04-05 17:42:38 +0900 |
commit | f42651faf1944ea74452e7ea405bd6b367c1ec53 (patch) | |
tree | 1866ba073de00613f8758cf395660b7422c00807 /packaging | |
parent | af4aafeb01279cc095a610cf4125923df0514e2f (diff) | |
download | libcryptsvc-f42651faf1944ea74452e7ea405bd6b367c1ec53.tar.gz libcryptsvc-f42651faf1944ea74452e7ea405bd6b367c1ec53.tar.bz2 libcryptsvc-f42651faf1944ea74452e7ea405bd6b367c1ec53.zip |
Modify the code about pkgconfig and remove trailing whitespace
Change-Id: I0bc07bd568cc5d72e19f64e4bd8a27283cb96ce6
Signed-off-by: so.yu <so.yu@samsung.com>
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/libcryptsvc.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packaging/libcryptsvc.spec b/packaging/libcryptsvc.spec index fbe1a55..843b268 100755 --- a/packaging/libcryptsvc.spec +++ b/packaging/libcryptsvc.spec @@ -1,7 +1,7 @@ -Name: libcryptsvc +Name: libcryptsvc Summary: nothing Version: 0.0.1 -Release: 4 +Release: 5 Group: Osp/Security License: APLv2 Source0: %{name}-%{version}.tar.gz @@ -23,18 +23,19 @@ Requires: %{name} = %{version}-%{release} %setup -q %build +MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %ifarch %{ix86} -cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCH=x86 +cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCH=x86 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DDESCRIPTION=%{summary} %else -cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCH=arm +cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCH=arm -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DDESCRIPTION=%{summary} %endif make %{?jobs:-j%jobs} %install rm -rf %{buildroot} -mkdir -p %{buildroot}/usr/share/license -cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name} -cp LICENSE.Flora %{buildroot}/usr/share/license/%{name} +mkdir -p %{buildroot}/usr/share/license +cat LICENSE.APLv2 > %{buildroot}/usr/share/license/%{name} +cat LICENSE.Flora >> %{buildroot}/usr/share/license/%{name} %make_install @@ -45,4 +46,3 @@ cp LICENSE.Flora %{buildroot}/usr/share/license/%{name} %files devel %{_includedir}/* %{_libdir}/pkgconfig/cryptsvc.pc -%{_datadir}/license/%{name} |