From fa3ea7504fc0c8b651384091de9b094bf8bc6a4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jason=20=E3=83=86=E3=82=A3=E3=83=93=E3=83=84?= Date: Fri, 14 Aug 2009 16:21:05 +0000 Subject: [PATCH 1/4] Initialize branch EL-5 for django-piston --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..42f697a --- /dev/null +++ b/branch @@ -0,0 +1 @@ +EL-5 From b39c4f7b6f43ab50121379f80126ef5ed11f737b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20B=C3=BArigo=20Zacar=C3=A3o?= Date: Fri, 14 Aug 2009 17:59:24 +0000 Subject: [PATCH 2/4] Initial import --- .cvsignore | 1 + django-piston.spec | 41 +++++++++++++++++++++++++++++++++++++++++ import.log | 1 + sources | 1 + 4 files changed, 44 insertions(+) create mode 100644 django-piston.spec create mode 100644 import.log diff --git a/.cvsignore b/.cvsignore index e69de29..8101924 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +django-piston-0.2.2.tar.gz diff --git a/django-piston.spec b/django-piston.spec new file mode 100644 index 0000000..73c43f6 --- /dev/null +++ b/django-piston.spec @@ -0,0 +1,41 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: django-piston +Version: 0.2.2 +Release: 1%{?dist} +Summary: A mini-framework for Django for creating RESTful APIs + +Group: Development/Languages +License: BSD +URL: http://bitbucket.org/jespern/django-piston/ +Source: http://bitbucket.org/jespern/django-piston/downloads/django-piston-0.2.2.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python-devel python-setuptools-devel +Requires: Django + +%description +Piston is a relatively small Django application that lets you +create application programming interfaces (API) for your sites. + +%prep +%setup -q -n %{name} + +%build +%{__python} setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%{python_sitelib}/* + +%changelog +* Thu Aug 14 2009 Diego Búrigo Zacarão 0.2.2-1 +- Initial RPM release diff --git a/import.log b/import.log new file mode 100644 index 0000000..bfaef71 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +django-piston-0_2_2-1_fc11:EL-5:django-piston-0.2.2-1.fc11.src.rpm:1250272738 diff --git a/sources b/sources index e69de29..bdcf473 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +28a2900695fdbcb14ff3c45390e7a4fd django-piston-0.2.2.tar.gz From c64fe71256e91cf4b2cf0c6d74aa24bfbe384c6e Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:23:27 +0000 Subject: [PATCH 3/4] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e7408e7..55f50fc 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: django-piston -# $Id$ +# $Id: Makefile,v 1.1 2009/08/14 16:21:01 tibbs Exp $ NAME := django-piston 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 +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 3ce3b1c036f6a7c901126bde3a6400cf525b90e4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 13:05:10 +0000 Subject: [PATCH 4/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 55f50fc..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: django-piston -# $Id: Makefile,v 1.1 2009/08/14 16:21:01 tibbs Exp $ -NAME := django-piston -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 $$d/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) diff --git a/branch b/branch deleted file mode 100644 index 42f697a..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -EL-5 diff --git a/import.log b/import.log deleted file mode 100644 index bfaef71..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -django-piston-0_2_2-1_fc11:EL-5:django-piston-0.2.2-1.fc11.src.rpm:1250272738