Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro https://src.fedoraproject.org/rpms/ImageMagick/pull-request/3
This commit is contained in:
parent
9299f2f81a
commit
4a3a0ab6a6
|
@ -184,7 +184,7 @@ make
|
|||
|
||||
|
||||
%install
|
||||
make %{?_smp_mflags} install DESTDIR=%{buildroot} INSTALL="install -p"
|
||||
%make_install
|
||||
cp -a www/source %{buildroot}%{_datadir}/doc/%{name}-%{VER}
|
||||
# Delete *ONLY* _libdir/*.la files! .la files used internally to handle plugins - BUG#185237!!!
|
||||
rm %{buildroot}%{_libdir}/*.la
|
||||
|
@ -241,7 +241,7 @@ multilibFileVersions %{buildroot}%{_includedir}/%{name}-6/magick/version.h
|
|||
|
||||
%check
|
||||
export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}
|
||||
make %{?_smp_mflags} check
|
||||
%make_build check
|
||||
rm PerlMagick/demo/Generic.ttf
|
||||
|
||||
%ldconfig_scriptlets libs
|
||||
|
|
Loading…
Reference in New Issue