aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2015-11-24 04:42:56 +0800
committerTing-Wei Lan <lantw44@gmail.com>2015-11-24 04:42:56 +0800
commite63554bf4b7ae82d6a1da32d224415da68f26aa6 (patch)
tree45ca89d8525c53a5bbcfb9aa61145f0ae5ceb4ce
parent153af79ea838aefa4f5ba00110f036fc3d602c71 (diff)
downloadcopr-rpm-spec-e63554bf4b7ae82d6a1da32d224415da68f26aa6.tar
copr-rpm-spec-e63554bf4b7ae82d6a1da32d224415da68f26aa6.tar.gz
copr-rpm-spec-e63554bf4b7ae82d6a1da32d224415da68f26aa6.tar.bz2
copr-rpm-spec-e63554bf4b7ae82d6a1da32d224415da68f26aa6.tar.lz
copr-rpm-spec-e63554bf4b7ae82d6a1da32d224415da68f26aa6.tar.xz
copr-rpm-spec-e63554bf4b7ae82d6a1da32d224415da68f26aa6.tar.zst
copr-rpm-spec-e63554bf4b7ae82d6a1da32d224415da68f26aa6.zip
qelly: Drop RPATH and non-needed Requires
-rw-r--r--qelly/qelly/qelly.spec13
1 files changed, 9 insertions, 4 deletions
diff --git a/qelly/qelly/qelly.spec b/qelly/qelly/qelly.spec
index 101b5b5..81ab03f 100644
--- a/qelly/qelly/qelly.spec
+++ b/qelly/qelly/qelly.spec
@@ -1,6 +1,6 @@
Name: qelly
Version: 1.0
-Release: 0.4.beta%{?dist}
+Release: 0.5.beta%{?dist}
Summary: Qelly is a Qt port of Nally
%global real_name Qelly
@@ -11,8 +11,7 @@ License: GPLv3
URL: https://github.com/uranusjr/Qelly
Source0: https://github.com/uranusjr/Qelly/archive/v%{real_version}.tar.gz
-BuildRequires: qt-devel, libqxt-devel
-Requires: qt, libqxt
+BuildRequires: qt-devel, libqxt-devel, chrpath
%description
Qelly (pronounced as the English name "Kelly") is a Qt port of Nally, the
@@ -26,12 +25,13 @@ name), but more features from other Telnet/SSH clients are also planned.
%setup -q -n %{real_name}-%{real_version}
%build
-qmake-qt4
+%{_qt4_qmake}
make %{?_smp_mflags}
%install
mkdir -p %{buildroot}/usr/bin
+chrpath -d "bin/Qelly"
install -m 755 "bin/Qelly" "%{buildroot}/usr/bin"
%files
@@ -41,6 +41,11 @@ install -m 755 "bin/Qelly" "%{buildroot}/usr/bin"
%doc AUTHORS CHANGES README.md
%changelog
+* Mon Nov 23 2015 Ting-Wei Lan <lantw44@gmail.com> - 1.0-0.5.beta
+- Disable RPATH
+- Use qmake macro
+- Remove non-needed Requires
+
* Tue Jul 28 2015 Ting-Wei Lan <lantw44@gmail.com> - 1.0-0.4.beta
- Rebuilt for Fedora 23 and 24