From 7bff07e6b118b00cef0526c271bbfe3cc2bd207a Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Oct 28 2015 14:54:10 +0000 Subject: purge /usr/bin/env runtime dep --- diff --git a/konversation.spec b/konversation.spec index 208ba8c..5850096 100644 --- a/konversation.spec +++ b/konversation.spec @@ -1,7 +1,7 @@ Name: konversation Version: 1.6 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A user friendly IRC client License: GPLv2+ @@ -43,6 +43,9 @@ BuildRequires: kf5-kwindowsystem-devel BuildRequires: pkgconfig(phonon4qt5) BuildRequires: pkgconfig(qca2-qt5) BuildRequires: pkgconfig(Qt5Widgets) +# python macros +BuildRequires: python-devel +BuildRequires: sed Requires: qca-qt5-ossl%{?_isa} @@ -79,6 +82,13 @@ desktop-file-install \ --set-comment="%{summary}" \ %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.desktop +# purge use of /usr/bin/env +sed -i \ + -e "s|^#!/usr/bin/env bash|#!/bin/bash|g" \ + -e "s|^#!/usr/bin/env perl|#!/usr/bin/perl|g" \ + -e "s|^#!/usr/bin/env python|#!%{__python}|g" \ + %{buildroot}%{_kf5_datadir}/konversation/scripts/* + %check desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.konversation.desktop @@ -113,6 +123,9 @@ fi %changelog +* Wed Oct 28 2015 Rex Dieter 1.6-5 +- purge /usr/bin/env runtime dep + * Wed Jun 17 2015 Fedora Release Engineering - 1.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild