Changes of Revision 3

protobuf.spec Changed
x
 
1
@@ -254,6 +254,7 @@
2
 pushd python
3
 python ./setup.py install --root=%{buildroot} --record=INSTALLED_FILES --optimize=1
4
 popd
5
+rm -rf %{buildroot}%{python_sitelib}/google/__init__.py*
6
 %endif
7
 install -p -m 644 -D %{SOURCE1} %{buildroot}%{_datadir}/vim/vimfiles/ftdetect/proto.vim
8
 install -p -m 644 -D editors/proto.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax/proto.vim
9
@@ -322,9 +323,6 @@
10
 %files python
11
 %defattr(-, root, root, -)
12
 %dir %{python_sitelib}/google
13
-%if 0%{?rhel} > 6 || 0%{?fedora}
14
-%exclude %{python_sitelib}/google/__init__.py*
15
-%endif
16
 %{python_sitelib}/google/protobuf/
17
 %{python_sitelib}/protobuf-%{version}-py2.?.egg-info
18
 %if 0%{?rhel} > 6 || 0%{?fedora}
19