[xfce4-screenshooter] Cosmetic fixes
Christoph Wickert
cwickert at fedoraproject.org
Tue Feb 28 22:03:59 UTC 2012
commit ec1d8827df2bb82d1ed669ba03fa010b8646789a
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date: Tue Feb 28 23:03:39 2012 +0100
Cosmetic fixes
xfce4-screenshooter.spec | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/xfce4-screenshooter.spec b/xfce4-screenshooter.spec
index 750cd31..1f27582 100644
--- a/xfce4-screenshooter.spec
+++ b/xfce4-screenshooter.spec
@@ -13,7 +13,7 @@ Group: User Interface/Desktops
License: GPLv2+
URL: http://goodies.xfce.org/projects/applications/%{name}
Source0: http://archive.xfce.org/src/apps/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
-Patch0: xfce4-screenshooter-1.8.0-dsofix.patch
+Patch0: %{name}-1.8.0-dsofix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: exo-devel >= 0.5.0
@@ -54,17 +54,17 @@ make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot} INSTALL='install -p'
%find_lang %{name}
-desktop-file-install \
- --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
- --delete-original \
- ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
+desktop-file-install \
+ --dir %{buildroot}%{_datadir}/applications \
+ --delete-original \
+ %{buildroot}%{_datadir}/applications/%{name}.desktop
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%post
More information about the scm-commits
mailing list