rpms/adns/devel adns.spec,1.12,1.13
Adam Tkac (atkac)
fedora-extras-commits at redhat.com
Wed Dec 19 13:29:57 UTC 2007
Author: atkac
Update of /cvs/pkgs/rpms/adns/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2399
Modified Files:
adns.spec
Log Message:
- use autoreconf
- compile with -fpic instead -fPIC
- fixed building issues
Index: adns.spec
===================================================================
RCS file: /cvs/pkgs/rpms/adns/devel/adns.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- adns.spec 19 Dec 2007 11:45:18 -0000 1.12
+++ adns.spec 19 Dec 2007 13:29:20 -0000 1.13
@@ -8,7 +8,7 @@
License: GPL+
URL: http://www.chiark.greenend.org.uk/~ian/adns/
Source0: ftp://ftp.chiark.greenend.org.uk/users/ian/adns/%{name}-%{version}.tar.gz
-#BuildRequires: autoconf
+BuildRequires: autoconf
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
@@ -70,19 +70,19 @@
%setup -q
%build
-#aclocal
-#%{__autoconf}
-export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC"
+export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fpic"
+autoreconf -fiv
%configure --enable-dynamic
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
-make install \
- prefix=$RPM_BUILD_ROOT/usr \
- bin_dir=$RPM_BUILD_ROOT%{_bindir} \
- include_dir=$RPM_BUILD_ROOT%{_includedir} \
- lib_dir=$RPM_BUILD_ROOT%{_libdir}
+make \
+ prefix=$RPM_BUILD_ROOT%{_prefix} \
+ bindir=$RPM_BUILD_ROOT%{_bindir} \
+ includedir=$RPM_BUILD_ROOT%{_includedir} \
+ libdir=$RPM_BUILD_ROOT%{_libdir} \
+ install
%clean
rm -fr $RPM_BUILD_ROOT
@@ -109,6 +109,8 @@
* Wed Dec 19 2007 Adam Tkac <atkac redhat com> 1.4-1
- updated to 1.4
- CVS cleanup
+- use autoreconf
+- build with -fpic instead -fPIC
* Fri Aug 31 2007 Radek Vokál <rvokal at redhat.com> 1.2-6
- rebuilt
More information about the fedora-extras-commits
mailing list