]> TLD Linux GIT Repositories - packages/rpm-build-tools.git/commitdiff
- back to .sh files
authorMarcin Krol <hawk@tld-linux.org>
Wed, 11 Jul 2012 11:21:26 +0000 (11:21 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Wed, 11 Jul 2012 11:21:26 +0000 (11:21 +0000)
rpm-build-tools.spec

index 974a788f4f1c5644e2b24eb4734099d2d4161967..868fad33aacfe7f9b9e4d2f10a88e91ada16b891 100644 (file)
@@ -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