License is license
Also getting rid of .gitignore in the docs directory
This commit is contained in:
parent
3e7925dfe4
commit
4651be8085
@ -1128,6 +1128,7 @@ mkdir -p %{buildroot}/usr/lib/mono/gac/
|
|||||||
mkdir docs
|
mkdir docs
|
||||||
tar -C docs/ --strip-components=1 -xvzf uwsgi-docs.tar.gz
|
tar -C docs/ --strip-components=1 -xvzf uwsgi-docs.tar.gz
|
||||||
cp docs/Changelog-%{majornumber}.%{minornumber}.%{releasenumber}.rst CHANGELOG
|
cp docs/Changelog-%{majornumber}.%{minornumber}.%{releasenumber}.rst CHANGELOG
|
||||||
|
rm -f docs/.gitignore
|
||||||
echo "%{commit}, i.e. this:" >> README.Fedora
|
echo "%{commit}, i.e. this:" >> README.Fedora
|
||||||
echo "https://github.com/unbit/%{docrepo}/tree/%{commit}" >> README.Fedora
|
echo "https://github.com/unbit/%{docrepo}/tree/%{commit}" >> README.Fedora
|
||||||
%{__install} -p -m 0755 %{name} %{buildroot}%{_sbindir}
|
%{__install} -p -m 0755 %{name} %{buildroot}%{_sbindir}
|
||||||
@ -1221,7 +1222,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
%dir %{_sysconfdir}/%{name}.d
|
%dir %{_sysconfdir}/%{name}.d
|
||||||
%dir /run/%{name}
|
%dir /run/%{name}
|
||||||
%doc LICENSE README README.Fedora CHANGELOG
|
%doc README README.Fedora CHANGELOG
|
||||||
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
%files -n %{name}-devel
|
%files -n %{name}-devel
|
||||||
%{_includedir}/%{name}
|
%{_includedir}/%{name}
|
||||||
|
Loading…
Reference in New Issue
Block a user