[vnc-reflector] Clean spec file

Petr Pisar ppisar at fedoraproject.org
Fri Apr 6 13:07:26 UTC 2012


commit 1bf2000e2f0a8f265df02f1c05c06fd1a52346ce
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Apr 6 15:06:49 2012 +0200

    Clean spec file

 vnc-reflector.spec |   40 ++++++++++++++--------------------------
 1 files changed, 14 insertions(+), 26 deletions(-)
---
diff --git a/vnc-reflector.spec b/vnc-reflector.spec
index 285eb56..d38a999 100644
--- a/vnc-reflector.spec
+++ b/vnc-reflector.spec
@@ -1,20 +1,18 @@
-Name:      vnc-reflector
-Version:   1.2.4 
-Release:        10%{?dist}
-Summary:   A specialized, multiplexing vnc proxy server
-
-Group:     Applications/Internet
-License:   BSD 
-URL:       http://sourceforge.net/projects/vnc-reflector
-Source0:   http://dl.sf.net/vnc-reflector/vnc_reflector-%{version}.tar.gz
+Name:       vnc-reflector
+Version:    1.2.4 
+Release:    10%{?dist}
+Summary:    A specialized, multiplexing vnc proxy server
+Group:      Applications/Internet
+License:    BSD 
+URL:        http://sourceforge.net/projects/vnc-reflector
+Source0:    http://dl.sf.net/vnc-reflector/vnc_reflector-%{version}.tar.gz
 # Bug #569350, submitted to upstream
 # <http://sourceforge.net/tracker/?func=detail&aid=2984246&group_id=38605&atid=422840>
-Patch0:    %{name}-1.2.4-loggingfix.patch
+Patch0:     %{name}-1.2.4-loggingfix.patch
 # In upstream after 1.2.4 as commit r192
-Patch1:    %{name}-1.2.4-rfb_format_buffer_overflow.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires: libjpeg-devel, zlib-devel 
+Patch1:     %{name}-1.2.4-rfb_format_buffer_overflow.patch
+BuildRequires:  libjpeg-devel
+BuildRequires:  zlib-devel 
 
 %description
 Reflector is a specialized VNC server which acts as a proxy sitting between
@@ -26,33 +24,23 @@ efficiently with large number of clients.
 %patch0 -p0 -b .logging
 %patch1 -p0 -b .rfb_format
 
-
 %build
 make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -I."
 
-
 %install
-rm -rf %{buildroot}
-
 # no install target in the makefile....
 mkdir -p %{buildroot}%{_bindir}
 cp vncreflector %{buildroot}%{_bindir}
 
-
-%clean
-rm -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root,-)
 %doc README LICENSE ChangeLog
 %{_bindir}/*
 
-
 %changelog
-* Fri Apr 06 2012 Petr Pisar <ppisar at redhat.com>
+* Fri Apr 06 2012 Petr Pisar <ppisar at redhat.com> - 1.2.4-10
 - Fix a crash when running on foreground (bug #569350)
 - Fix a one-byte buffer overflow in formatting RFB version string
+- Clean spec file
 
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.4-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild


More information about the scm-commits mailing list