SHA256
8
0
forked from pool/cppunit

Accepting request 699649 from home:marxin:branches:devel:libraries:c_c++

- Add gcc9-Wdeprecated-copy-1.patch and gcc9-Wdeprecated-copy-2.patch
  in order to fix boo#1121281.

OBS-URL: https://build.opensuse.org/request/show/699649
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cppunit?expand=0&rev=15
This commit is contained in:
Tomáš Chvátal
2019-04-30 11:46:29 +00:00
committed by Git OBS Bridge
parent b50367f3bf
commit 5164c87fa9
4 changed files with 104 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package cppunit
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -21,12 +21,14 @@ Name: cppunit
Version: 1.14.0
Release: 0
Summary: C++ Port of the JUnit Testing Framework
License: LGPL-2.1+
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
Url: http://www.freedesktop.org/wiki/Software/cppunit
Source: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.gz
Source1: cppunit-devel.desktop
Source99: baselibs.conf
Patch0: gcc9-Wdeprecated-copy-1.patch
Patch1: gcc9-Wdeprecated-copy-2.patch
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: graphviz
@@ -70,6 +72,8 @@ This package contains documentation for the cppunit API.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
export CXXFLAGS="%{optflags}"