BR: gcc-c++, use %license %make_build
This commit is contained in:
parent
9bbdeee02f
commit
f2c7d3d25c
|
@ -2,7 +2,7 @@
|
|||
Name: lucene++
|
||||
Summary: A high-performance, full-featured text search engine written in C++
|
||||
Version: 3.0.7
|
||||
Release: 17%{?dist}
|
||||
Release: 18%{?dist}
|
||||
|
||||
License: ASL 2.0 or LGPLv3+
|
||||
Url: https://github.com/luceneplusplus/LucenePlusPlus
|
||||
|
@ -18,6 +18,7 @@ Patch7: 0007-boost-1.58-variant.patch
|
|||
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: cmake >= 2.8.6
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: subversion
|
||||
|
||||
|
@ -41,7 +42,7 @@ pushd %{_target_platform}
|
|||
%cmake .. \
|
||||
-DCMAKE_BUILD_TYPE:String="release"
|
||||
|
||||
make %{?_smp_mflags} lucene++ lucene++-contrib
|
||||
%make_build lucene++ lucene++-contrib
|
||||
popd
|
||||
|
||||
|
||||
|
@ -49,12 +50,11 @@ popd
|
|||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%doc COPYING APACHE.license GPL.license LGPL.license
|
||||
%doc AUTHORS README* REQUESTS
|
||||
%license COPYING APACHE.license GPL.license LGPL.license
|
||||
%{_libdir}/liblucene++.so.0*
|
||||
%{_libdir}/liblucene++.so.%{version}
|
||||
%{_libdir}/liblucene++-contrib.so.0*
|
||||
|
@ -69,6 +69,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 3.0.7-18
|
||||
- BR: gcc-c++, use %%license %%make_build
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.7-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue