remove obsoleted things
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
parent
0704dd3fdf
commit
68f936d51e
@ -57,8 +57,6 @@ export CPPFLAGS="-I%{_includedir}/ncurses"
|
|||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
mkdir $RPM_BUILD_ROOT/%{_lib}
|
mkdir $RPM_BUILD_ROOT/%{_lib}
|
||||||
@ -72,9 +70,6 @@ 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*
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
/sbin/install-info %{_infodir}/history.info.gz %{_infodir}/dir &> /dev/null
|
/sbin/install-info %{_infodir}/history.info.gz %{_infodir}/dir &> /dev/null
|
||||||
@ -101,8 +96,6 @@ fi
|
|||||||
:
|
:
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc CHANGES NEWS README USAGE
|
%doc CHANGES NEWS README USAGE
|
||||||
/%{_lib}/libreadline*.so.*
|
/%{_lib}/libreadline*.so.*
|
||||||
@ -111,7 +104,6 @@ fi
|
|||||||
%{_infodir}/rluserman.info*
|
%{_infodir}/rluserman.info*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc examples/*.c examples/*.h examples/rlfe
|
%doc examples/*.c examples/*.h examples/rlfe
|
||||||
%{_includedir}/readline
|
%{_includedir}/readline
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/lib*.so
|
||||||
@ -119,7 +111,6 @@ fi
|
|||||||
%{_infodir}/readline.info*
|
%{_infodir}/readline.info*
|
||||||
|
|
||||||
%files static
|
%files static
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/lib*.a
|
%{_libdir}/lib*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user