Modernize spec file

- add missing source
This commit is contained in:
Parag Nemade 2015-07-15 17:53:38 +05:30
parent 39b383a359
commit f59b293ba4
3 changed files with 11 additions and 7 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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 LuaJITs 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 LuaJITs 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 <pnemade AT redhat DOT com> - 1.1.2-3
- Modernize spec file
- add missing source
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

View File

@ -1 +1 @@
474b5a68299a6f05009171de1dc91be6 cffi-0.8.6.tar.gz
ca6e6c45b45caa87aee9adc7c796eaea cffi-1.1.2.tar.gz