From ed5c49b7ae0e68fc4fe71fcbb1e8b514351b657c Mon Sep 17 00:00:00 2001 From: Sergio Pascual Date: Tue, 19 Mar 2013 10:55:18 +0100 Subject: [PATCH] Fixed permissions of libcfitsio and fpack, funpack --- cfitsio.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cfitsio.spec b/cfitsio.spec index c7490e2..0dc1931 100644 --- a/cfitsio.spec +++ b/cfitsio.spec @@ -1,6 +1,6 @@ Name: cfitsio Version: 3.330 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library for manipulating FITS data files Group: Development/Libraries License: MIT @@ -108,11 +108,13 @@ mkdir -p %{buildroot}%{_libdir} mkdir -p %{buildroot}%{_includedir}/%{name} make LIBDIR=%{_lib} INCLUDEDIR=include/%{name} CFITSIO_LIB=%{buildroot}%{_libdir} \ CFITSIO_INCLUDE=%{buildroot}%{_includedir}/%{name} SHLIB_SUFFIX=".so.%{version}" install +chmod 755 %{buildroot}%{_libdir}/libcfitsio.so.%{version} pushd %{buildroot}%{_libdir} ln -s libcfitsio.so.%{version} libcfitsio.so popd mkdir %{buildroot}%{_bindir} cp -p f{,un}pack %{buildroot}%{_bindir}/ +chmod 755 %{buildroot}%{_bindir}/f{,un}pack %post -p /sbin/ldconfig @@ -140,6 +142,9 @@ cp -p f{,un}pack %{buildroot}%{_bindir}/ %{_bindir}/funpack %changelog +* Tue Mar 19 2013 Sergio Pascual - 3.330-3 +- Fixed permissions of libcfitsio and fpack, funpack + * Sun Mar 17 2013 Sergio Pascual - 3.330-2 - Soname contains full package version (upstream doesn't track API changes)