diff --git a/1.1.tar.gz b/eglexternalplatform-1.1.tar.gz similarity index 100% rename from 1.1.tar.gz rename to eglexternalplatform-1.1.tar.gz diff --git a/eglexternalplatform.changes b/eglexternalplatform.changes index ecfd3a8..8d40560 100644 --- a/eglexternalplatform.changes +++ b/eglexternalplatform.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Jul 4 17:10:01 UTC 2021 - Callum Farmer + +- Use better tarball URL +- Run spec-cleaner + ------------------------------------------------------------------- Thu Jul 1 22:31:22 UTC 2021 - Jan Engelhardt diff --git a/eglexternalplatform.spec b/eglexternalplatform.spec index f49a2c0..daa8592 100644 --- a/eglexternalplatform.spec +++ b/eglexternalplatform.spec @@ -19,14 +19,12 @@ Name: eglexternalplatform Version: 1.1 Release: 0 -URL: https://github.com/NVIDIA/eglexternalplatform Summary: The EGL External Platform interface License: MIT Group: Development/Libraries/C and C++ -Source: https://github.com/NVIDIA/eglexternalplatform/archive/refs/tags/%{version}.tar.gz - -# Build-time parameters -BuildRequires: pkg-config +URL: https://github.com/NVIDIA/eglexternalplatform +Source0: https://github.com/NVIDIA/eglexternalplatform/archive/%{version}/%{name}-%{version}.tar.gz +BuildRequires: pkgconfig BuildArch: noarch %description @@ -49,15 +47,15 @@ EGL functions. %build %install -install -d -m0755 %{buildroot}/%{_datadir}/pkgconfig -install -d -m0755 %{buildroot}/%{_includedir}/EGL -install -m0644 eglexternalplatform.pc %{buildroot}/%{_datadir}/pkgconfig/ -install -m0644 interface/*.h %{buildroot}/%{_includedir}/EGL/ +install -d -m0755 %{buildroot}%{_datadir}/pkgconfig +install -d -m0755 %{buildroot}%{_includedir}/EGL +install -m0644 eglexternalplatform.pc %{buildroot}%{_datadir}/pkgconfig +install -m0644 interface/*.h %{buildroot}%{_includedir}/EGL %files devel %license COPYING %doc README.md %{_datadir}/pkgconfig/eglexternalplatform.pc -%{_includedir}/EGL/ +%{_includedir}/EGL %changelog