Compare commits

..

No commits in common. "c8s" and "c9s" have entirely different histories.
c8s ... c9s

2 changed files with 49 additions and 13 deletions

View File

@ -3,10 +3,9 @@
Name: elinks
Summary: A text-mode Web browser
Version: 0.12
Release: 0.58.%{prerel}%{?dist}
Release: 0.68.%{prerel}%{?dist}
License: GPLv2
URL: http://elinks.or.cz
Group: Applications/Internet
Source: http://elinks.or.cz/download/elinks-%{version}%{prerel}.tar.bz2
Source2: elinks.conf
@ -18,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
@ -76,7 +76,7 @@ Patch18: elinks-0.12pre6-recent-gcc-versions.patch
# drop disablement of TLS1.0 on second attempt to connect
Patch19: elinks-0.12pre6-openssl11.patch
# fix programming mistakes detected by static analysis (#1602483)
# fix programming mistakes detected by static analysis
Patch20: elinks-0.12pre6-static-analysis.patch
%description
@ -103,6 +103,10 @@ autoheader
%build
export CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS) -D_GNU_SOURCE"
# make the code build with lua-5.4.x
CFLAGS="$CFLAGS -DLUA_COMPAT_5_3"
%configure %{?rescue:--without-gpm} \
--enable-256-colors \
--enable-bittorrent \
@ -113,13 +117,12 @@ export CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS) -D_GNU_SOURCE"
--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
@ -150,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
@ -159,8 +163,40 @@ exit 0
%{_mandir}/man5/*
%changelog
* Wed Nov 07 2018 Kamil Dudka <kdudka@redhat.com> - 0.12-0.58.pre6
- fix programming mistakes detected by static analysis (#1602483)
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.12-0.68.pre6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.12-0.67.pre6
- Rebuilt for RHEL 9 BETA for openssl 3.0
Related: rhbz#1971065
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 0.12-0.66.pre6
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-0.65.pre6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Jul 31 2020 Kamil Dudka <kdudka@redhat.com> - 0.12-0.64.pre6
- make the code build with lua-5.4.x
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-0.63.pre6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-0.62.pre6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-0.61.pre6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-0.60.pre6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Nov 07 2018 Kamil Dudka <kdudka@redhat.com> - 0.12-0.59.pre6
- fix programming mistakes detected by static analysis
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-0.58.pre6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Feb 19 2018 Kamil Dudka <kdudka@redhat.com> - 0.12-0.57.pre6
- add explicit BR for the gcc compiler

View File

@ -1 +1 @@
SHA512 (elinks-0.12pre6.tar.bz2) = bff70faafea7c4739695a7fad8f659109894b318588f5a035a5594a6053238789259ce6067c2f5cb97448f138db143adebb23f84bf689bea209ba37573484b7f
3d0962f4b65fb039342fefd3ada050a9 elinks-0.12pre6.tar.bz2