Accepting request 360675 from devel:tools

1

OBS-URL: https://build.opensuse.org/request/show/360675
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/doxygen?expand=0&rev=63
This commit is contained in:
Dominique Leuenberger 2016-03-01 08:36:00 +00:00 committed by Git OBS Bridge
commit 55f60b20a0
4 changed files with 25 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Feb 21 00:48:27 UTC 2016 - crrodriguez@opensuse.org
- Do not link with -pie if we are not compiling with -fPIE
-------------------------------------------------------------------
Tue Jan 5 07:31:22 UTC 2016 - foss@grueninger.de

View File

@ -65,9 +65,9 @@ export CXXFLAGS="%{optflags} -fPIC"
-Dbuild_xmlparser=ON \
-Dbuild_search=OFF \
-Dbuild_wizard=OFF \
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now" \
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now" \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now"
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,relro,-z,now" \
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,relro,-z,now" \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,relro,-z,now"
make %{?_smp_mflags}
%install

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Feb 21 00:41:56 UTC 2016 - crrodriguez@opensuse.org
- Build against QT5 in newer products
- Do not link with -pie as we are not compiling with -fPIE
-------------------------------------------------------------------
Tue Jan 5 09:35:48 UTC 2016 - pgajdos@suse.com

View File

@ -32,7 +32,15 @@ BuildRequires: cmake >= 2.8.12
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: libjpeg-devel
BuildRequires: python-xml
%if 0%{?suse_version} < 1320
BuildRequires: libqt4-devel >= 4.3
%else
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Xml)
%endif
BuildRequires: update-desktop-files
Requires: doxygen = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -55,9 +63,9 @@ export CFLAGS="%{optflags} -fPIC"
export CXXFLAGS="%{optflags} -fPIC"
%cmake \
-Dbuild_wizard=ON \
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now" \
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now" \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now"
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,relro,-z,now" \
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,relro,-z,now" \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,relro,-z,now"
make %{?_smp_mflags}
%if 0%{?suse_version} > 1230 && 0%{?suse_version} != 1315