Remove rpath
(cherry picked from commit 0c99c6c9063b9ddf8eaf930ea4db23a9b2f7a60c)
This commit is contained in:
parent
851d48ea2f
commit
019f45cb59
@ -1,6 +1,6 @@
|
|||||||
Name: cfitsio
|
Name: cfitsio
|
||||||
Version: 3.490
|
Version: 3.490
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Library for manipulating FITS data files
|
Summary: Library for manipulating FITS data files
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://heasarc.gsfc.nasa.gov/fitsio/
|
URL: http://heasarc.gsfc.nasa.gov/fitsio/
|
||||||
@ -11,7 +11,7 @@ Patch0001: cfitsio-noversioncheck.patch
|
|||||||
Patch0002: cfitsio-pkgconfig.patch
|
Patch0002: cfitsio-pkgconfig.patch
|
||||||
Patch0003: cfitsio-ldflags.patch
|
Patch0003: cfitsio-ldflags.patch
|
||||||
|
|
||||||
BuildRequires: gcc-gfortran zlib-devel bzip2-devel
|
BuildRequires: gcc-gfortran zlib-devel bzip2-devel chrpath
|
||||||
Requires(post): /sbin/ldconfig
|
Requires(post): /sbin/ldconfig
|
||||||
Requires(postun): /sbin/ldconfig
|
Requires(postun): /sbin/ldconfig
|
||||||
|
|
||||||
@ -92,6 +92,8 @@ cp -p f{,un}pack %{buildroot}%{_bindir}
|
|||||||
chmod 755 %{buildroot}%{_libdir}/libcfitsio.so.*
|
chmod 755 %{buildroot}%{_libdir}/libcfitsio.so.*
|
||||||
chmod 755 %{buildroot}%{_bindir}/f{,un}pack
|
chmod 755 %{buildroot}%{_bindir}/f{,un}pack
|
||||||
|
|
||||||
|
chrpath -d %{buildroot}%{_bindir}/f{,un}pack
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
@ -117,6 +119,9 @@ chmod 755 %{buildroot}%{_bindir}/f{,un}pack
|
|||||||
%{_bindir}/funpack
|
%{_bindir}/funpack
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 24 2022 caodongxia <caodongxia@h-partners.com> -3.490-2
|
||||||
|
- Remove rpath
|
||||||
|
|
||||||
* Wed Feb 09 2022 yaoxin <yaoxin30@huawei.com> - 3.490-1
|
* Wed Feb 09 2022 yaoxin <yaoxin30@huawei.com> - 3.490-1
|
||||||
- Upgrade cfitsio to 3.490 to fix CVE-2018-3848,CVE-2018-3849
|
- Upgrade cfitsio to 3.490 to fix CVE-2018-3848,CVE-2018-3849
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user