summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-22 18:19:09 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-22 18:19:09 +0100
commit00e5b9f797c131855f46aff3abdb96b37ec0bf85 (patch)
treea806be428dc9166ff1cca3875a1113a8b1994de0
parent83e6c70237328982fd9765593df8d567ed57cdf8 (diff)
fix Fedora rpm build
-rw-r--r--gipfel.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/gipfel.spec b/gipfel.spec
index 35404f3..2b86897 100644
--- a/gipfel.spec
+++ b/gipfel.spec
@@ -8,7 +8,11 @@ Source0: %{name}-%{version}.tar.gz
License: GPL
Group: Productivity/Scientific/Other
-BuildRequires: binutils gcc gcc-c++ libstdc++-devel gsl-devel fltk-devel libjpeg-devel libtiff-devel libpng-devel xorg-x11-libXext-devel
+BuildRequires: binutils gcc gcc-c++ libstdc++-devel gsl-devel fltk-devel libjpeg-devel libtiff-devel libpng-devel
+
+%if 0%{?suse_version}
+BuildRequires: xorg-x11-libXext-devel
+%endif
Requires: jpeg exif
@@ -27,6 +31,7 @@ gipfel can also be used to play around with the parameters manually.
make
%install
make DESTDIR=$RPM_BUILD_ROOT install-strip
+rm -rf $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
%files
%defattr(-, root, root)
%doc NEWS README