summaryrefslogtreecommitdiffstats
path: root/redhat/extras/htdig/htdig.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/extras/htdig/htdig.spec')
-rw-r--r--redhat/extras/htdig/htdig.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/redhat/extras/htdig/htdig.spec b/redhat/extras/htdig/htdig.spec
index 930dde7be..f1a779fc9 100644
--- a/redhat/extras/htdig/htdig.spec
+++ b/redhat/extras/htdig/htdig.spec
@@ -1,6 +1,12 @@
%define _disable_ld_as_needed 1
%define _disable_ld_no_undefined 1
+%if 0%{?mdkver} >= 5000000
+%global __cc /usr/bin/gcc
+%global __cxx /usr/bin/g++
+%global prefer_gcc 1
+%endif
+
%define contentdir /var/www
Summary: A web indexing and searching system for a small domain or intranet
@@ -26,6 +32,9 @@ BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-buildroot
+Provides: group(htdig)
+Provides: user(htdig)
+
%description
The ht://Dig system is a complete world wide web indexing and searching system
for a small domain or intranet. This system is not meant to replace the need
@@ -105,10 +114,10 @@ Libraries needed to develop for htdig.
%defattr(-,root,root)
%doc ChangeLog
%doc htdoc/*
-%{_libdir}/htdig/*.a
+#%{_libdir}/htdig/*.a
%{_libdir}/htdig/*.la
%{_libdir}/htdig/*[a-z].so
-%{_libdir}/htdig_db/*.a
+#%{_libdir}/htdig_db/*.a
%{_libdir}/htdig_db/*.la
%{_libdir}/htdig_db/*[a-z].so
%{_includedir}/*