Modernize spec file
- add missing source
This commit is contained in:
parent
39b383a359
commit
f59b293ba4
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
@ -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 <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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user