mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 04:59:26 +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
|
||||
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
|
||||
|
||||
|
||||
|
@ -109,7 +109,7 @@ fi
|
||||
|
||||
%post
|
||||
# Create a version independent config
|
||||
%{fpcdir}/samplecfg %{_libdir}/fpc/\$version
|
||||
%{fpcdir}/samplecfg %{_libdir}/fpc/\$fpcversion
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
|
Loading…
Reference in New Issue
Block a user