Accepting request 236219 from home:michalsrb:branches:X11:XOrg
- Fix some errors reported by rpmlint. OBS-URL: https://build.opensuse.org/request/show/236219 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=32
This commit is contained in:
parent
215d1da823
commit
fbb4eeb8fc
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 4 11:39:54 UTC 2014 - msrb@suse.com
|
||||
|
||||
- Fix some errors reported by rpmlint.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 29 03:37:30 UTC 2014 - crrodriguez@opensuse.org
|
||||
|
||||
@ -8,7 +13,6 @@ Thu May 29 03:37:30 UTC 2014 - crrodriguez@opensuse.org
|
||||
it gets built without optimization.
|
||||
- Make build verbose so it rpmlint catches errors like the above ones.
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 28 14:54:02 UTC 2014 - msrb@suse.com
|
||||
|
||||
|
@ -20,7 +20,7 @@ Name: tigervnc
|
||||
Version: 1.3.1
|
||||
Release: 0
|
||||
Provides: tightvnc = 1.3.9
|
||||
Obsoletes: tightvnc < 1.3.10
|
||||
Obsoletes: tightvnc < 1.3.9
|
||||
Provides: vnc
|
||||
BuildRequires: Mesa-devel
|
||||
BuildRequires: autoconf
|
||||
@ -217,11 +217,15 @@ install -D -m 755 %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/vnc_inetd_httpd
|
||||
install -D -m 644 %{SOURCE8} $RPM_BUILD_ROOT/etc/slp.reg.d/vnc.reg
|
||||
install -D -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{_bindir}/vncpasswd.arg
|
||||
install -D -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/vnc/classes
|
||||
ln -s -f %{_sysconfdir}/alternatives/vncviewer $RPM_BUILD_ROOT%{_bindir}/vncviewer
|
||||
ln -s -f %{_sysconfdir}/alternatives/vncviewer.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/vncviewer.1.gz
|
||||
|
||||
%find_lang '%{name}'
|
||||
|
||||
%post
|
||||
"%_sbindir/update-alternatives" --install /usr/bin/vncviewer vncviewer /usr/bin/vncviewer-tigervnc 20
|
||||
%_sbindir/update-alternatives \
|
||||
--install %{_bindir}/vncviewer vncviewer %{_bindir}/vncviewer-tigervnc 20 \
|
||||
--slave %{_mandir}/man1/vncviewer.1.gz vncviewer.1.gz %{_mandir}/man1/vncviewer-tigervnc.1.gz
|
||||
|
||||
%postun
|
||||
if [ "$1" = 0 ] ; then
|
||||
@ -230,12 +234,15 @@ fi
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%ghost %{_bindir}/vncviewer
|
||||
%{_bindir}/vncviewer-tigervnc
|
||||
%exclude /usr/share/doc/tigervnc-1.3.1
|
||||
%doc LICENCE.TXT
|
||||
%doc README.txt
|
||||
%{_mandir}/man1/vncviewer-tigervnc.1*
|
||||
%ghost %_mandir/man1/vncviewer.1.gz
|
||||
%doc %_mandir/man1/vncviewer-tigervnc.1.gz
|
||||
%ghost %_sysconfdir/alternatives/vncviewer
|
||||
%ghost %_sysconfdir/alternatives/vncviewer.1.gz
|
||||
|
||||
%files -n xorg-x11-Xvnc
|
||||
%defattr(-,root,root)
|
||||
@ -267,8 +274,8 @@ fi
|
||||
|
||||
%exclude /var/lib/xkb/compiled/README.compiled
|
||||
|
||||
/etc/sysconfig/SuSEfirewall2.d/services/vnc-server
|
||||
/etc/sysconfig/SuSEfirewall2.d/services/vnc-httpd
|
||||
%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/vnc-server
|
||||
%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/vnc-httpd
|
||||
|
||||
%ifnarch s390x
|
||||
%config(noreplace) /etc/X11/xorg.conf.d/10-libvnc.conf
|
||||
|
Loading…
Reference in New Issue
Block a user