[packages/libnatpmp] macros for relup

glen glen at pld-linux.org
Sun Nov 29 11:17:23 CET 2015


commit 39967a88e636f23fb4c59f82ec9b7cdca3ac1537
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 29 12:17:07 2015 +0200

    macros for relup

 libnatpmp.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/libnatpmp.spec b/libnatpmp.spec
index 932d5d8..190dac3 100644
--- a/libnatpmp.spec
+++ b/libnatpmp.spec
@@ -1,17 +1,18 @@
+%define	rel		2
+%define	subver	20120821
 Summary:	NAT Port Mapping Protocol library and client
 Summary(pl.UTF-8):	Biblioteka i program kliencki protokołu NAT Port Mapping Protocol
 Name:		libnatpmp
 Version:	0
-%define	subver	20120821
-Release:	0.%{subver}.2
+Release:	0.%{subver}.%{rel}
 License:	BSD
 Group:		Libraries
 Source0:	http://miniupnp.tuxfamily.org/files/%{name}-%{subver}.tar.gz
 # Source0-md5:	d2b9c2dedba3a00deb0e7589982ceced
 URL:		http://miniupnp.tuxfamily.org/libnatpmp.html
+BuildRequires:	/sbin/ldconfig
 BuildRequires:	python-devel
 BuildRequires:	rpm-pythonprov
-BuildRequires:	/sbin/ldconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libnatpmp.git/commitdiff/39967a88e636f23fb4c59f82ec9b7cdca3ac1537



More information about the pld-cvs-commit mailing list