Commit f38a36b3 authored by Jean-Paul Saman's avatar Jean-Paul Saman Committed by Jean-Paul Saman

Change SELinux context for vlc plugins and liba52.so

parent cf859323
Summary: liba52 is a free library for decoding ATSC A/52 streams.
Name: a52dec
Version: 0.7.4
Release: 2
Release: 3
License: GPL
Group: System/Libraries
Source: a52dec-0.7.4.tar.gz
......@@ -25,6 +25,10 @@ make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -fr $RPM_BUILD_ROOT
%post
# Only for SELinux enabled systems such as Fedora, RHEL
chcon -t textrel_shlib_t /usr/lib/liba52.so*
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING HISTORY INSTALL NEWS README TODO
......@@ -36,7 +40,6 @@ rm -fr $RPM_BUILD_ROOT
/usr/share/man/man1/a52dec.1
/usr/share/man/man1/extract_a52.1
%description
liba52 is a free library for decoding ATSC A/52 streams. It is released under the terms of the GPL license. The A/52 standard is used in a variety of applications, including digital television and DVD. It is also known as AC-3.
......
......@@ -237,6 +237,8 @@ desktop-file-install --vendor gnome --delete-original \
%post
ln /dev/cdrom /dev/dvd -sf
# Only for SELinux enabled systems such as Fedora, RHEL
find /usr/lib/vlc -name *.so | xargs chcon -t textrel_shlib_t
%postun
rm -f /dev/dvd
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment