Fix package name

Since the initial commit the spec file has been generating a package
with a wrong name (mingw-gstreamer1-plugins-bad instead of
mingw-gstreamer1-plugins-bad-free). We decided to keep it in this way
for f21 but change to the right name for f22 (and newers).
This commit is contained in:
Fabiano Fidêncio 2015-03-04 10:37:32 +01:00
parent ac28e92d31
commit a4a6108e5a

View File

@ -73,11 +73,11 @@ well enough, or the code is not of good enough quality.
# Mingw32
%package -n mingw32-gstreamer1-plugins-bad
%package -n mingw32-gstreamer1-plugins-bad-free
Summary: %{summary}
Requires: mingw32-gstreamer1 >= %{gstreamer_version}
%description -n mingw32-gstreamer1-plugins-bad
%description -n mingw32-gstreamer1-plugins-bad-free
GStreamer is a streaming media framework, based on graphs of elements which
operate on media data.
@ -86,11 +86,11 @@ well enough, or the code is not of good enough quality.
# Mingw64
%package -n mingw64-gstreamer1-plugins-bad
%package -n mingw64-gstreamer1-plugins-bad-free
Summary: %{summary}
Requires: mingw64-gstreamer1 >= %{gstreamer_version}
%description -n mingw64-gstreamer1-plugins-bad
%description -n mingw64-gstreamer1-plugins-bad-free
GStreamer is a streaming media framework, based on graphs of elements which
operate on media data.
@ -107,7 +107,7 @@ well enough, or the code is not of good enough quality.
%build
%mingw_configure \
--with-package-name='Fedora Mingw gstreamer1-plugins-bad package' \
--with-package-name='Fedora Mingw gstreamer1-plugins-bad-free package' \
--with-package-origin='http://download.fedora.redhat.com/fedora' \
--enable-debug \
--enable-experimental \
@ -152,11 +152,11 @@ rm -f $RPM_BUILD_ROOT%{mingw64_libdir}/gstreamer-%{api_version}/*.la
rm -f $RPM_BUILD_ROOT%{mingw32_libdir}/gstreamer-%{api_version}/*.a
rm -f $RPM_BUILD_ROOT%{mingw64_libdir}/gstreamer-%{api_version}/*.a
%mingw_find_lang gstreamer1-plugins-bad --all-name
%mingw_find_lang gstreamer1-plugins-bad-free --all-name
# Mingw32
%files -n mingw32-gstreamer1-plugins-bad -f mingw32-gstreamer1-plugins-bad.lang
%files -n mingw32-gstreamer1-plugins-bad-free -f mingw32-gstreamer1-plugins-bad-free.lang
%doc AUTHORS COPYING README REQUIREMENTS
# libraries
@ -324,7 +324,7 @@ rm -f $RPM_BUILD_ROOT%{mingw64_libdir}/gstreamer-%{api_version}/*.a
# Mingw64
%files -n mingw64-gstreamer1-plugins-bad -f mingw64-gstreamer1-plugins-bad.lang
%files -n mingw64-gstreamer1-plugins-bad-free -f mingw64-gstreamer1-plugins-bad-free.lang
%doc AUTHORS COPYING README REQUIREMENTS
# libraries