Tom Stellard 5 years ago
parent fa66533c2c
commit 3bb2df6875

@ -2,7 +2,7 @@
Name: librevenge Name: librevenge
Version: 0.0.4 Version: 0.0.4
Release: 17%{?dist} Release: 18%{?dist}
Summary: A base library for writing document import filters Summary: A base library for writing document import filters
# src/lib/RVNGOLEStream.{h,cpp} are BSD # src/lib/RVNGOLEStream.{h,cpp} are BSD
@ -65,10 +65,10 @@ 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
# we install API docs directly from build # we install API docs directly from build
rm -rf %{buildroot}/%{_docdir}/%{name} rm -rf %{buildroot}/%{_docdir}/%{name}
@ -77,7 +77,7 @@ rm -rf %{buildroot}/%{_docdir}/%{name}
%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
%license COPYING.* %license COPYING.*
@ -109,6 +109,10 @@ make %{?_smp_mflags} check
%endif %endif
%changelog %changelog
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 0.0.4-18
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-17 * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

Loading…
Cancel
Save