Simplify version macros
This commit is contained in:
parent
34c410b3a2
commit
1aa14e53b3
@ -1,10 +1,9 @@
|
||||
%{?mingw_package_header}
|
||||
|
||||
%global api_version 1.0
|
||||
%global gstreamer_version 1.11.1
|
||||
|
||||
Name: mingw-gstreamer1-plugins-bad-free
|
||||
Version: %{gstreamer_version}
|
||||
Version: 1.11.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Cross compiled GStreamer1 plug-ins "bad"
|
||||
|
||||
@ -28,10 +27,10 @@ BuildRequires: mingw32-filesystem >= 95
|
||||
BuildRequires: mingw64-filesystem >= 95
|
||||
BuildRequires: mingw32-gcc
|
||||
BuildRequires: mingw64-gcc
|
||||
BuildRequires: mingw32-gstreamer1 >= %{gstreamer_version}
|
||||
BuildRequires: mingw64-gstreamer1 >= %{gstreamer_version}
|
||||
BuildRequires: mingw32-gstreamer1-plugins-base >= %{gstreamer_version}
|
||||
BuildRequires: mingw64-gstreamer1-plugins-base >= %{gstreamer_version}
|
||||
BuildRequires: mingw32-gstreamer1 >= %{version}
|
||||
BuildRequires: mingw64-gstreamer1 >= %{version}
|
||||
BuildRequires: mingw32-gstreamer1-plugins-base >= %{version}
|
||||
BuildRequires: mingw64-gstreamer1-plugins-base >= %{version}
|
||||
BuildRequires: mingw32-bzip2
|
||||
BuildRequires: mingw64-bzip2
|
||||
BuildRequires: mingw32-gettext
|
||||
@ -80,7 +79,7 @@ well enough, or the code is not of good enough quality.
|
||||
# Mingw32
|
||||
%package -n mingw32-gstreamer1-plugins-bad-free
|
||||
Summary: %{summary}
|
||||
Requires: mingw32-gstreamer1 >= %{gstreamer_version}
|
||||
Requires: mingw32-gstreamer1 >= %{version}
|
||||
Obsoletes: mingw32-gstreamer1-plugins-bad < 1.4.4-2
|
||||
Provides: mingw32-gstreamer1-plugins-bad = 1.4.4-2
|
||||
|
||||
@ -95,7 +94,7 @@ well enough, or the code is not of good enough quality.
|
||||
# Mingw64
|
||||
%package -n mingw64-gstreamer1-plugins-bad-free
|
||||
Summary: %{summary}
|
||||
Requires: mingw64-gstreamer1 >= %{gstreamer_version}
|
||||
Requires: mingw64-gstreamer1 >= %{version}
|
||||
Obsoletes: mingw64-gstreamer1-plugins-bad < 1.4.4-2
|
||||
Provides: mingw64-gstreamer1-plugins-bad = 1.4.4-2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user