public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/lazarus] multiple-IDE-widgetsets: Fix LazarusVersion substitution in configuration (#650622)
@ 2026-07-23  8:17 Lubomir Rintel
  0 siblings, 0 replies; only message in thread
From: Lubomir Rintel @ 2026-07-23  8:17 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/lazarus
Branch : multiple-IDE-widgetsets
Commit : 769c9866d28d15e9fda5f9550bb929fb333824a9
Author : Lubomir Rintel <lkundrak@v3.sk>
Date   : 2010-12-05T12:36:34+01:00
Stats  : +7/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/lazarus/c/769c9866d28d15e9fda5f9550bb929fb333824a9?branch=multiple-IDE-widgetsets

Log:
Fix LazarusVersion substitution in configuration (#650622)

---
diff --git a/lazarus.spec b/lazarus.spec
index 1a271aa..8b042e2 100644
--- a/lazarus.spec
+++ b/lazarus.spec
@@ -1,6 +1,6 @@
 Name:           lazarus
 Version:        0.9.28.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Lazarus Component Library and IDE for Freepascal
 
 Group:          Development/Languages
@@ -71,7 +71,9 @@ ln -sf ../%{_lib}/%{name}/startlazarus %{buildroot}%{_bindir}/startlazarus
 ln -sf ../%{_lib}/%{name}/lazbuild %{buildroot}%{_bindir}/lazbuild
 
 install -D -p -m 0644 lazarus/tools/install/linux/editoroptions.xml %{buildroot}%{_sysconfdir}/lazarus/editoroptions.xml
-sed 's#/usr/lib/lazarus/#%{_libdir}/%{name}#;s#/\$(FPCVER)##' lazarus/tools/install/linux/environmentoptions.xml > %{buildroot}%{_sysconfdir}/lazarus/environmentoptions.xml
+sed 's#/usr/lib/lazarus/#%{_libdir}/%{name}#;s#/\$(FPCVER)##;s/%%LazarusVersion%%//' \
+        lazarus/tools/install/linux/environmentoptions.xml \
+        > %{buildroot}%{_sysconfdir}/lazarus/environmentoptions.xml
 
 chmod 755 %{buildroot}%{_libdir}/%{name}/components/lazreport/tools/localize.sh
 
@@ -101,6 +103,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
 %{_mandir}/*/*
 
 %changelog
+* Sun Dec 05 2010 Lubomir Rintel <lkundrak@v3.sk> - 0.9.28.2-2
+- Fix LazarusVersion substitution in configuration
+
 * Wed May 19 2010 Joost van der Sluis <joost@cnoc.nl> - 0.9.28.2-1
 - Updated to version 0.9.28.2
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-23  8:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-23  8:17 [rpms/lazarus] multiple-IDE-widgetsets: Fix LazarusVersion substitution in configuration (#650622) Lubomir Rintel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox