Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
d4870bf82c
commit
3a53f688fe
@ -14,7 +14,7 @@
|
|||||||
Summary: Scanner access software
|
Summary: Scanner access software
|
||||||
Name: sane-backends
|
Name: sane-backends
|
||||||
Version: 1.0.30
|
Version: 1.0.30
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
# lib/ is LGPLv2+, backends are GPLv2+ with exceptions
|
# lib/ is LGPLv2+, backends are GPLv2+ with exceptions
|
||||||
# Tools are GPLv2+, docs are public domain
|
# Tools are GPLv2+, docs are public domain
|
||||||
# see LICENSE for details
|
# see LICENSE for details
|
||||||
@ -175,7 +175,7 @@ LDFLAGS="-pie"
|
|||||||
--with-usb \
|
--with-usb \
|
||||||
%endif
|
%endif
|
||||||
--enable-pthread
|
--enable-pthread
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
# Write udev/hwdb files
|
# Write udev/hwdb files
|
||||||
_topdir="$PWD"
|
_topdir="$PWD"
|
||||||
@ -186,7 +186,7 @@ pushd tools
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR="%{buildroot}" install
|
%make_install
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
||||||
install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps
|
install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps
|
||||||
@ -421,6 +421,10 @@ exit 0
|
|||||||
%{_unitdir}/saned@.service
|
%{_unitdir}/saned@.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 1.0.30-2
|
||||||
|
- Use make macros
|
||||||
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||||
|
|
||||||
* Tue May 19 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.30-1
|
* Tue May 19 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.30-1
|
||||||
- 1.0.30
|
- 1.0.30
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user