Accepting request 750204 from home:StefanBruens:branches:multimedia:libs
- Drop -Werror=date-time, it is not supported by older GCCs, and newer ones support SOURCE_DATE_EPOCH - Conflict older devel packages, to avoid file conflicts. OBS-URL: https://build.opensuse.org/request/show/750204 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libdbus-c++?expand=0&rev=31
This commit is contained in:
parent
2013fde6be
commit
b94715f96b
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 22 00:37:29 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- Drop -Werror=date-time, it is not supported by older GCCs, and
|
||||||
|
newer ones support SOURCE_DATE_EPOCH
|
||||||
|
- Conflict older devel packages, to avoid file conflicts.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 21 00:54:46 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
Thu Nov 21 00:54:46 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
@ -101,6 +101,7 @@ Summary: Development files for libdbus-c++
|
|||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libdbus-c++%{?psuffix}-1-%{sover} = %{version}
|
Requires: libdbus-c++%{?psuffix}-1-%{sover} = %{version}
|
||||||
Recommends: libdbus-c++-api-docs
|
Recommends: libdbus-c++-api-docs
|
||||||
|
Conflicts: libdbus-c++-devel <= %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
DBus-c++ provides a C++ API for D-BUS. The library has
|
DBus-c++ provides a C++ API for D-BUS. The library has
|
||||||
@ -120,21 +121,21 @@ libdbus-c++.
|
|||||||
%build
|
%build
|
||||||
export SOVER="%{sover}:0:0"
|
export SOVER="%{sover}:0:0"
|
||||||
export LDFLAGS="$LDFLAGS -lexpat -lpthread -pie"
|
export LDFLAGS="$LDFLAGS -lexpat -lpthread -pie"
|
||||||
export CFLAGS="%{optflags} -fPIC -Werror=date-time"
|
export CFLAGS="%{optflags} -fPIC"
|
||||||
export CXXFLAGS="%{optflags} --std=c++11 -fPIC -Werror=date-time"
|
export CXXFLAGS="%{optflags} --std=c++11 -fPIC"
|
||||||
./bootstrap
|
./bootstrap
|
||||||
%configure \
|
%configure \
|
||||||
--disable-ecore \
|
--disable-ecore \
|
||||||
--enable-static=no \
|
--enable-static=no \
|
||||||
%if %{without glib}
|
%if %{without glib}
|
||||||
--disable-glib \
|
--disable-glib \
|
||||||
%endif
|
%endif
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
--enable-doxygen-docs \
|
--enable-doxygen-docs \
|
||||||
%else
|
%else
|
||||||
--disable-doxygen-docs \
|
--disable-doxygen-docs \
|
||||||
--enable-tests \
|
--enable-tests \
|
||||||
--enable-examples
|
--enable-examples
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if "%{flavor}" == "docs"
|
%if "%{flavor}" == "docs"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user