Tom Stellard 5 years ago
parent 37643dbd2d
commit 3fb8083992

@ -2,7 +2,7 @@
Name: libcmis Name: libcmis
Version: 0.5.2 Version: 0.5.2
Release: 5%{?dist} Release: 6%{?dist}
Summary: A C/C++ client library for CM interfaces Summary: A C/C++ client library for CM interfaces
License: GPLv2+ or LGPLv2+ or MPLv1.1 License: GPLv2+ or LGPLv2+ or MPLv1.1
@ -49,17 +49,17 @@ sed -i \
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \ -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
libtool libtool
make %{?_smp_mflags} %make_build
%install %install
make install DESTDIR=%{buildroot} %make_install
rm -f %{buildroot}/%{_libdir}/*.la rm -f %{buildroot}/%{_libdir}/*.la
%ldconfig_scriptlets %ldconfig_scriptlets
%check %check
export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
make %{?_smp_mflags} check %make_build check
%files %files
%doc AUTHORS NEWS %doc AUTHORS NEWS
@ -81,6 +81,10 @@ make %{?_smp_mflags} check
%{_mandir}/man1/cmis-client.1* %{_mandir}/man1/cmis-client.1*
%changelog %changelog
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 0.5.2-6
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Thu May 28 2020 Jonathan Wakely <jwakely@redhat.com> - 0.5.2-5 * Thu May 28 2020 Jonathan Wakely <jwakely@redhat.com> - 0.5.2-5
- Rebuilt for Boost 1.73 - Rebuilt for Boost 1.73

Loading…
Cancel
Save