]> git.pld-linux.org Git - packages/make-request.git/commitdiff
v1.87: use standard sendmail path, do not rely on postfix or sendmail installation... auto/th/make-request-1.87-1
authorElan Ruusamäe <glen@delfi.ee>
Fri, 16 May 2014 05:55:46 +0000 (08:55 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 16 May 2014 05:55:46 +0000 (08:55 +0300)
make-request.spec

index 8cf076c751684a6c5ed7e1dca70862bc9bc0218d..603aaaf3868c48b9b0eccc1c221e54c04f1ed567 100644 (file)
@@ -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}
This page took 0.135296 seconds and 4 git commands to generate.