Repocop reports by srpm

  rpm id test Status message
vlc-mini-2.2.6.20170917-alt1.M80P.1.x86_64 arch-dep-package-has-big-usr-share info The package has a significant amount of architecture-independent data in /usr/share, while it is an architecture-dependent package. This is wasteful of mirror space and bandwidth, as we then end up with multiple copies of this data, one for each architecture. If the data in /usr/share is not architecture-independent, it is a policy violation, and in this case, you should move that data elsewhere.
vlc-mini-2.2.6.20170917-alt1.M80P.1.x86_64 unsafe-tmp-usage-in-scripts fail The test discovered scripts with errors which may be used by a user for damaging important system files. For example if a script uses in its work a temp file which is created in /tmp directory, then every user can create symlinks with the same name (pattern) in this directory in order to destroy or rewrite some system or another user's files. Scripts _must_ _use_ mktemp/tempfile or must use $TMPDIR. mktemp/tempfile is safest. $TMPDIR is safer than /tmp/ because libpam-tmpdir creates a subdirectory of /tmp that is only accessible by that user, and then sets TMPDIR and other variables to that. Hence, it doesn't matter nearly as much if you create a non-random filename, because nobody but you can access it. Found error in /usr/share/vlc/utils/video-vlc-default.sh: $ grep -A5 -B5 /tmp/ /usr/share/vlc/utils/video-vlc-default.sh MIME_FILE=~/.local/share/applications/defaults.list if [ ! -f $MIME_FILE ] then echo "[Default Applications]" > $MIME_FILE else grep -v 'video/' $MIME_FILE > /tmp/vlc.defaults.list.tmp mv /tmp/vlc.defaults.list.tmp $MIME_FILE fi ls /usr/share/mime/video/3gpp.xml /usr/share/mime/video/3gpp2.xml /usr/share/mime/video/annodex.xml /usr/share/mime/video/dv.xml /usr/share/mime/video/isivideo.xml /usr/share/mime/video/mj2.xml /usr/share/mime/video/mp2t.xml /usr/share/mime/video/mp4.xml /usr/share/mime/video/mpeg.xml /usr/share/mime/video/ogg.xml /usr/share/mime/video/quicktime.xml /usr/share/mime/video/vnd.mpegurl.xml /usr/share/mime/video/vnd.rn-realvideo.xml /usr/share/mime/video/vnd.vivo.xml /usr/share/mime/video/wavelet.xml /usr/share/mime/video/webm.xml /usr/share/mime/video/x-anim.xml /usr/share/mime/video/x-flic.xml /usr/share/mime/video/x-flv.xml /usr/share/mime/video/x-javafx.xml /usr/share/mime/video/x-matroska-3d.xml /usr/share/mime/video/x-matroska.xml /usr/share/mime/video/x-mng.xml /usr/share/mime/video/x-ms-wmv.xml /usr/share/mime/video/x-msvideo.xml /usr/share/mime/video/x-nsv.xml /usr/share/mime/video/x-ogm+ogg.xml /usr/share/mime/video/x-sgi-movie.xml /usr/share/mime/video/x-theora+ogg.xml | sed -e 's@/usr/share/mime/@@' -e 's/\.xml/=vlc.desktop/' >> $MIME_FILE Found error in /usr/share/vlc/utils/audio-vlc-default.sh: $ grep -A5 -B5 /tmp/ /usr/share/vlc/utils/audio-vlc-default.sh MIME_FILE=~/.local/share/applications/defaults.list if [ ! -f $MIME_FILE ] then echo "[Default Applications]" > $MIME_FILE else grep -v 'audio/' $MIME_FILE > /tmp/vlc.defaults.list.tmp mv /tmp/vlc.defaults.list.tmp $MIME_FILE fi ls /usr/share/mime/audio/aac.xml /usr/share/mime/audio/ac3.xml /usr/share/mime/audio/amr-wb.xml /usr/share/mime/audio/amr.xml /usr/share/mime/audio/annodex.xml /usr/share/mime/audio/basic.xml /usr/share/mime/audio/flac.xml /usr/share/mime/audio/midi.xml /usr/share/mime/audio/mp2.xml /usr/share/mime/audio/mp4.xml /usr/share/mime/audio/mpeg.xml /usr/share/mime/audio/ogg.xml /usr/share/mime/audio/prs.sid.xml /usr/share/mime/audio/vnd.dts.hd.xml /usr/share/mime/audio/vnd.dts.xml /usr/share/mime/audio/vnd.rn-realaudio.xml /usr/share/mime/audio/webm.xml /usr/share/mime/audio/x-adpcm.xml /usr/share/mime/audio/x-aifc.xml /usr/share/mime/audio/x-aiff.xml /usr/share/mime/audio/x-amzxml.xml /usr/share/mime/audio/x-ape.xml /usr/share/mime/audio/x-flac+ogg.xml /usr/share/mime/audio/x-gsm.xml /usr/share/mime/audio/x-iriver-pla.xml /usr/share/mime/audio/x-it.xml /usr/share/mime/audio/x-m4b.xml /usr/share/mime/audio/x-matroska.xml /usr/share/mime/audio/x-minipsf.xml /usr/share/mime/audio/x-mo3.xml /usr/share/mime/audio/x-mod.xml /usr/share/mime/audio/x-mpegurl.xml /usr/share/mime/audio/x-ms-asx.xml /usr/share/mime/audio/x-ms-wma.xml /usr/share/mime/audio/x-musepack.xml /usr/share/mime/audio/x-opus+ogg.xml /usr/share/mime/audio/x-pn-audibleaudio.xml /usr/share/mime/audio/x-psf.xml /usr/share/mime/audio/x-psflib.xml /usr/share/mime/audio/x-riff.xml /usr/share/mime/audio/x-s3m.xml /usr/share/mime/audio/x-scpls.xml /usr/share/mime/audio/x-speex+ogg.xml /usr/share/mime/audio/x-speex.xml /usr/share/mime/audio/x-stm.xml /usr/share/mime/audio/x-tta.xml /usr/share/mime/audio/x-voc.xml /usr/share/mime/audio/x-vorbis+ogg.xml /usr/share/mime/audio/x-wav.xml /usr/share/mime/audio/x-wavpack-correction.xml /usr/share/mime/audio/x-wavpack.xml /usr/share/mime/audio/x-xi.xml /usr/share/mime/audio/x-xm.xml /usr/share/mime/audio/x-xmf.xml | sed -e 's@/usr/share/mime/@@' -e 's/\.xml/=vlc.desktop/' >> $MIME_FILE

generated by repocop at Sat Feb 23 06:30:57 2019