Cleanup spec a bit
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
f757b6f71a
commit
6f0a8f0c6c
@ -15,7 +15,6 @@ Patch101: readline-8.0-shlib.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: git
|
||||
|
||||
%description
|
||||
The Readline library provides a set of functions that allow users to
|
||||
@ -28,7 +27,6 @@ commands.
|
||||
%package devel
|
||||
Summary: Files needed to develop programs which use the readline library
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: ncurses-devel%{?_isa}
|
||||
|
||||
%description devel
|
||||
The Readline library provides a set of functions that allow users to
|
||||
@ -48,16 +46,14 @@ library.
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
export CPPFLAGS="-I%{_includedir}/ncurses"
|
||||
%configure
|
||||
%configure --with-curses --disable-install-examples
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/readline
|
||||
rm -rf $RPM_BUILD_ROOT%{_docdir}/readline
|
||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
|
||||
rm -vrf %{buildroot}%{_docdir}/readline
|
||||
rm -vf %{buildroot}%{_infodir}/dir*
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user