diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-10-04 19:19:08 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-10-04 19:19:08 +0200 |
commit | 4de0aa15e1a8bb62d27cac4a9f5f5d3e3f9f938c (patch) | |
tree | af3668f1f993a9e0651921bc801cb76841868f12 /qelectrotech.spec | |
parent | 48a2680646e794fbdd898d8e34076e532b97dd71 (diff) |
qelectrotech: define QMAKE_COPY_DIR to ensure timestamp are preserved
Diffstat (limited to 'qelectrotech.spec')
-rw-r--r-- | qelectrotech.spec | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/qelectrotech.spec b/qelectrotech.spec index d814bd4..a5da976 100644 --- a/qelectrotech.spec +++ b/qelectrotech.spec @@ -49,10 +49,6 @@ Source0: qelectrotech-%{upver}-svn%{?svnrel}.tgz Source0: http://download.tuxfamily.org/qet/tags/%{rdate}/qelectrotech-%{upver}-src.tar.gz %endif -# Stupid change, to revert -# or switch to qmake-qt5 'QMAKE_COPY_DIR = cp -f -r --preserve=timestamps' qelectrotech.pro -Patch0: r4224-scorpio810.diff - BuildRequires: desktop-file-utils BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtsvg-devel @@ -157,14 +153,14 @@ Colecção de elementos para QElectroTech. %setup -q -n %{name}-%{upver}-src %endif -%patch0 -p1 -R - sed -e s,/usr/local/,%{_prefix}/, \ -e /QET_MAN_PATH/s,'man/','share/man', \ -e /QET_MIME/s,../,, \ -i %{name}.pro -qmake-qt5 %{name}.pro +qmake-qt5 \ + 'QMAKE_COPY_DIR = cp -f -r --preserve=timestamps' \ + qelectrotech.pro %build |