[ortp] autoreconf in %prep (#926292)

nucleo nucleo at fedoraproject.org
Sat Mar 23 16:04:50 UTC 2013


commit c7f6dcc028daff41443056095dfaf1a32d416c70
Author: nucleo <nucleo at fedoraproject.org>
Date:   Sat Mar 23 18:04:43 2013 +0200

    autoreconf in %prep (#926292)

 ortp.spec |   18 ++++++------------
 1 files changed, 6 insertions(+), 12 deletions(-)
---
diff --git a/ortp.spec b/ortp.spec
index 1567c17..2c8555f 100644
--- a/ortp.spec
+++ b/ortp.spec
@@ -1,6 +1,6 @@
 Name:           ortp
 Version:        0.20.0
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        A C library implementing the RTP protocol (RFC3550)
 Epoch:          1
 
@@ -9,14 +9,10 @@ License:        LGPLv2+ and VSL
 URL:            http://www.linphone.org/eng/documentation/dev/ortp.html
 Source:         http://download.savannah.gnu.org/releases/linphone/ortp/sources/%{name}-%{version}.tar.gz
 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildRequires:  doxygen
 BuildRequires:  graphviz
 
-BuildRequires:  autoconf
-BuildRequires:  automake
-BuildRequires:  libtool
+BuildRequires:  libtool perl-Carp
 BuildRequires:  libsrtp-devel
 BuildRequires:  openssl-devel
 %if 0%{?fedora} > 16
@@ -41,6 +37,7 @@ Libraries and headers required to develop software with ortp.
 
 %prep
 %setup0 -q
+autoreconf -i -f
 
 %{__perl} -pi.dot  -e 's/^(HAVE_DOT\s+=)\s+NO$/\1 YES/;s/^(CALL_GRAPH\s+=)\s+NO$/\1 YES/;s/^(CALLER_GRAPH\s+=)\s+NO$/\1 YES/' ortp.doxygen.in
 
@@ -56,31 +53,28 @@ Libraries and headers required to develop software with ortp.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
 find $RPM_BUILD_ROOT -name \*.la -exec rm {} \;
 rm doc/html/html.tar
 rm -r %{buildroot}%{_datadir}/doc/ortp
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root,-)
 %doc AUTHORS ChangeLog TODO
 %{_libdir}/libortp.so.8*
 
 %files devel
-%defattr(-,root,root,-)
 %doc doc/html
 %{_includedir}/%{name}
 %{_libdir}/libortp.so
 %{_libdir}/pkgconfig/ortp.pc
 
 %changelog
+* Sat Mar 23 2013 Alexey Kurov <nucleo at fedoraproject.org> - 1:0.20.0-5
+- autoreconf in %%prep (#926292)
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:0.20.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list