[libdvbpsi-devel] libdvbpsi.spec.in: add distro version identifier to specfile.

Jean-Paul Saman git at videolan.org
Mon Jan 11 09:43:22 CET 2016


libdvbpsi | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Thu Nov 19 10:28:51 2015 +0100| [78dad292a840f37e82c04982417d9f1d34fa7e2c] | committer: Jean-Paul Saman

libdvbpsi.spec.in: add distro version identifier to specfile.

> http://git.videolan.org/gitweb.cgi/libdvbpsi.git/?a=commit;h=78dad292a840f37e82c04982417d9f1d34fa7e2c
---

 libdvbpsi.spec.in |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libdvbpsi.spec.in b/libdvbpsi.spec.in
index e070c18..74cefc1 100644
--- a/libdvbpsi.spec.in
+++ b/libdvbpsi.spec.in
@@ -1,6 +1,5 @@
 %define name		libdvbpsi
 %define version		@PACKAGE_VERSION@
-%define release		1
 
 %define lib_name	%{name}
 
@@ -10,7 +9,10 @@
 %define configure2_5x CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
 %define make %__make
 %define makeinstall_std %__make DESTDIR="$RPM_BUILD_ROOT" install
+%define release		1%{?dist}
 # adjust define for Redhat.
+%else
+%define release		1
 %endif
 
 Summary:	A library for decoding and generating MPEG 2 and DVB PSI sections.



More information about the libdvbpsi-devel mailing list