Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
40a545b166
commit
831e09e67f
@ -1,7 +1,7 @@
|
|||||||
Summary: A library for interfacing IEEE 1284-compatible devices
|
Summary: A library for interfacing IEEE 1284-compatible devices
|
||||||
Name: libieee1284
|
Name: libieee1284
|
||||||
Version: 0.2.11
|
Version: 0.2.11
|
||||||
Release: 32%{?dist}
|
Release: 33%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://cyberelk.net/tim/libieee1284/
|
URL: http://cyberelk.net/tim/libieee1284/
|
||||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
||||||
@ -32,11 +32,11 @@ developing applications that use libieee1284.
|
|||||||
%build
|
%build
|
||||||
touch doc/interface.xml
|
touch doc/interface.xml
|
||||||
%configure --without-python
|
%configure --without-python
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
make DESTDIR=%{buildroot} INSTALL="install -p" install
|
%make_install
|
||||||
rm -f %{buildroot}%{_libdir}/python*/*/*a
|
rm -f %{buildroot}%{_libdir}/python*/*/*a
|
||||||
rm -f %{buildroot}%{_libdir}/*.a
|
rm -f %{buildroot}%{_libdir}/*.a
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
rm -f %{buildroot}%{_libdir}/*.la
|
||||||
@ -54,6 +54,10 @@ rm -f %{buildroot}%{_libdir}/*.la
|
|||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 0.2.11-33
|
||||||
|
- Use make macros
|
||||||
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||||
|
|
||||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-32
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-32
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user