[rpmlint-scl-config] Initial import (#1138423)
Miro Hrončok
churchyard at fedoraproject.org
Tue Dec 30 12:42:23 UTC 2014
commit b6353a60e0230dd6d1869ee7270f9092224f3fa1
Author: Miro Hrončok <miro at hroncok.cz>
Date: Tue Dec 30 13:41:46 2014 +0100
Initial import (#1138423)
rpmlint-scl-config.spec | 29 +++++++++++++++++++++++++++++
scl.config | 4 ++++
2 files changed, 33 insertions(+), 0 deletions(-)
---
diff --git a/rpmlint-scl-config.spec b/rpmlint-scl-config.spec
new file mode 100644
index 0000000..58eccdb
--- /dev/null
+++ b/rpmlint-scl-config.spec
@@ -0,0 +1,29 @@
+Name: rpmlint-scl-config
+Version: 0
+Release: 1%{?dist}
+Summary: Software Collections related configuration for rpmlint
+License: Public Domain
+Source0: scl.config
+BuildArch: noarch
+Requires: rpmlint => 1.6
+
+%description
+Configuration that enables Software Collections checks for rpmlint.
+
+%prep
+# nothing
+
+%build
+# nothing
+
+%install
+mkdir -p %{buildroot}%{_sysconfdir}/rpmlint
+install -pm 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/rpmlint/scl.config
+
+%files
+%config(noreplace) %{_sysconfdir}/rpmlint/scl.config
+
+%changelog
+* Thu Aug 14 2014 Miro Hrončok <mhroncok at redhat.com> - 0-1
+- Initial package
+
diff --git a/scl.config b/scl.config
new file mode 100644
index 0000000..0638a1c
--- /dev/null
+++ b/scl.config
@@ -0,0 +1,4 @@
+# Enable SCL checks
+addCheck("SCLCheck")
+# Disbale repoting files in /opt
+addFilter("dir-or-file-in-opt")
More information about the scm-commits
mailing list