diff --git a/libedit.spec b/libedit.spec index 4f9c629..f2617a3 100644 --- a/libedit.spec +++ b/libedit.spec @@ -1,7 +1,7 @@ %define pkgver %(echo %version | tr _ -) Name: libedit -Version: 20210910_3.1 -Release: 2mamba +Version: 20221030_3.1 +Release: 1mamba Summary: The NetBSD Editline library. Group: System/Libraries Vendor: openmamba @@ -24,21 +24,13 @@ BuildRequires: gawk Group: Development/Libraries Summary: Libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: %{name}-static +Obsoletes: %{name}-static < 20221009_3.1 %description devel %{name} is an autotool- and libtoolized port of the NetBSD Editline library (libedit) %{name} provides generic line editing,history, and tokenization functions,similar to those found in GNU Readline. This package contains libraries and header files needed for development. -%package static -Group: Development/Libraries -Summary: Static libraries for %{name} -Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release} - -%description static -%{name} is an autotool- and libtoolized port of the NetBSD Editline library (libedit). -%{name} provides generic line editing,history, and tokenization functions,similar to those found in GNU Readline. -This package contains static libraries needed for development. - %debug_package %prep @@ -75,6 +67,7 @@ mv %{buildroot}%{_mandir}/man3/{history.3,el_history.3} %{_includedir}/*.h %dir %{_includedir}/editline %{_includedir}/editline/readline.h +%{_libdir}/libedit.a %{_libdir}/libedit.so %{_mandir}/man3/editline.3* %{_mandir}/man3/el_*.3* @@ -86,12 +79,13 @@ mv %{buildroot}%{_mandir}/man3/{history.3,el_history.3} %doc examples/fileman.c %doc ChangeLog -%files static -%defattr(-,root,root) -%{_libdir}/libedit.a -%{_libdir}/libedit.la - %changelog +* Thu Nov 03 2022 Automatic Build System 20221030_3.1-1mamba +- automatic version update by autodist + +* Tue Oct 18 2022 Automatic Build System 20221009_3.1-1mamba +- automatic version update by autodist + * Sun Jan 02 2022 Silvan Calarco 20210910_3.1-2mamba - rename man3/history.3 to fix conflict with libreadline-devel