Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5bfe91dcdc | ||
|
|
213c3504e3 | ||
|
|
da53b56c30 | ||
|
|
bda1198f1c |
3 changed files with 8 additions and 22 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: adns
|
||||
# $Id: Makefile,v 1.1 2004/11/08 04:00:44 cvsextras Exp $
|
||||
NAME := adns
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
Name: adns
|
||||
Version: 1.4
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
|
||||
Summary: Advanced, easy to use, asynchronous-capable DNS client library
|
||||
|
||||
|
|
@ -70,7 +70,11 @@ programs for use from the command line and in scripts:
|
|||
%setup -q
|
||||
|
||||
%build
|
||||
%ifarch sparcv9 sparc64 s390 s390x
|
||||
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC"
|
||||
%else
|
||||
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fpic"
|
||||
%endif
|
||||
autoreconf -fiv
|
||||
%configure --enable-dynamic
|
||||
make %{?_smp_mflags}
|
||||
|
|
@ -107,6 +111,9 @@ rm -fr $RPM_BUILD_ROOT
|
|||
%attr(755,root,root) %{_bindir}/*
|
||||
|
||||
%changelog
|
||||
* Thu May 29 2008 Dennis Gilmore <dennis@ausil.us> - 1.4-4
|
||||
- some arches need -fPIC
|
||||
|
||||
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.4-3
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue