From d3d3e05142f5f780169aa0668a72915f6f1e9c0c Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Wed, 3 Feb 2021 13:19:18 +0100 Subject: [PATCH] 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/elinks.git#842b73842c42f9bf47b3f989b6df660d59d8d4f0 --- elinks.spec | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/elinks.spec b/elinks.spec index 787b2bf..9bdd694 100644 --- a/elinks.spec +++ b/elinks.spec @@ -3,7 +3,7 @@ Name: elinks Summary: A text-mode Web browser Version: 0.12 -Release: 0.64.%{prerel}%{?dist} +Release: 0.65.%{prerel}%{?dist} License: GPLv2 URL: http://elinks.or.cz Source: http://elinks.or.cz/download/elinks-%{version}%{prerel}.tar.bz2 @@ -17,6 +17,7 @@ BuildRequires: gpm-devel BuildRequires: krb5-devel BuildRequires: libidn2-devel BuildRequires: lua-devel +BuildRequires: make BuildRequires: openssl-devel BuildRequires: pkgconfig BuildRequires: zlib-devel @@ -25,8 +26,8 @@ Requires(post): coreutils Requires(post): %{_sbindir}/alternatives Requires(postun): coreutils Requires(postun): %{_sbindir}/alternatives -Provides: webclient -Provides: links = 1:0.97-1 +Provides: webclient +Provides: links = 1:0.97-1 Provides: text-www-browser # Prevent crash when HOME is unset (bug #90663). @@ -116,13 +117,12 @@ CFLAGS="$CFLAGS -DLUA_COMPAT_5_3" --without-spidermonkey \ --without-x -make %{?_smp_mflags} V=1 +%make_build %install -make install DESTDIR=$RPM_BUILD_ROOT V=1 +%make_install rm -f $RPM_BUILD_ROOT%{_datadir}/locale/locale.alias -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} -install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/elinks.conf +install -D -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/elinks.conf touch $RPM_BUILD_ROOT%{_bindir}/links true | gzip -c > $RPM_BUILD_ROOT%{_mandir}/man1/links.1.gz %find_lang elinks @@ -153,7 +153,8 @@ fi exit 0 %files -f elinks.lang -%doc COPYING README +%license COPYING +%doc README %ghost %verify(not md5 size mtime) %{_bindir}/links %{_bindir}/elinks %ghost %verify(not md5 size mtime) %{_mandir}/man1/links.1.gz @@ -162,6 +163,9 @@ exit 0 %{_mandir}/man5/* %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 0.12-0.65.pre6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Fri Jul 31 2020 Kamil Dudka - 0.12-0.64.pre6 - make the code build with lua-5.4.x