diff options
-rwxr-xr-x | debian/control | 1 | ||||
-rwxr-xr-x | packaging/git-buildpackage.spec | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/debian/control b/debian/control index 0ccbc204..b068b917 100755 --- a/debian/control +++ b/debian/control @@ -35,7 +35,6 @@ Depends: ${python3:Depends}, devscripts (>= 2.13.5~), git (>= 1:1.7.9.1-1~), man-db, - python3-dateutil, python3-pkg-resources, python3-dateutil, #unittest need diff --git a/packaging/git-buildpackage.spec b/packaging/git-buildpackage.spec index f680d4ed..fe68674b 100755 --- a/packaging/git-buildpackage.spec +++ b/packaging/git-buildpackage.spec @@ -1,6 +1,7 @@ %{!?python3_sitelib: %define python3_sitelib %(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')} # Add --without docs rpmbuild option, i.e. docs are enabled by default -%bcond_without docs +#current disable docs. +%bcond_with docs Name: git-buildpackage Summary: Build packages from git @@ -41,7 +42,7 @@ Source0: %{name}_%{version}.tar.gz %if 0%{?tizen_version:1} %define rpm_python_pkg_name python3-rpm %else -%define rpm_python_pkg_name rpm-python3 +%define rpm_python_pkg_name python3-rpm %endif Requires: %{name}-common = %{version}-%{release} @@ -88,6 +89,7 @@ Group: Development/Tools/Building Requires: git-core Requires: %{man_pkg_name} Requires: %{python_pkg_name} +Requires: python3-python-dateutil %if 0%{?suse_version} || 0%{?tizen_version:1} Recommends: pristine-tar Recommends: unzip |