Use make_install and make_build macros
This commit is contained in:
parent
cff56015bb
commit
8155c6f0b7
@ -64,10 +64,10 @@ This package contains the python3 bindings for %{name}
|
||||
|
||||
%build
|
||||
%configure --enable-tests --enable-introspection --enable-static=no --enable-shared=yes
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%make_install
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
# move introspection typelib to correct location
|
||||
@ -115,6 +115,7 @@ mv $RPM_BUILD_ROOT%{_datadir}/gir-1.0/GExiv2-0.10.typelib \
|
||||
- Update to 0.10.4
|
||||
- Use license macro for COPYING
|
||||
- Rename python2 and python3 subpackages are per latest guidelines
|
||||
- Use make_install and make_build macros
|
||||
|
||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.3-7
|
||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||
|
Loading…
Reference in New Issue
Block a user