[parcellite/f17] Add link to upstream bug

Christoph Wickert cwickert at fedoraproject.org
Sat Mar 10 19:32:00 UTC 2012


commit f9ab44bd9a3de6834bd08d10b061cc96ed1ddbca
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Sat Mar 10 20:31:52 2012 +0100

    Add link to upstream bug

 parcellite.spec |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/parcellite.spec b/parcellite.spec
index 3cb3a16..822a98f 100644
--- a/parcellite.spec
+++ b/parcellite.spec
@@ -36,6 +36,7 @@ system tray or notification area if you want to use this package.
 %build
 
 # because of https://bugzilla.redhat.com/show_bug.cgi?id=800644
+# https://sourceforge.net/tracker/?func=detail&aid=3501280&group_id=235597&atid=1097277
 make clean
 make distclean
 
@@ -44,25 +45,25 @@ 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 --vendor="fedora"                     \
   --delete-original                                        \
   --remove-category=Application                            \
-  --dir=${RPM_BUILD_ROOT}%{_datadir}/applications          \
-  ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
+  --dir=%{buildroot}%{_datadir}/applications          \
+  %{buildroot}%{_datadir}/applications/%{name}.desktop
 
 desktop-file-install                                       \
   --delete-original                                        \
   --add-category=TrayIcon                                  \
-  --dir=${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/     \
-  ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/%{name}-startup.desktop
+  --dir=%{buildroot}%{_sysconfdir}/xdg/autostart/     \
+  %{buildroot}%{_sysconfdir}/xdg/autostart/%{name}-startup.desktop
 
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 
 %files -f %{name}.lang


More information about the scm-commits mailing list