summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Šplíchal <psplicha@redhat.com>2012-02-22 15:18:49 +0100
committerPetr Šplíchal <psplicha@redhat.com>2012-02-22 15:43:34 +0100
commitca6950268d86eb719564914ae2be55b5d4e81552 (patch)
tree847c0d3453ed4539819d3bd6a14fe9433a772c97
parent60f24cdb114644b7ae8e8f0f8bb0a98573902347 (diff)
downloadpython-nitrate-ca6950268d86eb719564914ae2be55b5d4e81552.zip
python-nitrate-ca6950268d86eb719564914ae2be55b5d4e81552.tar.gz
python-nitrate-ca6950268d86eb719564914ae2be55b5d4e81552.tar.xz
Fix url, directory ownership and preserve timestamps
-rw-r--r--python-nitrate.spec15
1 files changed, 9 insertions, 6 deletions
diff --git a/python-nitrate.spec b/python-nitrate.spec
index 6d80339..1220f7e 100644
--- a/python-nitrate.spec
+++ b/python-nitrate.spec
@@ -1,12 +1,12 @@
Name: python-nitrate
Version: 0.7
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Python API for the Nitrate test case management system
Group: Development/Languages
License: LGPLv2
-URL: http://psss.fedorapeople.org/python-nitrate/
+URL: http://psss.fedorapeople.org/python-nitrate/python-nitrate.html
Source0: http://psss.fedorapeople.org/python-nitrate/%{name}-%{version}.tar.bz2
BuildArch: noarch
@@ -29,16 +29,19 @@ line interpreter (useful for fast debugging and experimenting).
mkdir -p %{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
+install -pm 755 source/nitrate %{buildroot}%{_bindir}
+install -pm 644 source/*.py %{buildroot}%{python_sitelib}/nitrate
+install -pm 644 documentation/*.1.gz %{buildroot}%{_mandir}/man1
%files
%{_mandir}/man1/*
%{_bindir}/nitrate
-%{python_sitelib}
+%{python_sitelib}/*
%doc COPYING README examples
%changelog
+* Wed Feb 22 2012 Petr Splichal <psplicha@redhat.com> - 0.7-2
+- Fix url, directory ownership and preserve timestamps.
+
* Wed Feb 22 2012 Petr Splichal <psplicha@redhat.com> 0.7-1
- Initial packaging.