decouple from pcre

This commit is contained in:
fly_fzc 2023-04-25 14:16:12 +08:00
parent 94bbf7fe11
commit b35953f62c

View File

@ -2,7 +2,7 @@
Name: slang
Version: 2.3.3
Release: 1
Release: 2
Summary: An interpreted language and programing library
License: GPLv2+
URL: https://www.jedsoft.org/slang/
@ -13,7 +13,7 @@ Obsoletes: %{name}-slsh < %{version}-%{release}
Patch0: slang-sighuptest.patch
BuildRequires: gcc libpng-devel pcre-devel zlib-devel
BuildRequires: gcc libpng-devel zlib-devel
%description
S-Lang is a multi-platform programmer's library designed to allow
@ -41,7 +41,7 @@ Help files for %{name}
sed -i '/^INSTALL_MODULE=/s/_DATA//' configure
%build
%configure --with-{pcre,png,z}lib=%{_libdir} --with-{pcre,png,z}inc=%{_includedir}
%configure --with-{png,z}lib=%{_libdir} --with-{png,z}inc=%{_includedir} --without-pcre
make RPATH="" install_doc_dir=%{_pkgdocdir} all
@ -83,6 +83,9 @@ make check
%{_mandir}/man1/slsh.1*
%changelog
* Tue Apr 25 2023 fuanan <fuanan3@h-partners.com> - 2.3.3-2
- decouple from pcre
* Wed Jan 18 2023 fuanan <fuanan3@h-partners.com> - 2.3.3-1
- update version to 2.3.3