diff options
author | Sangjung woo <sangjung.woo@samsung.com> | 2017-09-26 10:47:54 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2018-03-13 15:37:24 +0900 |
commit | acc5e9cc49cc9d51c5c366cc7b6549c1223f1be9 (patch) | |
tree | ec92a4c25270060c33b1dcc5888240f139bf90b5 | |
parent | 41e8aa84943bb57f9ae8dbc40c920bfc0b7d6c83 (diff) | |
download | glog-accepted/tizen_7.0_unified_hotfix.tar.gz glog-accepted/tizen_7.0_unified_hotfix.tar.bz2 glog-accepted/tizen_7.0_unified_hotfix.zip |
packaging: use %{_libdir} instead of fixed pathtizen_8.0_m2_releasetizen_7.0_m2_releasetizen_6.5.m2_releasetizen_6.0.m2_releasetizen_5.5.m2_releasesubmit/tizen_6.5/20211028.163401submit/tizen_6.0_hotfix/20201103.115101submit/tizen_6.0_hotfix/20201102.192901submit/tizen_6.0/20201029.205501submit/tizen_5.5_wearable_hotfix/20201026.184306submit/tizen_5.5_mobile_hotfix/20201026.185106submit/tizen_5.5/20191031.000006submit/tizen_5.0/20181101.000006submit/tizen/20180313.064233accepted/tizen/unified/dev/20240620.010717accepted/tizen/unified/20180314.062115accepted/tizen/8.0/unified/20231005.094909accepted/tizen/7.0/unified/hotfix/20221116.110820accepted/tizen/7.0/unified/20221110.063336accepted/tizen/6.5/unified/20211029.013019accepted/tizen/6.0/unified/hotfix/20201103.000021accepted/tizen/6.0/unified/20201030.105258accepted/tizen/5.5/unified/wearable/hotfix/20201027.102712accepted/tizen/5.5/unified/mobile/hotfix/20201027.062532accepted/tizen/5.5/unified/20191031.005613accepted/tizen/5.0/unified/20181102.024921tizen_7.0_hotfixtizen_7.0tizen_6.5tizen_6.0_hotfixtizen_6.0tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixtizen_5.5tizen_5.0accepted/tizen_8.0_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedaccepted/tizen_6.5_unifiedaccepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unifiedaccepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unifiedaccepted/tizen_5.0_unified
This patch uses the %{_libdir} instead of fixed path so that built
result could be install in both 'lib' and 'lib64'.
Signed-off-by: Sangjung woo <sangjung.woo@samsung.com>
Corrected subject format.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r-- | packaging/glog.spec | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/packaging/glog.spec b/packaging/glog.spec index 5cb70e0..b4996d5 100644 --- a/packaging/glog.spec +++ b/packaging/glog.spec @@ -1,5 +1,4 @@ %define RELEASE 1 -# %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} %define prefix %{_prefix} %define NAME glog %define VERSION 0.3.5 @@ -13,9 +12,8 @@ URL: http://github.com/google/glog License: BSD Vendor: Google Packager: Google Inc. <opensource@google.com> -Source: https://github.com/google/glog/archive/v%{VERSION}.tar.gz +Source: %{name}-%{version}.tar.gz Distribution: Redhat 7 and above. -Buildroot: %{_tmppath}/%{name}-root Prefix: %prefix %description @@ -46,7 +44,7 @@ make prefix=%prefix %install rm -rf $RPM_BUILD_ROOT -make prefix=$RPM_BUILD_ROOT%{prefix} install +make prefix=$RPM_BUILD_ROOT%{prefix} libdir=$RPM_BUILD_ROOT%{_libdir} install %clean rm -rf $RPM_BUILD_ROOT @@ -61,15 +59,14 @@ rm -rf $RPM_BUILD_ROOT ## dist_doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README %docdir %{prefix}/share/doc/%{NAME}-%{VERSION} %{prefix}/share/doc/%{NAME}-%{VERSION}/* - -%{prefix}/lib/libglog.so.0 -%{prefix}/lib/libglog.so.0.0.0 +%{_libdir}/libglog.so.0 +%{_libdir}/libglog.so.0.0.0 %files devel %defattr(-,root,root) -%{prefix}/include/glog -%{prefix}/lib/libglog.a -%{prefix}/lib/libglog.la -%{prefix}/lib/libglog.so -%{prefix}/lib/pkgconfig/libglog.pc +%{_includedir}/glog +%{_libdir}/libglog.a +%{_libdir}/libglog.la +%{_libdir}/libglog.so +%{_libdir}/pkgconfig/libglog.pc |