commit b27c95f05bfd045c437478a354014123ec0ececd
Author: Elan Ruusamäe <[email protected]>
Date:   Thu May 28 12:37:35 2015 +0300

    add rel macro for scripting

 x265.spec | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/x265.spec b/x265.spec
index 4d5521c..b9971d9 100644
--- a/x265.spec
+++ b/x265.spec
@@ -1,8 +1,10 @@
+%define                rel     3
+%define                subver  20140825
 Summary:       H.265/HEVC video encoder
 Summary(pl.UTF-8):     Koder obrazu H.265/HEVC
 Name:          x265
 Version:       1.3
-Release:       0.20140825.3
+Release:       0.%{subver}.%{rel}
 License:       GPL v2+
 Group:         Libraries
 # hg clone -r stable https://bitbucket.org/multicoreware/x265
@@ -68,7 +70,8 @@ Static x265 library.
 Statyczna biblioteka x265.
 
 %prep
-%setup -q -n x265-stable
+%setup -qc
+mv %{name}-stable/* .
 %patch0 -p1
 %patch1 -p1
 
@@ -82,7 +85,6 @@ cd source/build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} -C source/build install \
        DESTDIR=$RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/x265.git/commitdiff/b27c95f05bfd045c437478a354014123ec0ececd

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to