Use make macros
This commit is contained in:
parent
c956fec245
commit
42c3811b91
9
tix.spec
9
tix.spec
@ -8,7 +8,7 @@ Summary: A set of extension widgets for Tk
|
||||
Name: tix
|
||||
Epoch: 1
|
||||
Version: %{tixmajor}.3
|
||||
Release: 29%{?dist}
|
||||
Release: 30%{?dist}
|
||||
License: TCL
|
||||
URL: http://tix.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/Tix%{version}-src.tar.gz
|
||||
@ -69,10 +69,10 @@ sed -i 's/\r//' docs/Release-8.4.0.txt
|
||||
|
||||
%build
|
||||
%configure --with-tcl=%{_libdir} --with-tk=%{_libdir} --libdir=%{tcl_sitearch}
|
||||
make all %{?_smp_mflags} PKG_LIB_FILE=libTix.so
|
||||
%make_build all PKG_LIB_FILE=libTix.so
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT PKG_LIB_FILE=libTix.so
|
||||
%make_install PKG_LIB_FILE=libTix.so
|
||||
|
||||
# move shared lib to tcl sitearch
|
||||
mv $RPM_BUILD_ROOT%{tcl_sitearch}/Tix%{version}/libTix.so \
|
||||
@ -127,6 +127,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/Tix%{tixmajor}/license.terms
|
||||
%doc %{tcl_sitelib}/Tix%{tixmajor}
|
||||
|
||||
%changelog
|
||||
* Thu Nov 26 2020 Vitezslav Crhonek <vcrhonek@redhat.com> - 1:8.4.3-30
|
||||
- Use make macros, patch by Tom Stellard <tstellar@redhat.com>
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:8.4.3-29
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user