[spacewalk-pylint] initial import of spacewalk-pylint-0.5

Miroslav Suchý msuchy at fedoraproject.org
Mon Jun 4 13:41:53 UTC 2012


commit c686f2155144b328ad8e004c1d7625290a1f3962
Author: Miroslav Suchý <msuchy at redhat.com>
Date:   Mon Jun 4 15:41:24 2012 +0200

    initial import of spacewalk-pylint-0.5

 .gitignore            |    1 +
 sources               |    1 +
 spacewalk-pylint.spec |   70 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 72 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..94a5fa8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/spacewalk-pylint-0.5.tar.gz
diff --git a/sources b/sources
index e69de29..2535ee2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+41f9039d7bec3518a0f24e49dbec76c9  spacewalk-pylint-0.5.tar.gz
diff --git a/spacewalk-pylint.spec b/spacewalk-pylint.spec
new file mode 100644
index 0000000..289160b
--- /dev/null
+++ b/spacewalk-pylint.spec
@@ -0,0 +1,70 @@
+Name:		spacewalk-pylint
+Version:	0.5
+Release:	1%{?dist}
+Summary:	Pylint configuration for spacewalk python packages
+
+Group:		Development/Debuggers
+License:	GPLv2
+URL:		https://fedorahosted.org/spacewalk
+Source0:	https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
+BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+BuildArch:	noarch
+
+Requires:	pylint
+BuildRequires:	asciidoc
+BuildRequires:	libxslt
+%if 0%{?rhel} < 6
+BuildRequires:	docbook-style-xsl
+%endif
+
+
+%description
+Pylint configuration fine tuned to check coding style of spacewalk python
+packages.
+
+%prep
+%setup -q
+
+%build
+a2x -d manpage -f manpage spacewalk-pylint.8.asciidoc
+
+%install
+rm -rf %{buildroot}
+install -d -m 755 %{buildroot}/%{_bindir}
+install -p -m 755 spacewalk-pylint %{buildroot}/%{_bindir}/
+install -d -m 755 %{buildroot}/%{_sysconfdir}
+install -p -m 644 spacewalk-pylint.rc %{buildroot}/%{_sysconfdir}/
+mkdir -p %{buildroot}/%{_mandir}/man8
+install -m 644 spacewalk-pylint.8 %{buildroot}/%{_mandir}/man8
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%{_bindir}/spacewalk-pylint
+%config(noreplace)  %{_sysconfdir}/spacewalk-pylint.rc
+%doc %{_mandir}/man8/spacewalk-pylint.8*
+%doc LICENSE
+
+%changelog
+* Mon Jun 04 2012 Miroslav Suchý <msuchy at redhat.com> 0.5-1
+- %%defattr is not needed since rpm 4.4 (msuchy at redhat.com)
+
+* Wed May 16 2012 Miroslav Suchý <msuchy at redhat.com> 0.4-1
+- 800899 - consistently use macros
+- 800899 - include license file
+- Spacewalk is released under GPLv2, lets stick to it
+
+* Wed Mar 07 2012 Miroslav Suchý 0.3-1
+- add man page
+- Description lines must not exceed 80 characters
+- Summary must begin with capital letter
+
+* Wed Feb 15 2012 Michael Mraka <michael.mraka at redhat.com> 0.2-1
+- made it noarch package
+
+* Wed Feb 15 2012 Michael Mraka <michael.mraka at redhat.com> 0.1-1
+- new package built with tito
+


More information about the scm-commits mailing list