From 8c0e32f77439319b2e343db010d77f21dfa7c142 Mon Sep 17 00:00:00 2001 From: Karanbir Singh Date: Jul 10 2014 18:10:30 +0000 Subject: import python-jsonpointer-1.0-2.el7 --- diff --git a/.python-jsonpointer.metadata b/.python-jsonpointer.metadata new file mode 100644 index 0000000..4276265 --- /dev/null +++ b/.python-jsonpointer.metadata @@ -0,0 +1 @@ +16c2f7a0ae36cf53ef0a1d66fb3a466a297de77b SOURCES/python-json-pointer-1.0-c1ec3df.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 5231011..0000000 --- a/README.md +++ /dev/null @@ -1,8 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch -for CentOS-4, 5 or 6. If you find this file in a distro specific branch, it -means that no content has been checked in yet - -More information on how these git repositories are setup, is available at -http://wiki.centos.org/Sources diff --git a/SPECS/python-jsonpointer.spec b/SPECS/python-jsonpointer.spec new file mode 100644 index 0000000..45f15f5 --- /dev/null +++ b/SPECS/python-jsonpointer.spec @@ -0,0 +1,44 @@ +%global pypi_name jsonpointer +%global github_name python-json-pointer +%global commit c1ec3dfd171b242e23b3fe078a99f0e23fb0c6ea +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +Name: python-%{pypi_name} +Version: 1.0 +Release: 2%{?dist} +Summary: Resolve JSON Pointers in Python + +License: BSD +URL: https://github.com/stefankoegl/%{github_name} +# pypi tarball does not contain COPYING +Source0: https://github.com/stefankoegl/%{github_name}/archive/%{commit}/%{github_name}-%{version}-%{shortcommit}.tar.gz + +BuildArch: noarch +BuildRequires: python2-devel + +%description +Library to resolve JSON Pointers according to RFC 6901. + +%prep +%setup -qn %{github_name}-%{commit} + +%build +%{__python} setup.py build + +%install +%{__python} setup.py install --skip-build --root %{buildroot} + +%check +%{__python} tests.py + +%files +%doc README.md COPYING AUTHORS +%{python_sitelib}/%{pypi_name}.py* +%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info + +%changelog +* Thu Sep 05 2013 Alan Pevec - 1.0-2 +- add AUTHORS to docs + +* Mon Jul 01 2013 Alan Pevec - 1.0-1 +- Initial package.