From 16927c9b0efa26c6db81ebda2eee4e9cb3438707 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 21 May 2018 08:20:05 -0500 Subject: [PATCH] new URL use %license, %make_build, %make_install --- alpine.spec | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/alpine.spec b/alpine.spec index 14014ed..7529e4c 100644 --- a/alpine.spec +++ b/alpine.spec @@ -6,15 +6,11 @@ Summary: powerful, easy to use console email client Name: alpine Version: 2.21 -Release: 6%{?dist} +Release: 7%{?dist} License: ASL 2.0 -# Upstream change - see https://groups.google.com/forum/#!msg/comp.mail.pine/4w_f1ro6GRA/faiu1Egw_ywJ -#URL: http://re-alpine.sourceforge.net/ -#Source0: http://downloads.sourceforge.net/sourceforge/re-alpine/re-alpine-%{version}%{?pre}.tar.bz2 -URL: http://alpine.freeiz.com/ -#Source0: http://alpine.freeiz.com/alpine/release/src/alpine-%{version}.tar.xz -Source0: http://alpine.freeiz.com/alpine/patches/alpine-%{version}/alpine-%{version}.tar.xz +URL: http://alpine.x10host.com/ +Source0: http://alpine.x10host.com/alpine/patches/alpine-%{version}/alpine-%{version}.tar.xz Source1: README.fedora # Using "Conflicts" instead of Obsoletes because while alpine is substantially @@ -91,11 +87,11 @@ touch imap/ip6 --with-system-pinerc=%{_sysconfdir}/pine.conf \ --with-system-fixed-pinerc=%{_sysconfdir}/pine.conf.fixed -make %{?_smp_mflags} EXTRACFLAGS="$RPM_OPT_FLAGS" +%make_build EXTRACFLAGS="$RPM_OPT_FLAGS" %install -make install DESTDIR=$RPM_BUILD_ROOT +%make_install # create/touch %ghost'd files mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} @@ -104,8 +100,9 @@ touch $RPM_BUILD_ROOT%{_sysconfdir}/pine.conf.fixed %files -%doc README LICENSE +%doc README %doc README.fedora +%license LICENSE %ghost %config(noreplace) %{_sysconfdir}/pine.conf %ghost %config(noreplace) %{_sysconfdir}/pine.conf.fixed %{_bindir}/alpine @@ -121,6 +118,10 @@ touch $RPM_BUILD_ROOT%{_sysconfdir}/pine.conf.fixed %changelog +* Mon May 21 2018 Rex Dieter - 2.21-7 +- new URL +- use %%license, %%make_build, %%make_install + * Tue Mar 06 2018 josef radinger - 2.21-6 - add Buildrequires: gcc https://fedoraproject.org/wiki/Packaging:C_and_C++