Fixed permissions of libcfitsio and fpack, funpack

epel9
Sergio Pascual 12 years ago
parent c59bad2c23
commit ed5c49b7ae

@ -1,6 +1,6 @@
Name: cfitsio Name: cfitsio
Version: 3.330 Version: 3.330
Release: 2%{?dist} Release: 3%{?dist}
Summary: Library for manipulating FITS data files Summary: Library for manipulating FITS data files
Group: Development/Libraries Group: Development/Libraries
License: MIT License: MIT
@ -108,11 +108,13 @@ mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_includedir}/%{name} mkdir -p %{buildroot}%{_includedir}/%{name}
make LIBDIR=%{_lib} INCLUDEDIR=include/%{name} CFITSIO_LIB=%{buildroot}%{_libdir} \ make LIBDIR=%{_lib} INCLUDEDIR=include/%{name} CFITSIO_LIB=%{buildroot}%{_libdir} \
CFITSIO_INCLUDE=%{buildroot}%{_includedir}/%{name} SHLIB_SUFFIX=".so.%{version}" install CFITSIO_INCLUDE=%{buildroot}%{_includedir}/%{name} SHLIB_SUFFIX=".so.%{version}" install
chmod 755 %{buildroot}%{_libdir}/libcfitsio.so.%{version}
pushd %{buildroot}%{_libdir} pushd %{buildroot}%{_libdir}
ln -s libcfitsio.so.%{version} libcfitsio.so ln -s libcfitsio.so.%{version} libcfitsio.so
popd popd
mkdir %{buildroot}%{_bindir} mkdir %{buildroot}%{_bindir}
cp -p f{,un}pack %{buildroot}%{_bindir}/ cp -p f{,un}pack %{buildroot}%{_bindir}/
chmod 755 %{buildroot}%{_bindir}/f{,un}pack
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -140,6 +142,9 @@ cp -p f{,un}pack %{buildroot}%{_bindir}/
%{_bindir}/funpack %{_bindir}/funpack
%changelog %changelog
* Tue Mar 19 2013 Sergio Pascual <sergiopr@fedoraproject.org> - 3.330-3
- Fixed permissions of libcfitsio and fpack, funpack
* Sun Mar 17 2013 Sergio Pascual <sergiopr@fedoraproject.org> - 3.330-2 * Sun Mar 17 2013 Sergio Pascual <sergiopr@fedoraproject.org> - 3.330-2
- Soname contains full package version (upstream doesn't track API changes) - Soname contains full package version (upstream doesn't track API changes)

Loading…
Cancel
Save