Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
5bfe91dcdc dist-git conversion 2010-07-28 09:36:18 +00:00
Bill Nottingham
213c3504e3 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:25:07 +00:00
Dennis Gilmore
da53b56c30 some arches need -fPIC 2008-05-30 03:30:19 +00:00
Jesse Keating
bda1198f1c Initialize branch F-9 for adns 2008-04-20 11:53:48 +00:00
3 changed files with 8 additions and 22 deletions

View file

View file

@ -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)

View file

@ -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