stop moving libreadline under /lib
This is reverts e56f02adc2
:
(05:39:16 PM) mlichvar: /lib is a symlink to /usr/lib these days, so I guess it doesn't matter
(05:39:44 PM) mlichvar: simpler spec is a better spec :)
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
parent
d3056f6e5f
commit
7cb4544948
@ -59,13 +59,6 @@ export CPPFLAGS="-I%{_includedir}/ncurses"
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
mkdir $RPM_BUILD_ROOT/%{_lib}
|
|
||||||
mv $RPM_BUILD_ROOT%{_libdir}/libreadline.so.* $RPM_BUILD_ROOT/%{_lib}
|
|
||||||
for l in $RPM_BUILD_ROOT%{_libdir}/libreadline.so; do
|
|
||||||
ln -sf $(echo %{_libdir} | \
|
|
||||||
sed 's,\(^/\|\)[^/][^/]*,..,g')/%{_lib}/$(readlink $l) $l
|
|
||||||
done
|
|
||||||
|
|
||||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/readline
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/readline
|
||||||
rm -rf $RPM_BUILD_ROOT%{_docdir}/readline
|
rm -rf $RPM_BUILD_ROOT%{_docdir}/readline
|
||||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
|
||||||
@ -98,20 +91,23 @@ fi
|
|||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc CHANGES NEWS README USAGE
|
%doc CHANGES NEWS README USAGE
|
||||||
/%{_lib}/libreadline*.so.*
|
%{_libdir}/libreadline.so.*
|
||||||
%{_libdir}/libhistory*.so.*
|
%{_libdir}/libhistory.so.*
|
||||||
%{_infodir}/history.info*
|
%{_infodir}/history.info*
|
||||||
%{_infodir}/rluserman.info*
|
%{_infodir}/rluserman.info*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc examples/*.c examples/*.h examples/rlfe
|
%doc examples/*.c examples/*.h examples/rlfe
|
||||||
%{_includedir}/readline
|
%{_includedir}/readline/
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/libreadline.so
|
||||||
%{_mandir}/man3/*
|
%{_libdir}/libhistory.so
|
||||||
|
%{_mandir}/man3/readline.3*
|
||||||
|
%{_mandir}/man3/history.3*
|
||||||
%{_infodir}/readline.info*
|
%{_infodir}/readline.info*
|
||||||
|
|
||||||
%files static
|
%files static
|
||||||
%{_libdir}/lib*.a
|
%{_libdir}/libreadline.a
|
||||||
|
%{_libdir}/libhistory.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.3-8
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.3-8
|
||||||
|
Loading…
Reference in New Issue
Block a user