Switch to using upstream openh264-2.3.1 tag

- Make sure the matching openh264 version is listed as part of the rpm
  version tag
- Stop using forge macros to get better control over the version and
  release tags
epel10
Kalev Lember 1 year ago
parent 8b7bec98d4
commit ca9d9ad5b2

1
.gitignore vendored

@ -1 +1,2 @@
/noopenh264-6be12bafe243b6b848f5f32103a3cdcfd20ceb34.tar.bz2 /noopenh264-6be12bafe243b6b848f5f32103a3cdcfd20ceb34.tar.bz2
/noopenh264-openh264-2.3.1.tar.bz2

@ -1,18 +1,19 @@
%global forgeurl https://gitlab.com/freedesktop-sdk/noopenh264
%global commit 6be12bafe243b6b848f5f32103a3cdcfd20ceb34
%forgemeta
%global openh264_version 2.3.1 %global openh264_version 2.3.1
%global openh264_soversion 7 %global openh264_soversion 7
Name: noopenh264 Name: noopenh264
Version: 0.1 # 0.1.0 is the project version from meson.build.
# Additionally, we also include the openh264 version as part of the
# version tag. As "openh264" ends with a digit, _ is used as a separator
# between "openh264" and the openh264 version number.
Version: 0.1.0~openh264_%{openh264_version}
Release: %autorelease Release: %autorelease
Summary: Fake implementation of the OpenH264 library Summary: Fake implementation of the OpenH264 library
License: BSD-2-Clause and LGPL-2.1-or-later License: BSD-2-Clause and LGPL-2.1-or-later
URL: %{forgeurl} URL: https://gitlab.com/freedesktop-sdk/noopenh264
Source: %{forgesource} %global tag openh264-%{openh264_version}
Source: %{url}/-/archive/%{tag}/noopenh264-%{tag}.tar.bz2
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: meson BuildRequires: meson
@ -39,7 +40,7 @@ developing applications that use %{name}.
%prep %prep
%forgeautosetup %autosetup -p1 -n noopenh264-%{tag}
%build %build

@ -1 +1 @@
SHA512 (noopenh264-6be12bafe243b6b848f5f32103a3cdcfd20ceb34.tar.bz2) = 66f57f137c2d4e81818549c454c0d5c6e4e67a0520214125b219111fc5164e5b6e0e6553320ac302e8ddac30ba9328b5f900007b440b4aaba8b20767a1525d61 SHA512 (noopenh264-openh264-2.3.1.tar.bz2) = 5f5c0d18e37a76287d68d87156b9ec1fc677afb1a9f3a0dd2d2090116e392b4cccc501c6451685fca40d35e044fdc897920241f34e4b9b2940edb1e24a715944

Loading…
Cancel
Save