ttomecek pushed to osbs (master). "one spec to rule them all"
notifications at fedoraproject.org
notifications at fedoraproject.org
Tue May 19 15:50:26 UTC 2015
From a6f32f0510c7682b507ea0d50c7df667b5149a16 Mon Sep 17 00:00:00 2001
From: Tomas Tomecek <ttomecek at redhat.com>
Date: Tue, 19 May 2015 17:43:46 +0200
Subject: one spec to rule them all
diff --git a/osbs.spec b/osbs.spec
index 42debb3..d290e2d 100644
--- a/osbs.spec
+++ b/osbs.spec
@@ -11,7 +11,7 @@ Summary: Python command line client for OpenShift Build Service
Group: Development/Tools
License: BSD
URL: https://github.com/DBuildService/osbs
-Source0: https://github.com/DBuildService/osbs/archive/%{commit}/osbs-%{commit}.tar.gz
+Source0: https://github.com/DBuildService/osbs/archive/%{commit}/osbs-%{commit}.tar.gz
BuildArch: noarch
@@ -95,16 +95,29 @@ ln -s %{_bindir}/osbs2 %{buildroot}%{_bindir}/osbs
%files
%doc README.md
+%if 0%{?rhel} || 0%{?fedora} < 21
+%doc LICENSE
+%else
%license LICENSE
+%endif
%{_bindir}/osbs
%files -n python-osbs
%doc README.md
+%if 0%{?rhel} || 0%{?fedora} < 21
+%doc LICENSE
+%else
%license LICENSE
+%endif
%{_bindir}/osbs2
+%if 0%{?rhel}
+%{python_sitelib}/osbs/
+%{python_sitelib}/osbs-%{version}-py2.*.egg-info/
+%else
%{python2_sitelib}/osbs/
%{python2_sitelib}/osbs-%{version}-py2.*.egg-info/
+%endif
%dir %{_datadir}/osbs
%{_datadir}/osbs/*.json
@@ -112,7 +125,11 @@ ln -s %{_bindir}/osbs2 %{buildroot}%{_bindir}/osbs
%if 0%{?with_python3}
%files -n python3-osbs
%doc README.md
+%if 0%{?rhel} || 0%{?fedora} < 21
+%doc LICENSE
+%else
%license LICENSE
+%endif
%{_bindir}/osbs3
%{python3_sitelib}/osbs/
%{python3_sitelib}/osbs-%{version}-py3.*.egg-info/
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/osbs.git/commit/?h=master&id=a6f32f0510c7682b507ea0d50c7df667b5149a16
More information about the scm-commits
mailing list