rpms/python-hashlib/EL-5 python-hashlib.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Dennis Gilmore ausil at fedoraproject.org
Fri Feb 20 23:30:12 UTC 2009


Author: ausil

Update of /cvs/pkgs/rpms/python-hashlib/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19381

Modified Files:
	.cvsignore sources 
Added Files:
	python-hashlib.spec 
Log Message:
iinitial import



--- NEW FILE python-hashlib.spec ---
%{!?python_sitelib_platform: %define python_sitelib_platform %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%define pkgname hashlib

Summary: Secure hash and message digest algorithm library
Name: python-hashlib
Version: 20081119
Release: 4%{?dist}
Source0: http://code.krypto.org/python/hashlib/%{pkgname}-%{version}.tar.gz
License: Python
Group:   Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: openssl-devel, python-devel
Prefix: %{_prefix}
Url: http://code.krypto.org/python/hashlib/

%description
This is a stand alone packaging of the hashlib library introduced in 
Python 2.5 so that it can be used on older versions of Python.

%prep
%setup -q -n %{pkgname}-%{version}
#fix EOL characters
sed -i -e 's|\r||g' README.txt ChangeLog

%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --root=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{python_sitelib_platform}/*
%doc README.txt ChangeLog

%changelog
* Fri Feb 20 2009 Dennis Gilmore <dennis at ausil.us> - 20081119-4
- review fixes (License TAG, doc files)

* Thu Jan 29 2009 Seth Vidal <skvidal at fedoraproject.org> - 20081119-3
- few minor spec cleanups
- add Changelog to docs
- first build and packaging



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-hashlib/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	20 Feb 2009 23:23:22 -0000	1.1
+++ .cvsignore	20 Feb 2009 23:29:41 -0000	1.2
@@ -0,0 +1 @@
+hashlib-20081119.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-hashlib/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	20 Feb 2009 23:23:22 -0000	1.1
+++ sources	20 Feb 2009 23:29:41 -0000	1.2
@@ -0,0 +1 @@
+09dea11f5b826718d2032db210183d3c  hashlib-20081119.tar.gz




More information about the fedora-extras-commits mailing list