Tom Stellard 2020-07-14 21:24:40 +00:00
parent d7fdc127d4
commit 4adad53b69

View File

@ -1,6 +1,6 @@
Name: tigervnc Name: tigervnc
Version: 1.10.1 Version: 1.10.1
Release: 6%{?dist} Release: 7%{?dist}
Summary: A TigerVNC remote display system Summary: A TigerVNC remote display system
%global _hardened_build 1 %global _hardened_build 1
@ -159,7 +159,7 @@ export CFLAGS="$RPM_OPT_FLAGS -fpic"
export CXXFLAGS="$CFLAGS -std=c++11" export CXXFLAGS="$CFLAGS -std=c++11"
%{cmake} . %{cmake} .
make %{?_smp_mflags} %make_build
pushd unix/xserver pushd unix/xserver
autoreconf -fiv autoreconf -fiv
@ -180,7 +180,7 @@ autoreconf -fiv
--disable-devel-docs \ --disable-devel-docs \
--disable-selective-werror --disable-selective-werror
make %{?_smp_mflags} %make_build
popd popd
# Build icons # Build icons
@ -193,7 +193,7 @@ popd
rm -f %{buildroot}%{_docdir}/%{name}-%{version}/{README.rst,LICENCE.TXT} rm -f %{buildroot}%{_docdir}/%{name}-%{version}/{README.rst,LICENCE.TXT}
pushd unix/xserver/hw/vnc pushd unix/xserver/hw/vnc
make install DESTDIR=%{buildroot} %make_install
popd popd
# Install systemd unit file # Install systemd unit file
@ -280,6 +280,10 @@ install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/10-libvnc.c
%{_datadir}/icons/hicolor/*/apps/* %{_datadir}/icons/hicolor/*/apps/*
%changelog %changelog
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 1.10.1-7
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 1.10.1-6 * Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 1.10.1-6
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11