- fix development symlinks
This commit is contained in:
parent
2522a5a81d
commit
5501cdb134
15
libvpd.spec
15
libvpd.spec
@ -1,6 +1,6 @@
|
||||
Name: libvpd
|
||||
Version: 2.2.9
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: VPD Database access library for lsvpd
|
||||
|
||||
License: LGPLv2+
|
||||
@ -36,16 +36,6 @@ make %{?_smp_mflags}
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
find %{buildroot} -type f -name "*.la" -delete
|
||||
|
||||
# re-symlink *.so to SONAME, fix the symlinks issue by downgrade/upgrade
|
||||
pushd %{buildroot}%{_libdir}
|
||||
v=%{version}
|
||||
version=$(echo ${v%.[0-9]*})
|
||||
for lib in libvpd libvpd_cxx; do
|
||||
rm -f ${lib}.so
|
||||
ln -s ${lib}-${version}.so.2 ${lib}.so
|
||||
done
|
||||
popd
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
@ -66,6 +56,9 @@ popd
|
||||
%{_libdir}/pkgconfig/libvpd_cxx-2.pc
|
||||
|
||||
%changelog
|
||||
* Thu Apr 07 2022 Dan Horák <dan[at]danny.cz> - 2.2.9-2
|
||||
- fix development symlinks
|
||||
|
||||
* Wed Apr 06 2022 Than Ngo <than@redhat.com> - 2.2.9-1
|
||||
- rebase to 2.2.9
|
||||
|
||||
|
1
sources
1
sources
@ -1,2 +1 @@
|
||||
SHA512 (libvpd-2.2.8.tar.gz) = d0b7d1760c6ae54717c538405c651317b7318dec5780961f5386c09b7d245e35a84c2fc47d89c47c3cd2168d73d7186f5819981d52c3ba962514639833dc62aa
|
||||
SHA512 (libvpd-2.2.9.tar.gz) = e32a80e0f3aaedbaaac64dbdedfee7eeb2e7a7b6d2d737bca4678d26caadab77032a7c26211a5fc3caed3724488bc8fa99620ceac05f8d156ca90f4452cfaf0a
|
||||
|
Loading…
Reference in New Issue
Block a user