Use ldconfig rpm macro.
This commit is contained in:
parent
bbe3f324b0
commit
8bd98c48a4
@ -1,7 +1,7 @@
|
|||||||
Summary: Library implementing the Unicode Bidirectional Algorithm
|
Summary: Library implementing the Unicode Bidirectional Algorithm
|
||||||
Name: fribidi
|
Name: fribidi
|
||||||
Version: 1.0.4
|
Version: 1.0.4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
URL: https://github.com/fribidi/fribidi/
|
URL: https://github.com/fribidi/fribidi/
|
||||||
Source: https://github.com//%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2
|
Source: https://github.com//%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2
|
||||||
License: LGPLv2+ and UCD
|
License: LGPLv2+ and UCD
|
||||||
@ -47,9 +47,7 @@ make check
|
|||||||
make DESTDIR=$RPM_BUILD_ROOT install INSTALL="install -p"
|
make DESTDIR=$RPM_BUILD_ROOT install INSTALL="install -p"
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README AUTHORS COPYING ChangeLog THANKS NEWS TODO
|
%doc README AUTHORS COPYING ChangeLog THANKS NEWS TODO
|
||||||
@ -63,6 +61,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|||||||
%{_mandir}/man3/*.gz
|
%{_mandir}/man3/*.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 29 2018 Akira TAGOH <tagoh@redhat.com> - 1.0.4-2
|
||||||
|
- Use ldconfig rpm macro.
|
||||||
|
|
||||||
* Fri Jun 08 2018 Akira TAGOH <tagoh@redhat.com> - 1.0.4-1
|
* Fri Jun 08 2018 Akira TAGOH <tagoh@redhat.com> - 1.0.4-1
|
||||||
- New upstream release. (#1587985)
|
- New upstream release. (#1587985)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user