From d1bb439ca25aa0f30fa94d0437eed5c51df40c70 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Wed, 11 Jul 2012 11:21:26 +0000 Subject: [PATCH] - back to .sh files --- rpm-build-tools.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rpm-build-tools.spec b/rpm-build-tools.spec index 974a788..868fad3 100644 --- a/rpm-build-tools.spec +++ b/rpm-build-tools.spec @@ -10,9 +10,9 @@ Release: 1 License: GPL Group: Applications/File Group: Base -Source0: builder +Source0: builder.sh Source1: adapter.awk -Source2: adapter +Source2: adapter.sh Source3: pldnotify.awk BuildRequires: sed >= 4.0 Requires: gawk >= 3.1.7 @@ -60,9 +60,9 @@ cp -p %{SOURCE0} %{SOURCE2} . cp -p %{SOURCE1} adapter.awk cp -p %{SOURCE3} pldnotify.awk -%{__sed} -i -e 's,^adapter=.*/adapter.awk,adapter=%{_libdir}/adapter.awk,' adapter +%{__sed} -i -e 's,^adapter=.*/adapter.awk,adapter=%{_libdir}/adapter.awk,' adapter.sh -%{__sed} -i -e '/^VERSION=/s,\([^/]\+\)/.*",\1-RELEASE",' builder adapter +%{__sed} -i -e '/^VERSION=/s,\([^/]\+\)/.*",\1-RELEASE",' builder.sh adapter.sh %{__sed} -i -e '/\tRCSID =/,/^\trev =/d;/\tVERSION = /s,\([^/]\+\)/.*,\1-RELEASE",' adapter.awk %install @@ -70,8 +70,8 @@ rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}} cp -p adapter.awk $RPM_BUILD_ROOT%{_libdir}/adapter.awk install -p pldnotify.awk $RPM_BUILD_ROOT%{_bindir} -install -p builder $RPM_BUILD_ROOT%{_bindir}/builder -install -p adapter $RPM_BUILD_ROOT%{_bindir}/adapter +install -p builder.sh $RPM_BUILD_ROOT%{_bindir}/builder +install -p adapter.sh $RPM_BUILD_ROOT%{_bindir}/adapter %clean rm -rf $RPM_BUILD_ROOT -- 2.46.0