- revert some incompatible "cleanup"
- -devel: drop extraneous lib deps (let pkgconfig autoreq handle it as needed)
This commit is contained in:
Rex Dieter 2014-08-13 08:24:11 -05:00
parent 6c53c271cd
commit 69ed69011a

View File

@ -1,6 +1,6 @@
Name: sword
Version: 1.7.3
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Free Bible Software Project
License: GPLv2
URL: http://www.crosswire.org/sword/
@ -26,9 +26,6 @@ texts in over 50 languages.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: clucene-core-devel%{?_isa}
Requires: libcurl-devel%{?_isa}
Requires: libicu-devel%{?_isa}
%description devel
This package contains libraries and header files for
@ -41,7 +38,7 @@ developing applications that use %{name}.
%configure --disable-static --with-icu --with-clucene=%{_prefix}
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_build
make %{?_smp_mflags}
%install
%make_install
@ -68,6 +65,10 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libdir}/pkgconfig/sword.pc
%changelog
* Wed Aug 13 2014 Rex Dieter <rdieter@fedoraproject.org> - 1.7.3-5
- revert some incompatible "cleanup" (%%make_build undefined on < f21)
- -devel: drop extraneous lib deps (let pkgconfig autoreq handle it as needed)
* Mon Aug 11 2014 Greg Hellings <greg.hellings@gmail.com> - 1.7.3-4
- Change curl-devel for libcurl-devel