[lshell] * Wed Jun 26 2013 Fabian Affolter <mail at fabian-affolter.ch> - 0.9.15.1-4 - Spec file updated
Fabian Affolter
fab at fedoraproject.org
Thu Jun 27 08:32:48 UTC 2013
commit 2704be9308a9c2f3ae10d7f6f47dc58dadd2d8a4
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date: Thu Jun 27 10:32:28 2013 +0200
* Wed Jun 26 2013 Fabian Affolter <mail at fabian-affolter.ch> - 0.9.15.1-4
- Spec file updated
lshell.spec | 24 ++++++------------------
1 files changed, 6 insertions(+), 18 deletions(-)
---
diff --git a/lshell.spec b/lshell.spec
index 1016230..9da8481 100644
--- a/lshell.spec
+++ b/lshell.spec
@@ -1,17 +1,12 @@
-%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%endif
-
Name: lshell
Version: 0.9.15.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Python-based limited Shell
-Group: Applications/System
License: GPLv3+
-URL: http://ghantoos.org/limited-shell-lshell
+URL: https://github.com/ghantoos/lshell
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
BuildArch: noarch
BuildRequires: python2-devel
@@ -21,7 +16,6 @@ BuildRequires: python-setuptools
lshell provides a limited shell configured per user. The configuration
is done quite simply using a configuration file.
-
%prep
%setup -q
#Fix permission
@@ -29,24 +23,15 @@ chmod -x CHANGES
#Remove shebang
sed -i -e '/^#!\//, 1d' lshellmodule/lshell.py
-
%build
%{__python} setup.py build
-
%install
-rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root=%{buildroot}
#doc files at the wrong place
rm %{buildroot}%{_defaultdocdir}/lshell/{CHANGES,COPYING,README}
-
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root,-)
%doc CHANGES COPYING README
%{_mandir}/man*/*.*
%{_bindir}/%{name}
@@ -57,6 +42,9 @@ rm -rf %{buildroot}
%changelog
+* Wed Jun 26 2013 Fabian Affolter <mail at fabian-affolter.ch> - 0.9.15.1-4
+- Spec file updated
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.15.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list