From f59b293ba4d0f8552611d50074e9a0cccd886468 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Wed, 15 Jul 2015 17:53:38 +0530 Subject: [PATCH] Modernize spec file - add missing source --- .gitignore | 1 + python-cffi.spec | 15 +++++++++------ sources | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 511c82b..9d072f9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /cffi-0.6.tar.gz /cffi-0.8.1.tar.gz /cffi-0.8.6.tar.gz +/cffi-1.1.2.tar.gz diff --git a/python-cffi.spec b/python-cffi.spec index 117360f..428f48b 100644 --- a/python-cffi.spec +++ b/python-cffi.spec @@ -6,8 +6,7 @@ Name: python-cffi Version: 1.1.2 -Release: 2%{?dist} -Group: Development/Libraries +Release: 3%{?dist} Summary: Foreign Function Interface for Python to call C code License: MIT URL: http://cffi.readthedocs.org/ @@ -33,7 +32,6 @@ based on LuaJIT’s FFI. %if 0%{?with_python3} %package -n python3-cffi Summary: Foreign Function Interface for Python 3 to call C code -Group: Development/Libraries Requires: python3-pycparser %description -n python3-cffi @@ -44,7 +42,6 @@ based on LuaJIT’s FFI. %package doc Summary: Documentation for CFFI -Group: Documentation BuildArch: noarch Requires: %{name} = %{version}-%{release} @@ -87,12 +84,14 @@ popd %{__python} setup.py install --skip-build --prefix=%{_prefix} --root %{buildroot} %files -%doc LICENSE PKG-INFO +%doc PKG-INFO +%license LICENSE %{python_sitearch}/* %if 0%{?with_python3} %files -n python3-cffi -%doc LICENSE PKG-INFO +%doc PKG-INFO +%license LICENSE %{python3_sitearch}/* %endif # with_python3 @@ -100,6 +99,10 @@ popd %doc doc/build/html %changelog +* Wed Jul 15 2015 Parag Nemade - 1.1.2-3 +- Modernize spec file +- add missing source + * Thu Jun 18 2015 Fedora Release Engineering - 1.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index 60d108e..c0a979a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -474b5a68299a6f05009171de1dc91be6 cffi-0.8.6.tar.gz +ca6e6c45b45caa87aee9adc7c796eaea cffi-1.1.2.tar.gz