diff options
author | SoonKyu Park <sk7.park@samsung.com> | 2016-02-25 09:20:27 +0900 |
---|---|---|
committer | SoonKyu Park <sk7.park@samsung.com> | 2016-03-04 13:30:44 +0900 |
commit | 915b57e19432455562813e9125d869dbd02bd9c4 (patch) | |
tree | 2a80330242b1d604e5b7ffa917ff7b7d4074da1c /packaging | |
parent | 6ee9615a00c4b4c1726309ad54dad1193434a3e0 (diff) | |
download | rpm-915b57e19432455562813e9125d869dbd02bd9c4.tar.gz rpm-915b57e19432455562813e9125d869dbd02bd9c4.tar.bz2 rpm-915b57e19432455562813e9125d869dbd02bd9c4.zip |
Make symlink file add to fileattrsubmit/tizen_base/20160304.044032accepted/tizen/base/20160305.090143
Change-Id: Ice05610d1c23eaf2dc1fb0cdf610feb20ad1cfab
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/libsymlink.attr | 4 | ||||
-rw-r--r-- | packaging/rpm.spec | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/packaging/libsymlink.attr b/packaging/libsymlink.attr new file mode 100644 index 000000000..8bb6404b9 --- /dev/null +++ b/packaging/libsymlink.attr @@ -0,0 +1,4 @@ +# Make libfoo.so symlinks require the soname-provide of the target library +%__libsymlink_requires %{_rpmconfigdir}/elfdeps --provides --soname-only +%__libsymlink_magic ^symbolic link to `.*lib.*\.so\..*'$ +%__libsymlink_exclude_path ^.*[[:digit:]]$ diff --git a/packaging/rpm.spec b/packaging/rpm.spec index 80c82c993..dd92b8506 100644 --- a/packaging/rpm.spec +++ b/packaging/rpm.spec @@ -47,6 +47,7 @@ Source22: device-sec-policy Source23: find-provides.ksyms Source1001: rpm.manifest Source0: rpm-%{version}.tar.bz2 +Source9: libsymlink.attr # avoid bootstrapping problem %define _binary_payload w9.bzdio @@ -162,6 +163,7 @@ cp -a tizen_macros %{buildroot}%{rpmhome} mkdir -p %{buildroot}%{rpmhome}/tizen install -m 755 %{SOURCE13} %{buildroot}%{rpmhome}/tizen install -m 755 %{SOURCE23} %{buildroot}%{rpmhome} +install -m 644 %{SOURCE9} %{buildroot}%{rpmhome}/fileattrs/libsymlink.attr install -m 644 %{SOURCE22} %{buildroot}%{_sysconfdir}/device-sec-policy install -m 644 %{SOURCE22} %{buildroot}%{__plugindir}/msm-device-sec-policy ln -s ../tizen_macros %{buildroot}%{rpmhome}/tizen/macros |