[libguac/el6] Small spec fixes
Simone Caronni
slaanesh at fedoraproject.org
Mon May 28 12:15:53 UTC 2012
commit 96826973267beb2a42f5709a0eb4de9facff690d
Author: Simone Caronni <negativo17 at gmail.com>
Date: Mon May 28 14:13:11 2012 +0200
Small spec fixes
libguac.spec | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/libguac.spec b/libguac.spec
index 2e4a0b5..ec0e4f5 100644
--- a/libguac.spec
+++ b/libguac.spec
@@ -1,13 +1,15 @@
Name: libguac
Version: 0.6.0
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: The common library used by all C components of Guacamole
Group: System Environment/Libraries
License: MPLv1.1 or GPLv2+ or LGPLv2+
URL: http://guac-dev.org/
Source0: http://downloads.sourceforge.net/guacamole/%{name}-%{version}.tar.gz
-BuildRequires: libpng-devel%{?_isa}, cairo-devel%{?_isa}, doxygen
+BuildRequires: cairo-devel%{?_isa}
+BuildRequires: doxygen
+BuildRequires: libpng-devel%{?_isa}
%description
Guacamole is an HTML5 web application that provides access to desktop
@@ -42,8 +44,8 @@ doxygen Doxyfile
%install
-make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+make install DESTDIR=%{buildroot} INSTALL="install -p"
+find %{buildroot} -name '*.la' -delete
cp -fr doc/doxygen-output/html .
@@ -63,6 +65,11 @@ cp -fr doc/doxygen-output/html .
%changelog
+* Mon May 28 2012 Simone Caronni <negativo17 at gmail.com> - 0.6.0-5
+- Sorted and splitted BuildRequires on multiple lines.
+- Used common macro styles.
+- Shortened delete command in install section.
+
* Mon May 21 2012 Simone Caronni <negativo17 at gmail.com> - 0.6.0-4
- Added optimization flags to make command.
More information about the scm-commits
mailing list