[dnssec-check: 5/5] Added a patch to fix the install path
Wes Hardaker
hardaker at fedoraproject.org
Sat Jan 28 00:14:41 UTC 2012
commit cdfff4d9922b539e9a3375079abca3d3af6073f6
Author: Wes Hardaker <opensource at hardakers.net>
Date: Fri Jan 27 16:13:35 2012 -0800
Added a patch to fix the install path
dnssec-check-fix-install-path.1.12.patch | 12 ++++++++++++
dnssec-check.spec | 3 +++
2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/dnssec-check-fix-install-path.1.12.patch b/dnssec-check-fix-install-path.1.12.patch
new file mode 100644
index 0000000..2c95cb3
--- /dev/null
+++ b/dnssec-check-fix-install-path.1.12.patch
@@ -0,0 +1,12 @@
+--- dnssec-check-1.12/dnssec-check.pro.installpath 2012-01-26 06:34:39.000000000 -0800
++++ dnssec-check-1.12/dnssec-check.pro 2012-01-27 16:12:53.496014964 -0800
+@@ -141,6 +141,9 @@
+ # Please do not modify the following two lines. Required for deployment.
+ include(qmlapplicationviewer/qmlapplicationviewer.pri)
+ qtcAddDeployment()
++# the above file defaults to /opt
++installPrefix=/usr
++target.path=/usr/bin
+
+ OTHER_FILES += \
+ android/src/eu/licentia/necessitas/industrius/QtActivity.java \
diff --git a/dnssec-check.spec b/dnssec-check.spec
index a70e198..e274cfa 100644
--- a/dnssec-check.spec
+++ b/dnssec-check.spec
@@ -7,6 +7,7 @@ Group: Applications/Internet
URL: http://www.dnssec-tools.org/
Source0: https://www.dnssec-tools.org/download/%{name}-%{version}.tar.gz
Source1: dnssec-check.desktop
+Patch1: dnssec-check-fix-install-path.1.12.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -26,6 +27,8 @@ and what was tested.
%prep
%setup -q
+%patch1 -p1 -b .installpath
+
%build
qmake-qt4 PREFIX=/usr
make %{?_smp_mflags}
More information about the scm-commits
mailing list