From 223303d9fbce0be61f6dea9f4d3a0aba863b9324 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 3 Dec 2014 21:20:27 +1000 Subject: [PATCH] fix double %_bindir in %post scripts --- alex.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/alex.spec b/alex.spec index 13b64e1..c5a1670 100644 --- a/alex.spec +++ b/alex.spec @@ -45,10 +45,10 @@ lex or flex for C/C++. %if %{with static} %package common -Summary: Common files for alex +Summary: Common files for %{name} %description common -This provides the common files for alex. +This provides the common files for %{name}. %package static @@ -102,7 +102,7 @@ rm %{buildroot}%{_pkgdocdir}/LICENSE %if %{with static} %post %{_sbindir}/update-alternatives --install %{_bindir}/%{name} \ - %{name} %{_bindir}/%{_bindir}/%{name}.dynamic 70 + %{name} %{_bindir}/%{name}.dynamic 70 %postun @@ -113,7 +113,7 @@ fi %post static %{_sbindir}/update-alternatives --install %{_bindir}/%{name} \ - %{name} %{_bindir}/%{_bindir}/%{name}.static 30 + %{name} %{_bindir}/%{name}.static 30 %postun static