Add proper obsoletes/provides tags to provide working upgrade path

This is needed as the binary packages were renamed in a recent commit
This commit is contained in:
Erik van Pienbroek 2015-05-17 02:15:53 +02:00
parent c3ef701753
commit 1d4160ffc5

View File

@ -5,7 +5,7 @@
Name: mingw-gstreamer1-plugins-bad-free
Version: %{gstreamer_version}
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Cross compiled GStreamer1 plug-ins "bad"
# The freeze and nfs plugins are LGPLv2 (only)
@ -76,6 +76,8 @@ well enough, or the code is not of good enough quality.
%package -n mingw32-gstreamer1-plugins-bad-free
Summary: %{summary}
Requires: mingw32-gstreamer1 >= %{gstreamer_version}
Obsoletes: mingw32-gstreamer1-plugins-bad < 1.4.4-2
Provides: mingw32-gstreamer1-plugins-bad = 1.4.4-2
%description -n mingw32-gstreamer1-plugins-bad-free
GStreamer is a streaming media framework, based on graphs of elements which
@ -89,6 +91,8 @@ well enough, or the code is not of good enough quality.
%package -n mingw64-gstreamer1-plugins-bad-free
Summary: %{summary}
Requires: mingw64-gstreamer1 >= %{gstreamer_version}
Obsoletes: mingw64-gstreamer1-plugins-bad < 1.4.4-2
Provides: mingw64-gstreamer1-plugins-bad = 1.4.4-2
%description -n mingw64-gstreamer1-plugins-bad-free
GStreamer is a streaming media framework, based on graphs of elements which
@ -492,6 +496,10 @@ rm -f $RPM_BUILD_ROOT%{mingw64_libdir}/gstreamer-%{api_version}/*.a
%changelog
* Sun May 17 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.4.4-3
- Add proper obsoletes/provides tags to provide working upgrade path
This is needed as the binary packages were renamed in a recent commit
* Thu May 14 2015 Kalev Lember <kalevlember@gmail.com> - 1.4.4-2
- Rebuilt for mingw-gnutls 3.4 ABI change