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.6.tar.gz
|
||||||
/cffi-0.8.1.tar.gz
|
/cffi-0.8.1.tar.gz
|
||||||
/cffi-0.8.6.tar.gz
|
/cffi-0.8.6.tar.gz
|
||||||
|
/cffi-1.1.2.tar.gz
|
||||||
|
@ -6,8 +6,7 @@
|
|||||||
|
|
||||||
Name: python-cffi
|
Name: python-cffi
|
||||||
Version: 1.1.2
|
Version: 1.1.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Group: Development/Libraries
|
|
||||||
Summary: Foreign Function Interface for Python to call C code
|
Summary: Foreign Function Interface for Python to call C code
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://cffi.readthedocs.org/
|
URL: http://cffi.readthedocs.org/
|
||||||
@ -33,7 +32,6 @@ based on LuaJIT’s FFI.
|
|||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
%package -n python3-cffi
|
%package -n python3-cffi
|
||||||
Summary: Foreign Function Interface for Python 3 to call C code
|
Summary: Foreign Function Interface for Python 3 to call C code
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: python3-pycparser
|
Requires: python3-pycparser
|
||||||
|
|
||||||
%description -n python3-cffi
|
%description -n python3-cffi
|
||||||
@ -44,7 +42,6 @@ based on LuaJIT’s FFI.
|
|||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for CFFI
|
Summary: Documentation for CFFI
|
||||||
Group: Documentation
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
@ -87,12 +84,14 @@ popd
|
|||||||
%{__python} setup.py install --skip-build --prefix=%{_prefix} --root %{buildroot}
|
%{__python} setup.py install --skip-build --prefix=%{_prefix} --root %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc LICENSE PKG-INFO
|
%doc PKG-INFO
|
||||||
|
%license LICENSE
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/*
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
%files -n python3-cffi
|
%files -n python3-cffi
|
||||||
%doc LICENSE PKG-INFO
|
%doc PKG-INFO
|
||||||
|
%license LICENSE
|
||||||
%{python3_sitearch}/*
|
%{python3_sitearch}/*
|
||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
@ -100,6 +99,10 @@ popd
|
|||||||
%doc doc/build/html
|
%doc doc/build/html
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user