Add mirror for source download.
###############################################################################
name = htop
###############################################################################
name = htop
release = 1
groups = Applications/System
release = 1
groups = Applications/System
-source_dl = http://sourceforge.net/projects/htop/files
+source_dl = http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/
+source_dl += http://hisham.hm/htop/releases/%{version}/
build
requires
ncurses-devel
end
build
requires
ncurses-devel
end
- configure_options += \
- --sysconfdir=/etc
-
- rm -rf %{BUILDROOT}/usr/share/{applications,pixmaps}
+ rm -rf %{BUILDROOT}%{datadir}/{applications,pixmaps}