[Spice-devel] [spice-html5 3/7] Revise the .spec file to use %{name}, and remove a few unneded statements

Jeremy White jwhite at codeweavers.com
Mon Mar 11 12:02:43 PDT 2013


Signed-off-by: Jeremy White <jwhite at codeweavers.com>
---
 spice-html5.spec.in |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/spice-html5.spec.in b/spice-html5.spec.in
index 35c386a..6c10817 100644
--- a/spice-html5.spec.in
+++ b/spice-html5.spec.in
@@ -5,12 +5,12 @@ Summary:        Pure Javascript SPICE client
 
 License:        LGPLv3
 URL:            http://www.spice-space.org
-Source0:        http://www.spice-space.org/download/spice-html5/spice-html5-VERSION.tar.gz
+Source0:        http://www.spice-space.org/download/%{name}/%{name}-%{version}.tar.gz
 
 BuildArch:      noarch
 
 %description
-spice-html5 is a Javascript SPICE client.  This includes a simple HTML
+%{name} is a Javascript SPICE client.  This includes a simple HTML
 page to initiate a session, and the client itself.  It includes a configuration
 file for Apache, but should work with any web server.
 
@@ -21,18 +21,19 @@ file for Apache, but should work with any web server.
 %build
 
 %install
-rm -rf $RPM_BUILD_ROOT
 %make_install
 
 
 %files
-%defattr(-,root,root)
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/*.conf
-%{_datadir}/spice-html5
+%{_datadir}/%{name}
 %doc COPYING COPYING.LESSER README TODO
 
 
 %changelog
+* Wed Feb 20 2013 Jeremy White <jwhite at codeweavers.com> 0.1.2-1
+- Revise the .spec file to use %{name}, and remove a few unneded statements
+
 * Wed Feb 13 2013 Jeremy White <jwhite at codeweavers.com> 0.1.1-1
 - Correct the license to LGPL
 - Revise the Apache configuration file to allow access more broadly
-- 
1.7.10.4





More information about the Spice-devel mailing list