Remove obsolete scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel10^2^2
Igor Gnatenko 6 years ago
parent facb418796
commit 9e151cd015
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -3,7 +3,7 @@
Name: zvbi
Version: 0.2.35
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Raw VBI, Teletext and Closed Caption decoding library
# See NEWS for a full breakdown of licensing.
License: LGPLv2+ and GPLv2+ and BSD
@ -38,8 +38,7 @@ other digital data can be sent during this time period.
%package devel
Summary: Development files for zvbi
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Development files for zvbi
@ -47,8 +46,6 @@ Development files for zvbi
%package fonts
Summary: Fonts from zvbi converted to X11
Requires(post): fontconfig
Requires(postun): fontconfig
BuildArch: noarch
Obsoletes: xawtv-tv-fonts < 3.95
Provides: xawtv-tv-fonts >= 3.95
@ -121,7 +118,6 @@ ln -sf %{fontdir} %{buildroot}%{catalogue}/%{name}
%post
/sbin/ldconfig
%systemd_post zvbid.service
@ -130,20 +126,9 @@ ln -sf %{fontdir} %{buildroot}%{catalogue}/%{name}
%postun
/sbin/ldconfig
%systemd_postun_with_restart zvbid.service
%post fonts
fc-cache -f %{_datadir}/fonts/%{name} || :
%postun fonts
if [ "$1" = "0" ]; then
fc-cache -f %{_datadir}/fonts || :
fi
%files -f %{name}.lang
%{_bindir}/%{name}*
%{_sbindir}/zvbid
@ -171,6 +156,9 @@ fi
%changelog
* Tue Feb 12 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.35-8
- Remove obsolete scriptlets
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.35-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

Loading…
Cancel
Save