commit 0efe0b22fb3d40fd1a102d1b70a7c98abc053ee7
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Oct 12 15:31:51 2016 +0200
Update to 0.4.2
.gitignore | 4 +---
libvdpau-va-gl.spec | 20 +++++++++++++-------
sources | 2 +-
3 files changed, 15 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7d20932..26d6f89 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1 @@
-v0.3.4.tar.gz
-/v0.3.6.tar.gz
-/v0.4.0.tar.gz
+/libvdpau-va-gl-*.tar.gz
diff --git a/libvdpau-va-gl.spec b/libvdpau-va-gl.spec
index 23098f4..2ee3a12 100644
--- a/libvdpau-va-gl.spec
+++ b/libvdpau-va-gl.spec
@@ -1,11 +1,11 @@
Name: libvdpau-va-gl
-Version: 0.4.0
+Version: 0.4.2
Release: 1%{?dist}
Summary: VDPAU driver with OpenGL/VAAPI back-end
License: LGPLv3
URL:
https://github.com/i-rinat/libvdpau-va-gl
-Source0:
https://github.com/i-rinat/libvdpau-va-gl/archive/v%{version}.tar.gz
+Source0:
https://github.com/i-rinat/%{name}/archive/v%{version}.tar.gz#/%{name}-%{...
#Unlikely to have some meaning outside of intel driver
ExclusiveArch: i686 x86_64 ia64
@@ -15,7 +15,7 @@ BuildRequires: pkgconfig(vdpau)
BuildRequires: pkgconfig(libva-glx)
BuildRequires: pkgconfig(gl)
-Requires: libva-intel-driver
+Requires: libva-intel-driver%{?_isa}
@@ -24,7 +24,7 @@ VDPAU driver with OpenGL/VAAPI back-end.
%prep
-%setup -q
+%autosetup -q
%build
@@ -35,23 +35,29 @@ cd build
-DLIB_INSTALL_DIR=%{_libdir}/vdpau \
..
-make %{?_smp_mflags}
+%make_build
%install
cd build
%make_install
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
%files
-%doc ChangeLog LICENSE README.md
+%doc ChangeLog README.md
+%license LICENSE
%{_libdir}/vdpau/libvdpau_va_gl.so.1
%exclude %{_libdir}/vdpau/libvdpau_va_gl.so
%changelog
+* Wed Oct 12 2016 Nicolas Chauvet <kwizart(a)gmail.com> - 0.4.2-1
+- Update to 0.4.2
+- Add %%{?_isa} to Requires libva-intel-driver
+- Use %%make_build macro
+
* Tue Aug 30 2016 Nicolas Chauvet <kwizart(a)gmail.com> - 0.4.0-1
- Update to 0.4.0
- Drop compat symlink
diff --git a/sources b/sources
index 5e9c2b4..4a609d1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-638244652a702d0262039890904f37ce v0.4.0.tar.gz
+8db21dcfd5cd14c6ec51b992e20369dc libvdpau-va-gl-0.4.2.tar.gz