mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 08:59:05 +02:00
* use $fpcversion
This commit is contained in:
parent
c9e17321d7
commit
47e5bc3dfd
@ -155,7 +155,7 @@ install-arch-stamp: build-arch-stamp debian-files-stamp
|
|||||||
|
|
||||||
# Create fpc.cfg which is included as conffile
|
# Create fpc.cfg which is included as conffile
|
||||||
chmod 755 compiler/utils/samplecfg
|
chmod 755 compiler/utils/samplecfg
|
||||||
compiler/utils/samplecfg "/usr/lib/fpc/\$$version" $(INSTALL_DIR)/etc
|
compiler/utils/samplecfg "/usr/lib/fpc/\$$fpcversion" $(INSTALL_DIR)/etc
|
||||||
touch install-arch-stamp
|
touch install-arch-stamp
|
||||||
|
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ fi
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
# Create a version independent config
|
# Create a version independent config
|
||||||
%{fpcdir}/samplecfg %{_libdir}/fpc/\$version
|
%{fpcdir}/samplecfg %{_libdir}/fpc/\$fpcversion
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
Loading…
Reference in New Issue
Block a user