[nf3d/el6: 1/2] Add missing dependencies.
Christopher Meng
cicku at fedoraproject.org
Mon Mar 3 05:35:59 UTC 2014
commit 461bc1fc636f93a185fdf877c97052eddc89dfbf
Author: Christopher Meng <i at cicku.me>
Date: Mon Mar 3 13:34:07 2014 +0800
Add missing dependencies.
nf3d.spec | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/nf3d.spec b/nf3d.spec
index 31c54bd..cec5b3c 100644
--- a/nf3d.spec
+++ b/nf3d.spec
@@ -1,13 +1,16 @@
Name: nf3d
Version: 0.8
-Release: 1%{?dist}
-Summary: GANTT-style visualization for netfilter connections and logged packets
+Release: 2%{?dist}
+Summary: 3D Netfilter visualization utility
License: GPLv3+
URL: http://github.com/regit/nf3d
Source0: https://home.regit.org/wp-content/uploads/2013/02/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python-setuptools
+Requires: PyGreSQL
+Requires: python-configobj
+Requires: python-visual
%description
nf3d is a netfilter visualization tool. It displays connections and
@@ -18,12 +21,11 @@ logged packets in a GANTT diagram fashion.
sed -i 's|#!/usr/bin/env python|#!/usr/bin/python|' %{name}/%{name}
%build
-export CFLAGS="%optflags"
%{__python2} setup.py build
%install
%{__python2} setup.py install -O1 --skip-build --root=%{buildroot}
-install -p -D -m 644 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}.conf
+install -pDm644 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}.conf
%files
%doc Changelog COPYING README.rst
@@ -32,6 +34,9 @@ install -p -D -m 644 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}.conf
%config(noreplace) %{_sysconfdir}/%{name}.conf
%changelog
+* Mon Mar 03 2014 Christopher Meng <rpm at cicku.me> - 0.8-2
+- Add missing dependencies.
+
* Tue May 28 2013 Christopher Meng <rpm at cicku.me> - 0.8-1
- Fix some rpmlint issues.
- New version.
More information about the scm-commits
mailing list