Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Kevin Fenzi
cf9c29153a package added into rhel in rhel6.7 2015-09-28 15:04:59 -06:00
Fedora Release Engineering
9fc7439fd9 dist-git conversion 2010-07-29 10:14:18 +00:00
Dennis Gilmore
e931c73e2e Initialize branch EL-6 for python-chardet 2010-05-08 02:17:45 +00:00
Kushal Das
8352c230c8 Updating to new release of 2.0.1 2010-04-07 10:08:39 +00:00
Bill Nottingham
e21a65360c Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:50:25 +00:00
6 changed files with 1 additions and 79 deletions

View file

@ -1 +0,0 @@
chardet-1.0.1.tgz

View file

@ -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
dead.package Normal file
View file

@ -0,0 +1 @@
package added into rhel in rhel6.7

View file

@ -1 +0,0 @@
python-chardet-1_0_1-1_fc9:HEAD:python-chardet-1.0.1-1.fc9.src.rpm:1239526287

View file

@ -1,55 +0,0 @@
# 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_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: python-chardet
Version: 1.0.1
Release: 2%{?dist}
Summary: Character encoding auto-detection in Python
Group: Development/Languages
License: LGPLv2
URL: http://chardet.feedparser.org
Source0: http://chardet.feedparser.org/download/chardet-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel, python-setuptools
%description
Character encoding auto-detection in Python. As
smart as your browser. Open source.
%prep
%setup -q -n chardet-%{version}
%build
# Remove CFLAGS=... for noarch packages (unneeded)
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
chmod -x COPYING
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING
# For noarch packages: sitelib
%{python_sitelib}/*
%changelog
* 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
* Mon Aug 04 2008 Kushal Das <kushal@fedoraproject.org> 1.0.1-1
- Initial release

View file

@ -1 +0,0 @@
f8c510a6fac300fe0ac9a0c24a76a7ba chardet-1.0.1.tgz