summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Šplíchal <psplicha@redhat.com>2012-02-22 12:04:45 +0100
committerPetr Šplíchal <psplicha@redhat.com>2012-02-22 12:04:45 +0100
commit057ca472ebb1bfd75ce5f7fad1be762c72e3e26f (patch)
tree677a01d944329966031184bf5520c4cc5646ef03
parent6b809f9ef9418fd43af0864fdf0f95d8c88106a7 (diff)
downloadpython-nitrate-057ca472ebb1bfd75ce5f7fad1be762c72e3e26f.zip
python-nitrate-057ca472ebb1bfd75ce5f7fad1be762c72e3e26f.tar.gz
python-nitrate-057ca472ebb1bfd75ce5f7fad1be762c72e3e26f.tar.xz
Specfile cleanup & permission changes
-rw-r--r--[-rwxr-xr-x]examples/create.py0
-rw-r--r--[-rwxr-xr-x]examples/matrix.py0
-rw-r--r--python-nitrate.spec14
3 files changed, 6 insertions, 8 deletions
diff --git a/examples/create.py b/examples/create.py
index fc027ea..fc027ea 100755..100644
--- a/examples/create.py
+++ b/examples/create.py
diff --git a/examples/matrix.py b/examples/matrix.py
index e8cba98..e8cba98 100755..100644
--- a/examples/matrix.py
+++ b/examples/matrix.py
diff --git a/python-nitrate.spec b/python-nitrate.spec
index a9c7aa7..ddd490b 100644
--- a/python-nitrate.spec
+++ b/python-nitrate.spec
@@ -25,28 +25,26 @@ line interpreter (useful for fast debugging and experimenting).
%setup -q
%build
-gzip -c documentation/nitrate.man > documentation/nitrate.1.gz
-chmod 644 examples/*
%clean
rm -rf %{buildroot}
%install
rm -rf %{buildroot}
-mkdir -p %{buildroot}%{python_sitelib}/nitrate
-install -m 644 source/*.py %{buildroot}%{python_sitelib}/nitrate
mkdir -p %{buildroot}%{_bindir}
-install source/nitrate %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_mandir}/man1
+mkdir -p %{buildroot}%{python_sitelib}/nitrate
+install -m 755 source/nitrate %{buildroot}%{_bindir}
+install -m 644 source/*.py %{buildroot}%{python_sitelib}/nitrate
install -m 644 documentation/*.1.gz %{buildroot}%{_mandir}/man1
%files
%defattr(-,root,root,-)
-%{_mandir}/man1/*
+%{_mandir}/man1
%{_bindir}/nitrate
-%{python_sitelib}/*
+%{python_sitelib}
%doc COPYING README examples
%changelog
-* Wed Feb 23 2012 Petr Splichal <psplicha@redhat.com> 0.7-1
+* Wed Feb 22 2012 Petr Splichal <psplicha@redhat.com> 0.7-1
- Initial packaging.