SPECS: python-pexpect.spec - PLD policy, cosmetics
saq
saq at pld-linux.org
Tue Aug 16 15:03:26 CEST 2005
Author: saq Date: Tue Aug 16 13:03:26 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- PLD policy, cosmetics
---- Files affected:
SPECS:
python-pexpect.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/python-pexpect.spec
diff -u SPECS/python-pexpect.spec:1.1 SPECS/python-pexpect.spec:1.2
--- SPECS/python-pexpect.spec:1.1 Sun Aug 14 21:51:57 2005
+++ SPECS/python-pexpect.spec Tue Aug 16 15:03:20 2005
@@ -5,7 +5,7 @@
Name: python-%{module}
Version: 0.999
Release: 0.1
-License: Python Software Foundation License
+License: PSF
Group: Development/Languages/Python
Source0: http://dl.sourceforge.net/sourceforge/pexpect/%{module}-%{version}.tgz
# Source0-md5: e426e5f54d323aaf392008c9eb35131d
@@ -16,7 +16,8 @@
URL: http://pexpect.soufceforge.net/
BuildRequires: python-modules
BuildRequires: python-devel >= 2.2
-%pyrequires_eq python
+BuildRequires: rpmbuild(macros) >= 1.219
+%pyrequires_eq python-modules
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -33,10 +34,7 @@
kontrolę imitując interakcję użytkownika.
%prep
-%setup -q -n %{module}-%{version} -a1
-cp %{SOURCE1} %{SOURCE2} .
-tar zxf %{SOURCE1}
-tar zxf %{SOURCE2}
+%setup -q -n %{module}-%{version} -a 1 -a 2
%build
python setup.py build
@@ -44,22 +42,24 @@
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-install examples/*.py {ANSI,FSM,screen}.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/
python setup.py install \
--root=$RPM_BUILD_ROOT
+install examples/*.py {ANSI,FSM,screen}.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%{py_sitescriptdir}/*.py[co]
-%{_examplesdir}/%{name}-%{version}/*.py
%doc README.txt doc/*.html
+%{py_sitescriptdir}/*.py[co]
+%{_examplesdir}/%{name}-%{version}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -67,6 +67,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2005/08/16 13:03:20 saq
+- PLD policy, cosmetics
+
Revision 1.1 2005/08/14 19:51:57 twittner
- added (spec was made by Irek Słonina <br linuxnews pl>)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/python-pexpect.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list