Compare commits

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

1 commit

Author SHA1 Message Date
Dominik Mierzejewski
eb0c20f956 fix build in el6 branch
autoconf is too old, so autoreconf doesn't work
2014-02-25 12:39:55 +01:00

View file

@ -5,8 +5,6 @@ Release: 3%{?dist}
URL: https://github.com/scarabeusiv/ucpp
Source0: http://dev.gentooexperimental.org/%7Escarabeus/ucpp-%{version}.tar.xz
License: BSD
# fix rpath issue
BuildRequires: libtool
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description
@ -42,14 +40,17 @@ This package contains the development files for the library.
iconv -f iso8859-1 -t utf8 README >README.utf8 && \
touch -r README.utf8 README && \
mv README.utf8 README
# autoreconf to fix rpath issue
autoreconf -vif
%build
%configure \
--disable-rpath \
--disable-silent-rules \
--disable-static \
--disable-werror \
# fix rpath issue
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
@ -77,6 +78,7 @@ rm %{buildroot}%{_libdir}/libucpp.la
%changelog
* Sat Feb 22 2014 Dominik Mierzejewski <rpm@greysector.net> 1.3.4-3
- add ?_isa to dependencies
- fix build in el6 branch (autoconf is too old, so autoreconf doesn't work)
* Sun Nov 03 2013 Dominik Mierzejewski <rpm@greysector.net> 1.3.4-2
- make make verbose