Hello community,

here is the log from the commit of package clxclient for openSUSE:Factory 
checked in at 2020-05-14 23:28:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clxclient (Old)
 and      /work/SRC/openSUSE:Factory/.clxclient.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "clxclient"

Thu May 14 23:28:24 2020 rev:1 rq:805636 version:3.9.2

Changes:
--------
New Changes file:

--- /dev/null   2020-04-14 14:47:33.391806949 +0200
+++ /work/SRC/openSUSE:Factory/.clxclient.new.2738/clxclient.changes    
2020-05-14 23:28:27.565460880 +0200
@@ -0,0 +1,6 @@
+-------------------------------------------------------------------
+Sun May  3 14:07:30 UTC 2020 - Martin Hauke <[email protected]>
+
+- Initial package, version 3.9.2
+- Add patch:
+  * fix-build.patch

New:
----
  clxclient-3.9.2.tar.bz2
  clxclient.changes
  clxclient.spec
  fix-build.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ clxclient.spec ++++++
#
# spec file for package clxclient
#
# Copyright (c) 2020, Martin Hauke <[email protected]>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%define sover   3
%define libname lib%{name}%{sover}
Name:           clxclient
Version:        3.9.2
Release:        0
Summary:        C++ wrapper library around the X Window System API
License:        LGPL-2.1-or-later
Group:          System/Libraries
URL:            https://kokkinizita.linuxaudio.org/linuxaudio/
Source:         
https://kokkinizita.linuxaudio.org/linuxaudio/downloads/%{name}-%{version}.tar.bz2
Patch0:         fix-build.patch
BuildRequires:  clthreads-devel
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(freetype2)
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(xft)
BuildRequires:  pkgconfig(xproto)

%description
C++ wrapper library around the X Window System API.

%package -n %{libname}
Summary:        C++ wrapper library around the X Window System API
Group:          System/Libraries

%description -n %{libname}
C++ wrapper library around the X Window System API.

%package devel
Summary:        Development files for %{name}
Group:          Development/Libraries/C and C++
Requires:       %{libname} = %{version}
Requires:       clthreads-devel
Requires:       pkgconfig(freetype2)
Requires:       pkgconfig(x11)
Requires:       pkgconfig(xft)
Requires:       pkgconfig(xproto)

%description devel
Development files for %{name} including headers and libraries.

%prep
%setup -q
%patch0 -p1

%build
export CXXFLAGS="%{optflags}"
%make_build -C source

%install
make -C source DESTDIR=%{buildroot} PREFIX=%{_prefix} install

%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig

%files -n %{libname}
%license COPYING
%doc AUTHORS
%{_libdir}/libclxclient.so.%{sover}*

%files devel
%{_includedir}/clxclient.h
%{_libdir}/libclxclient.so

%changelog
++++++ fix-build.patch ++++++
diff --git a/source/Makefile b/source/Makefile
index 177115f..b5c9f70 100644
--- a/source/Makefile
+++ b/source/Makefile
@@ -33,7 +33,6 @@ VERSION = $(MAJVERS).$(MINVERS)
 CPPFLAGS += $(shell pkgconf --cflags freetype2) 
 CPPFLAGS += -DVERSION=\"$(VERSION)\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS 
$(PCONFCFL)
 CXXFLAGS += -Wall -O2 -fPIC 
-CXXFLAGS += -march=native
 LDLIBS +=
 
 
@@ -55,7 +54,7 @@ install:      $(CLXCLIENT_MIN)
        install -d $(DESTDIR)$(LIBDIR)
        install -m 644 $(CLXCLIENT_H) $(DESTDIR)$(INCDIR)
        install -m 755 $(CLXCLIENT_MIN) $(DESTDIR)$(LIBDIR)
-       ldconfig
+       /sbin/ldconfig -N $(DESTDIR)/$(LIBDIR)
        ln -sf $(CLXCLIENT_MIN) $(DESTDIR)$(LIBDIR)/$(CLXCLIENT_SO)
 
 uninstall:
diff --git a/source/enumip.cc b/source/enumip.cc
index 0873da8..1cdac0d 100644
--- a/source/enumip.cc
+++ b/source/enumip.cc
@@ -19,7 +19,7 @@
 // 
---------------------------------------------------------------------------------
 
 
-#include <clxclient.h>
+#include "clxclient.h"
 #include <X11/keysym.h>
 
 

Reply via email to