Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
00011da4e1 | ||
|
|
1bbe12554b | ||
|
|
c886dde22e | ||
|
|
d7d2adb32d |
5 changed files with 8 additions and 29 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
||||||
# Makefile for source rpm: python-chardet
|
|
||||||
# $Id$
|
|
||||||
NAME := python-chardet
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attept a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
python-chardet-1_0_1-1_fc9:HEAD:python-chardet-1.0.1-1.fc9.src.rpm:1239526287
|
|
||||||
|
|
@ -1,16 +1,14 @@
|
||||||
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
|
|
||||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
||||||
|
|
||||||
Name: python-chardet
|
Name: python-chardet
|
||||||
Version: 1.0.1
|
Version: 2.0.1
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Character encoding auto-detection in Python
|
Summary: Character encoding auto-detection in Python
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: LGPLv2
|
License: LGPLv2
|
||||||
URL: http://chardet.feedparser.org
|
URL: http://chardet.feedparser.org
|
||||||
Source0: http://chardet.feedparser.org/download/chardet-%{version}.tgz
|
Source0: http://chardet.feedparser.org/download/python2-chardet-%{version}.tgz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
@ -21,7 +19,7 @@ Character encoding auto-detection in Python. As
|
||||||
smart as your browser. Open source.
|
smart as your browser. Open source.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n chardet-%{version}
|
%setup -q -n python2-chardet-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -47,6 +45,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 13 2010 Kushal Das <kushal@fedoraproject.org> 2.0.1-1
|
||||||
|
- New release
|
||||||
|
|
||||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
f8c510a6fac300fe0ac9a0c24a76a7ba chardet-1.0.1.tgz
|
ec771971bab5dd1943a10362ebd2fd4c python2-chardet-2.0.1.tgz
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue