[packages/pldnotify] install .py version as well

glen glen at pld-linux.org
Sun Oct 2 15:49:32 CEST 2016


commit cf1f7c5e733f21faf3934f237468e21c5e076915
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Oct 2 16:48:53 2016 +0300

    install .py version as well

 pldnotify.spec | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/pldnotify.spec b/pldnotify.spec
index 3896aac..20de9f8 100644
--- a/pldnotify.spec
+++ b/pldnotify.spec
@@ -1,10 +1,11 @@
 Summary:	Tool to check for updates in RPM .spec files
 Name:		pldnotify
 Version:	4.8
-Release:	1
+Release:	2
 License:	GPL
 Group:		Applications/File
 Source0:	%{name}.awk
+Source1:	%{name}.py
 Requires:	coreutils
 Requires:	curl
 Requires:	nodejs
@@ -28,17 +29,21 @@ Tool to check for updates in RPM .spec files.
 
 %prep
 %setup -qcT
-cp -p %{SOURCE0} pldnotify.awk
+cp -p %{SOURCE0} .
+cp -p %{SOURCE1} .
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
-install -p pldnotify.awk $RPM_BUILD_ROOT%{_bindir}/pldnotify
-ln -s pldnotify $RPM_BUILD_ROOT%{_bindir}/pldnotify.awk
+install -p pldnotify.awk $RPM_BUILD_ROOT%{_bindir}
+install -p pldnotify.py $RPM_BUILD_ROOT%{_bindir}
+ln -s pldnotify.awk $RPM_BUILD_ROOT%{_bindir}/pldnotify
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/pldnotify*
+%attr(755,root,root) %{_bindir}/pldnotify.awk
+%attr(755,root,root) %{_bindir}/pldnotify.py
+%attr(755,root,root) %{_bindir}/pldnotify
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pldnotify.git/commitdiff/cf1f7c5e733f21faf3934f237468e21c5e076915



More information about the pld-cvs-commit mailing list