diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index cabbdd5..0000000 --- a/Makefile +++ /dev/null @@ -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) diff --git a/adns.spec b/adns.spec index a8caae8..f83ec83 100644 --- a/adns.spec +++ b/adns.spec @@ -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 - 1.4-4 +- some arches need -fPIC + * Mon Feb 18 2008 Fedora Release Engineering - 1.4-3 - Autorebuild for GCC 4.3