Update VERSION and make rpm build without root privs

git-svn-id: https://svn.alkaloid.net/gpl/ldap2dns/trunk@331 06cd67b6-e706-0410-b29e-9de616bca6e9
This commit is contained in:
Ben Klang
2006-06-13 16:51:59 +00:00
parent 0e1ad22345
commit f942b26f60
2 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
# $Id$
VERSION=0.4.0
RELEASE=0
RELEASE=pre1
CC=gcc
DEBUG_CFLAGS=-g -ggdb
CFLAGS=-O2
@@ -48,10 +48,10 @@ ldap2dns.o-dbg: ldap2dns.c
install: all
mkdir -p $(PREFIXDIR)/bin
mkdir -p $(LDAPCONFDIR)/schema
install -s -o root -g root -m 755 ldap2dns $(PREFIXDIR)/bin/
install -s -m 755 ldap2dns $(PREFIXDIR)/bin/
ln -f $(PREFIXDIR)/bin/ldap2dns $(PREFIXDIR)/bin/ldap2dnsd
install -o root -g root -m 755 ldap2tinydns-conf $(PREFIXDIR)/bin/
install -o root -g root -m 644 ldap2dns.schema $(LDAPCONFDIR)/schema/
install -m 755 ldap2tinydns-conf $(PREFIXDIR)/bin/
install -m 644 ldap2dns.schema $(LDAPCONFDIR)/schema/
clean:
rm -f *.o *.o-dbg ldap2dns ldap2dns-dbg ldap2dnsd data* *.db core \

View File

@@ -61,7 +61,7 @@ make INSTALL_PREFIX=$RPM_BUILD_ROOT install
%doc doc/README.html
%doc doc/example.ldif
%doc scripts/axfr2ldap.pl
%doc scripts/data2ldap.pl
%doc scripts/data2ldif.pl
%config /etc/openldap/schema/ldap2dns.schema
%pre