Add Requires: %{name} = %{version}-%{release} to the tests subpackage

This commit is contained in:
Owen W. Taylor 2017-05-17 15:44:42 -04:00
parent 41d2b22346
commit a8b67586d5

View File

@ -6,7 +6,7 @@
Name: cogl Name: cogl
Version: 1.22.2 Version: 1.22.2
Release: 3%{?dist} Release: 4%{?dist}
Summary: A library for using 3D graphics hardware to draw pretty pictures Summary: A library for using 3D graphics hardware to draw pretty pictures
License: LGPLv2+ License: LGPLv2+
@ -81,6 +81,7 @@ This package contains documentation for %{name}.
%if 0%{?with_tests} %if 0%{?with_tests}
%package tests %package tests
Requires: %{name} = %{version}-%{release}
Summary: Tests for %{name} Summary: Tests for %{name}
%description tests %description tests
@ -155,6 +156,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libcogl-pango.so
%endif %endif
%changelog %changelog
* Mon May 17 2017 Owen Taylor <otaylor@redhat.com> - 1.22.2-4
- Add Requires: %{name} = %{version}-%{release} to the tests subpackage
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.2-3 * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild