diff options
author | Christophe Vu-Brugier <cvubrugier@fastmail.fm> | 2016-10-21 10:42:03 +0200 |
---|---|---|
committer | Christophe Vu-Brugier <cvubrugier@fastmail.fm> | 2016-10-24 20:22:54 +0200 |
commit | b3f692f60bc933dce0c8c727d9028003014eeddb (patch) | |
tree | 9473424b9880949dee883168c98a11ca2adfd09b /example-rpm/python-rtslib.spec.tmpl | |
parent | d7ccfcf592a2051ddba9eecb2843aee3f0da8a8d (diff) | |
download | rtslib-fb-b3f692f60bc933dce0c8c727d9028003014eeddb.tar.gz |
Remove build scripts for RPM and Debian packages
Remove the "example-debian" and "example-rpm" directories because our
in-repo packaging is less complete than the packaging made by
distributions.
Finally, this patch adds a few links to RPM and Debian build scripts in
our README.md.
Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
Diffstat (limited to 'example-rpm/python-rtslib.spec.tmpl')
-rw-r--r-- | example-rpm/python-rtslib.spec.tmpl | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/example-rpm/python-rtslib.spec.tmpl b/example-rpm/python-rtslib.spec.tmpl deleted file mode 100644 index 2191b7a..0000000 --- a/example-rpm/python-rtslib.spec.tmpl +++ /dev/null @@ -1,44 +0,0 @@ -%define oname rtslib-fb - -Name: python-rtslib -License: Apache License 2.0 -Group: System Environment/Libraries -Summary: A framework to implement simple but nice CLIs. -Version: VERSION -Release: 1%{?dist} -URL: http://www.risingtidesystems.com/git/ -Source: %{oname}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rpmroot -BuildArch: noarch -BuildRequires: python-devel, epydoc -Vendor: Datera, Inc. - -%description -API for RisingTide Systems generic SCSI target. - -%prep -%setup -q -n %{oname}-%{version} - -%build -%{__python} setup.py build -mkdir -p doc -epydoc --no-sourcecode --html -n %{oname} --exclude configobj rtslib_fb/*.py -mv html doc/ - -%install -rm -rf %{buildroot} -%{__python} setup.py install --skip-build --root %{buildroot} --prefix usr -mkdir -p %{buildroot}/usr/share/doc/python-rtslib-doc-%{version} -cp -r doc/* %{buildroot}/usr/share/doc/python-rtslib-doc-%{version}/ - -%clean -rm -rf %{buildroot} - -%files -%defattr(-,root,root,-) -%{python_sitelib} -%{_bindir}/targetctl -/usr/share/doc/python-rtslib-doc-%{version} -%doc COPYING README.md - -%changelog |