File libavutil-patch.spec of Package libavutil-patch
#
# spec file for package libavutil-patch
#
Name: libavutil-patch
Version: 1.0
Release: 1
Summary: A patch for libavutil time header file
License: GPL-2.0
Group: Development/Libraries/C and C++
BuildArch: noarch
BuildRequires: -post-build-checks
%if 0%{?suse_version} && ( 0%{?suse_version} > 1320 || ( 0%{?is_opensuse} && 0%{?suse_version} == 1315 && 0%{?sle_version} && 0%{?sle_version} > 120100 ) )
Requires: ffmpeg-devel
%define libpath ffmpeg/libavutil
%else
Requires: libavutil-devel
%define libpath libavutil
%endif
%description
This package deactivates the time.h header file coming with libavutil.
%prep
%build
%install
%post
%{__mv} %{_includedir}/%{libpath}/time.h %{_includedir}/%{libpath}/time.h_
%postun
%{__mv} %{_includedir}/%{libpath}/time.h_ %{_includedir}/%{libpath}/time.h
%files
%changelog