Update to 1.18 - Closes rhbz#1805337
- Swich homepage to https - Use upstream lzip file, koji can handle it with the correct BuildRequire - Check gpg signature - Add check section - Convert to rpmautospec - Change from GPLv3+ to GPLv2
This commit is contained in:
parent
719237d169
commit
c3e1319fcb
2
.gitignore
vendored
2
.gitignore
vendored
@ -11,3 +11,5 @@ ed-1.4.tar.gz
|
||||
/ed-1.13.tar.bz2
|
||||
/ed-1.14.1.tar.bz2
|
||||
/ed-1.14.2.tar.xz
|
||||
/ed-1.18.tar.lz
|
||||
/ed-1.18.tar.lz.sig
|
||||
|
56
antoniodiazdiaz-keyring.asc
Normal file
56
antoniodiazdiaz-keyring.asc
Normal file
@ -0,0 +1,56 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Comment: Hostname:
|
||||
Version: Hockeypuck ~unreleased
|
||||
|
||||
xsDiBD9odIARBADkRI3Qc2qWpoxOFBlD8L5JaQlIEAaPI/19Y/z4ORHESY6s2Tfm
|
||||
EtC51vlu8V/hXX8Sh4OZC3CrBIwhvSyIVIXbas+GR09B+8GRsfekRUS7jiwz/FsZ
|
||||
Rnb0AjV1zNjJZazjyOUQjBou3Mo1MwiQXzeMQzqLC1xW+ABkAbQnAnZZIwCgvquq
|
||||
rmQ1LKpBpYhb876T8x9TZIcD/2KTMvrvJVj+tKiRp6Wfiib8B4unllXAQ04hlul2
|
||||
FP5oVIETdhQjsxj7/8F8yOONGgnL5Vn1+6sldd0LQ9il4MiZ36VFOec2xAeyYoB1
|
||||
D3hup/zUTjzljj+JyKyGXahrwm0941QhYr+Kw/99dvE0pB8CsaQ5/e5R70uv7YnD
|
||||
ZT9xA/wO4acdvGCLDw5ZPVKZW1rcgGL1Pr2nWCc92hv4SxdSWu3FU8aeGOVwJa2q
|
||||
I/CwiEk2oEXI/WwTEf9mde3qlsc1SkRKgR0DDj+7Az5MUcilCUDv2BG2mLa+dEus
|
||||
zwqLDPmjo2AWP1L2UIx7c46U9suvcGBwsI7NSnD9PLrvrUVGYs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|
||||
TB62ZG2vvqY0hz1z4kqVxANFyCKFPWBT8C+SzGSNR4a2Olh6z1MjRDmeuEchIT6j
|
||||
wbodyKosF27+9Cz+cm5QJFgEjRe0GeIkJtF/hpHmCHFE2gbdgpuO8FZ87TqNZ/7t
|
||||
W/2x0jQ8utnOwE0EP2h0khAEALs2v8E4IE6i8W0gCcW59yUGJRnWMLyS81MLSLy+
|
||||
lquHRaujJEI1/Ni6NzgfrMtt7/2E+F7FJNHwYPSrebYzEacAOlvCEcWuwwr5OmT9
|
||||
29ru3CU9abC3hk6X7CyZdEb13qINd2BV9OG5djTT2VjpNFQeU9YIJ7jOSOxFXRKr
|
||||
2rLTAAMFBACHcUXAcqrYz2p+7KTGWEykO3YJt6LCch4yk4fBehVwbxqF/GVpPUn1
|
||||
GcoiTMwn0pK57Kpa+MasN9YCagVteBD+u/zaqYQzArCaDvmTOS16VWUUyJypfU3U
|
||||
pPVO1x7RQDG7F3VWL9J8zMkttzSzh8cN1+dVkft+Cr5Iz0XQMdyqe8JGBBgRAgAG
|
||||
BQI/aHSSAAoJEI/plQMTLXdCaHYAn1bocEx8GNykRG/RBe2octjFEFlNAKCMIurP
|
||||
IOzYo20sBAq7kIR9x8qvwcJOBBgRAgAGBQI/aHSSABIJEI/plQMTLXdCB2VHUEcA
|
||||
AQFodgCfVuhwTHwY3KREb9EF7ahy2MUQWU0AoIwi6s8g7NijbSwECruQhH3Hyq/B
|
||||
=d3KY
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
60
ed.spec
60
ed.spec
@ -1,42 +1,58 @@
|
||||
Summary: The GNU line editor
|
||||
Name: ed
|
||||
Version: 1.14.2
|
||||
Version: 1.18
|
||||
Release: %autorelease
|
||||
License: GPLv3+ and GFDL
|
||||
# Note: Upstream provides only lzip compressed tarballs which
|
||||
# koji can't handle. Repackaging required:
|
||||
#Source: https://download.savannah.gnu.org/releases/ed/%{name}-%{version}.tar.lz
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
URL: http://www.gnu.org/software/ed/
|
||||
|
||||
# The entire source is GPLv2 except doc/ed.info and doc/ed.texi, which are GFDL
|
||||
License: GPLv2 and GFDL
|
||||
URL: https://www.gnu.org/software/ed/
|
||||
Source0: https://download.savannah.gnu.org/releases/ed/%{name}-%{version}.tar.lz
|
||||
Source1: https://download.savannah.gnu.org/releases/ed/%{name}-%{version}.tar.lz.sig
|
||||
Source2: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8FE99503132D7742#./antoniodiazdiaz-keyring.asc
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
Requires(post): info
|
||||
Requires(preun): info
|
||||
BuildRequires: lzip
|
||||
# for gpg verification
|
||||
BuildRequires: gnupg2
|
||||
|
||||
%description
|
||||
Ed is a line-oriented text editor, used to create, display, and modify
|
||||
text files (both interactively and via shell scripts). For most
|
||||
purposes, ed has been replaced in normal usage by full-screen editors
|
||||
(emacs and vi, for example).
|
||||
|
||||
Ed was the original UNIX editor, and may be used by some programs. In
|
||||
general, however, you probably don't need to install it and you probably
|
||||
won't use it.
|
||||
ed is a line-oriented text editor, used to create, display, and modify text
|
||||
files (both interactively and via shell scripts). For most purposes, ed has been
|
||||
replaced in normal usage by full-screen editors (emacs and vi, for example).
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make_build CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
|
||||
%set_build_flags
|
||||
# Custom configure script; not Autoconf, so we do not use %%configure macro
|
||||
./configure \
|
||||
--prefix=%{_prefix} \
|
||||
--exec-prefix=%{_exec_prefix} \
|
||||
--bindir=%{_bindir} \
|
||||
--datarootdir=%{_datadir} \
|
||||
--infodir=%{_infodir} \
|
||||
--mandir=%{_mandir} \
|
||||
--program-prefix=%{?_program_prefix} \
|
||||
CC="${CC-gcc}" \
|
||||
CPPFLAGS="${CPPFLAGS}" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -vrf %{buildroot}%{_infodir}/dir
|
||||
|
||||
%check
|
||||
%make_build check
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc ChangeLog NEWS README TODO AUTHORS
|
||||
%license COPYING doc/fdl.texi
|
||||
%doc ChangeLog NEWS README AUTHORS
|
||||
%{_bindir}/ed
|
||||
%{_bindir}/red
|
||||
%{_mandir}/man1/ed.1*
|
||||
|
3
sources
3
sources
@ -1 +1,2 @@
|
||||
SHA512 (ed-1.14.2.tar.xz) = de838a6df785c7dc80f4b5ba84330bbe743983fd81218321d4ab84c4c3688fdafb4c005502f3228f0bfa2b6bcf342d64d9523ab73ee440b4f305a033f567cbc2
|
||||
SHA512 (ed-1.18.tar.lz) = e5dac94697d63fb90cc17e3e653fa56309e9652cc25b2e98a0e21f1ed41e38c48bc33b5fc746275a59e702d1644d3af88f3d82598b482f7309f4e68aab783286
|
||||
SHA512 (ed-1.18.tar.lz.sig) = f3df77755ac2b47825102b7c6d1774c8aee3f93e0824cebb6d7ea6cda50c1233673ed4c56c4ed135438e993399685cf45616c1fbeb85b2a8501059abe818908d
|
||||
|
Loading…
Reference in New Issue
Block a user