Browse Source

* use $fpcversion

peter 21 years ago
parent
commit
47e5bc3dfd
2 changed files with 2 additions and 2 deletions
  1. 1 1
      install/debian/rules
  2. 1 1
      install/fpc.spec

+ 1 - 1
install/debian/rules

@@ -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
 
 

+ 1 - 1
install/fpc.spec

@@ -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)