[packages/make-request] v1.87: use standard sendmail path, do not rely on postfix or sendmail installation path
glen
glen at pld-linux.org
Fri May 16 07:56:09 CEST 2014
commit 1994cc3fba2097e2602f788931de1a840a341379
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri May 16 08:55:46 2014 +0300
v1.87: use standard sendmail path, do not rely on postfix or sendmail installation path
make-request.spec | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/make-request.spec b/make-request.spec
index 8cf076c..603aaaf 100644
--- a/make-request.spec
+++ b/make-request.spec
@@ -1,14 +1,15 @@
+%define githash 044d04b
Summary: Tool for sending PLD-specific build requests
Summary(pl.UTF-8): Narzędzie do wysyłania żądań budowania specyficznych dla PLD
Name: make-request
-Version: 1.86
+Version: 1.87
Release: 1
License: GPL
Group: Development/Tools
-Source0: http://git.pld-linux.org/?p=projects/pld-builder.new.git;a=blob_plain;f=client/make-request.sh;hb=a2cad6fc6983f32892675feda58dc16724530abb;/%{name}-%{version}.sh
-# Source0-md5: 126f7da1d740136c21f7fb83be4536db
+Source0: http://git.pld-linux.org/?p=projects/pld-builder.new.git;a=blob_plain;f=client/make-request.sh;hb=%{githash};/%{name}-%{version}.sh
+# Source0-md5: c191c8b460f0cb47edf1ca51d926b833
URL: http://git.pld-linux.org/?p=projects/pld-builder.new.git;a=summary
-Requires: /usr/sbin/sendmail
+Requires: /usr/lib/sendmail
Requires: gnupg
Obsoletes: pld-builder-client
BuildArch: noarch
@@ -46,6 +47,10 @@ Narzędzie działa z builderami pakietów PLD (lub kompatybilnymi).
%prep
+%build
+ver=$(awk -F= '/^VERSION=/{print $2}' %{SOURCE0})
+test "$ver" = %{version}
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_bindir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/make-request.git/commitdiff/1994cc3fba2097e2602f788931de1a840a341379
More information about the pld-cvs-commit
mailing list