!1 fix ln error due to missing definition of majorver

Merge pull request !1 from Vchanger/master
This commit is contained in:
openeuler-ci-bot 2020-04-20 16:26:06 +08:00 committed by Gitee
commit 2b1bf67a46

View File

@ -4,7 +4,7 @@
Name: expect Name: expect
Epoch: 1 Epoch: 1
Version: 5.45.4 Version: 5.45.4
Release: 3 Release: 4
Summary: A tool for automating interactive applications Summary: A tool for automating interactive applications
License: Public Domain License: Public Domain
URL: https://core.tcl.tk/expect/index URL: https://core.tcl.tk/expect/index
@ -95,7 +95,7 @@ make test
mv "$RPM_BUILD_ROOT"%{tcl_sitearch}/expect%{version}/libexpect%{version}.so "$RPM_BUILD_ROOT"%{_libdir} mv "$RPM_BUILD_ROOT"%{tcl_sitearch}/expect%{version}/libexpect%{version}.so "$RPM_BUILD_ROOT"%{_libdir}
# for linking with -lexpect # for linking with -lexpect
ln -s libexpect%{majorver}.so "$RPM_BUILD_ROOT"%{_libdir}/libexpect.so ln -s libexpect%{version}.so "$RPM_BUILD_ROOT"%{_libdir}/libexpect.so
# remove cryptdir/decryptdir, as Linux has no crypt command (bug 6668). # remove cryptdir/decryptdir, as Linux has no crypt command (bug 6668).
rm -f "$RPM_BUILD_ROOT"%{_bindir}/{cryptdir,decryptdir,autopasswd} rm -f "$RPM_BUILD_ROOT"%{_bindir}/{cryptdir,decryptdir,autopasswd}
@ -120,6 +120,12 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libexpect%{version}.so
%{_mandir}/man3/libexpect.3* %{_mandir}/man3/libexpect.3*
%changelog %changelog
* Mon Apr 20 2020 openEuler Buildteam <buildteam@openeuler.org> - 1:5.45.4-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix ln error due to missing definition of majorver
* Thu Nov 21 2019 chengquan <chengquan3@huawei.com> - 1:5.45.4-3 * Thu Nov 21 2019 chengquan <chengquan3@huawei.com> - 1:5.45.4-3
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA