[uwsgi/f21] Splitting out the README, I will be putting more stuff in here

Jorge A Gallegos kad at fedoraproject.org
Wed Aug 27 21:19:04 UTC 2014


commit 39dd1c604759db89e892ce6c5e23d6b4f411e2aa
Author: Jorge Gallegos <kad at fedoraproject.org>
Date:   Wed Aug 27 14:18:24 2014 -0700

    Splitting out the README, I will be putting more stuff in here

 README.Fedora |    2 ++
 uwsgi.spec    |    3 ++-
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/README.Fedora b/README.Fedora
new file mode 100644
index 0000000..b39e7fa
--- /dev/null
+++ b/README.Fedora
@@ -0,0 +1,2 @@
+A copy of the documentation is included under the docs/
+
diff --git a/uwsgi.spec b/uwsgi.spec
index dedf525..842f804 100644
--- a/uwsgi.spec
+++ b/uwsgi.spec
@@ -21,6 +21,7 @@ Source1:        fedora.ini
 Source2:        uwsgi.service
 Source3:        emperor.ini
 Source4:        https://github.com/unbit/%{docrepo}/archive/%{commit}/%{docrepo}-%{shortcommit}.tar.gz
+Source5:        README.Fedora
 Patch0:         uwsgi_trick_chroot_rpmbuild.patch
 Patch1:         uwsgi_fix_rpath.patch
 Patch2:         uwsgi_ruby20_compatibility.patch
@@ -251,6 +252,7 @@ cp -p %{SOURCE1} buildconf/
 cp -p %{SOURCE2} %{name}.service
 cp -p %{SOURCE3} %{name}.ini
 cp -p %{SOURCE4} uwsgi-docs.tar.gz
+cp -p %{SOURCE5} README.Fedora
 echo "plugin_dir = %{_libdir}/%{name}" >> buildconf/$(basename %{SOURCE1})
 %patch0 -p1
 %patch1 -p1
@@ -274,7 +276,6 @@ mkdir -p %{buildroot}%{_httpd_moddir}
 mkdir docs
 tar -C docs/ --strip-components=1 -xvzf uwsgi-docs.tar.gz
 cp docs/Changelog-%{majornumber}.%{minornumber}.rst CHANGELOG
-echo "A copy of the documentation is included under the docs/" > README.Fedora
 echo "directory at commit %{commit}, i.e. this:" >> README.Fedora
 echo "https://github.com/unbit/%{docrepo}/tree/%{commit}" >> README.Fedora
 %{__install} -p -m 0755 %{name} %{buildroot}%{_sbindir}


More information about the scm-commits mailing list