summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsaq2005-07-28 14:20:30 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit5046248c9e15dee61c9b9de8fb300569c4c176b7 (patch)
tree632aec2069e3eb4dc2ec69cefb4174866418ddab
parentabea18b8d2fdb2f412e07cf9c209d074708d3bc3 (diff)
downloadpython-Crypto-5046248c9e15dee61c9b9de8fb300569c4c176b7.zip
python-Crypto-5046248c9e15dee61c9b9de8fb300569c4c176b7.tar.gz
- simplified files Changed files: python-Crypto.spec -> 1.16
-rw-r--r--python-Crypto.spec24
1 files changed, 8 insertions, 16 deletions
diff --git a/python-Crypto.spec b/python-Crypto.spec
index 6c756e5..4f911ba 100644
--- a/python-Crypto.spec
+++ b/python-Crypto.spec
@@ -4,11 +4,11 @@
Summary: Python Cryptography Toolkit
Summary(pl): Kryptograficzny przybornik dla jêzyka Python
Name: python-%{module}
-Version: 2.0
-Release: 4
+Version: 2.0.1
+Release: 1
License: Free
Source0: http://www.amk.ca/files/python/crypto/pycrypto-%{version}.tar.gz
-# Source0-md5: 55f9875c554ede75ad605d2c7504d94f
+# Source0-md5: 4d5674f3898a573691ffb335e8d749cd
URL: http://www.amk.ca/python/code/crypto.html
Group: Development/Languages/Python
%pyrequires_eq python-modules
@@ -57,28 +57,20 @@ install -d $RPM_BUILD_ROOT%{py_sitedir}
python setup.py install \
--root=$RPM_BUILD_ROOT --optimize=2
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/%{module}{,/*}/*.py
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc ACKS ChangeLog README TODO Doc Demo
+%doc ACKS ChangeLog README TODO Doc
%dir %{py_sitedir}/%{module}
%{py_sitedir}/%{module}/*.py[co]
-
%dir %{py_sitedir}/%{module}/Cipher
-%attr(755,root,root) %{py_sitedir}/%{module}/Cipher/*.so
-%{py_sitedir}/%{module}/Cipher/*.py[co]
-
%dir %{py_sitedir}/%{module}/Hash
-%attr(755,root,root) %{py_sitedir}/%{module}/Hash/*.so
-%{py_sitedir}/%{module}/Hash/*.py[co]
-
%dir %{py_sitedir}/%{module}/Protocol
-%{py_sitedir}/%{module}/Protocol/*.py[co]
-
%dir %{py_sitedir}/%{module}/PublicKey
-%{py_sitedir}/%{module}/PublicKey/*.py[co]
-
%dir %{py_sitedir}/%{module}/Util
-%{py_sitedir}/%{module}/Util/*.py[co]
+%attr(755,root,root) %{py_sitedir}/%{module}/*/*.so
+%{py_sitedir}/%{module}/*/*.py[co]