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: gcc
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: git
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Readline library provides a set of functions that allow users to
|
The Readline library provides a set of functions that allow users to
|
||||||
@ -28,7 +27,6 @@ commands.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Files needed to develop programs which use the readline library
|
Summary: Files needed to develop programs which use the readline library
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: ncurses-devel%{?_isa}
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The Readline library provides a set of functions that allow users to
|
The Readline library provides a set of functions that allow users to
|
||||||
@ -48,16 +46,14 @@ library.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CPPFLAGS="-I%{_includedir}/ncurses"
|
%configure --with-curses --disable-install-examples
|
||||||
%configure
|
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/readline
|
rm -vrf %{buildroot}%{_docdir}/readline
|
||||||
rm -rf $RPM_BUILD_ROOT%{_docdir}/readline
|
rm -vf %{buildroot}%{_infodir}/dir*
|
||||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
|
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user