Spec file cleanup

This commit is contained in:
Robert Scheck 2020-12-25 17:26:59 +00:00
parent 38fd52cb92
commit 1b7b1a73a1
1 changed files with 2 additions and 3 deletions

View File

@ -21,7 +21,7 @@ to those found in GNU Readline.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: ncurses-devel%{?_isa}
%description devel
@ -42,12 +42,11 @@ sed -i "s/lncurses/ltinfo/" configure
%make_install
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
# See rhbz#1349671
rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/history.3*
rm -f $RPM_BUILD_ROOT%{_mandir}/man3/history.3*
%ldconfig_scriptlets
%files
%{!?_licensedir:%global license %%doc}
%license COPYING
%doc ChangeLog THANKS
%{_mandir}/man5/editrc.5*