diff options
author | Jiri Kastner <jkastner@redhat.com> | 2017-11-21 13:44:01 +0100 |
---|---|---|
committer | Jiri Kastner <jkastner@redhat.com> | 2017-11-21 13:44:01 +0100 |
commit | 744eab98c79871d5955a72654448813fcd365094 (patch) | |
tree | 82c93e3b51acd838d6bfca957721e6d001430d28 | |
parent | 191288d542139bd1af0b8b79938572a7f0260135 (diff) | |
download | python-linux-procfs-744eab98c79871d5955a72654448813fcd365094.tar.gz |
setup.py: added scripts to setup.py
added scripts to setup.py, pflags renamed and added to setup.py
Signed-off-by: Jiri Kastner <jkastner@redhat.com>
-rwxr-xr-x | pflags (renamed from pflags-cmd.py) | 0 | ||||
-rw-r--r-- | rpm/SPECS/python-linux-procfs.spec | 8 | ||||
-rwxr-xr-x | setup.py | 1 |
3 files changed, 7 insertions, 2 deletions
diff --git a/rpm/SPECS/python-linux-procfs.spec b/rpm/SPECS/python-linux-procfs.spec index a4b49c0..e374c61 100644 --- a/rpm/SPECS/python-linux-procfs.spec +++ b/rpm/SPECS/python-linux-procfs.spec @@ -1,9 +1,11 @@ %if 0%{?fedora} %global with_python3 1 +%else +%global without_python3 1 %endif Name: python-linux-procfs -Version: 0.5 +Version: 0.5.1 Release: 1%{?dist} License: GPLv2 Summary: Linux /proc abstraction classes @@ -57,7 +59,6 @@ rm -rf %{buildroot} %if 0%{?with_python3} %py3_install %endif -cp pflags-cmd.py %{buildroot}%{_bindir}/pflags %clean rm -rf %{buildroot} @@ -80,6 +81,9 @@ rm -rf %{buildroot} %endif %changelog +* Tue Nov 21 2017 Jiri Kastner <jkastner@redhat.com> - 0.5.1-1 +- added scripts to setup.py, pflags renamed and added to setup.py + * Mon Nov 20 2017 Jiri Kastner <jkastner@redhat.com> - 0.5-1 - added python3 support @@ -23,5 +23,6 @@ setup(name="python-linux-procfs", Abstractions to extract information from the Linux kernel /proc files. """, packages = ["procfs"], + scripts = ['pflags'], install_requires = ['six'], ) |