Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/libedit.git#8304cb8cac9c199595176c6a7d3bcf806df6afbd
This commit is contained in:
DistroBaker 2021-02-04 09:29:03 +01:00
parent 6c3eb5274c
commit 460617f581
1 changed files with 10 additions and 7 deletions

View File

@ -4,12 +4,13 @@
Summary: The NetBSD Editline library
Name: libedit
Version: 3.1
Release: 33.%{snap}cvs%{?dist}
Release: 34.%{snap}cvs%{?dist}
License: BSD
URL: http://www.thrysoee.dk/editline/
Source0: http://www.thrysoee.dk/editline/%{name}-%{snap}-%{version}.tar.gz
URL: https://www.thrysoee.dk/editline/
Source0: https://www.thrysoee.dk/editline/%{name}-%{snap}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: groff-base
BuildRequires: make
BuildRequires: ncurses-devel
%description
@ -20,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
@ -38,15 +39,14 @@ sed -i "s/lncurses/ltinfo/" configure
%make_build
%install
%make_install INSTALL="%{__install} -p"
%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*
@ -64,6 +64,9 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/history.3*
%{_includedir}/editline/readline.h
%changelog
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-34.20191231cvs
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-33.20191231cvs
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild