17
0

Accepting request 415716 from home:gregfreemyer:Tools-for-forensic-boot-cd

The initial package had the python3 work wrong.  Fix it.

OBS-URL: https://build.opensuse.org/request/show/415716
OBS-URL: https://build.opensuse.org/package/show/security:forensics/python-dfdatetime?expand=0&rev=3
This commit is contained in:
Greg Freemyer
2016-07-29 00:08:32 +00:00
committed by Git OBS Bridge
parent dcee548fb3
commit c4f47fe07d

View File

@@ -27,30 +27,23 @@ Group: Development/Libraries
Url: https://github.com/log2timeline/dfdatetime
Source: https://github.com/log2timeline/dfdatetime/releases/download/%{timestamp}/dfdatetime-%{timestamp}.tar.gz
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-setuptools
BuildRequires: pkgconfig(python)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
dfDateTime, or Digital Forensics date and time, provides date and time objects to preserve accuracy and precision.
%package -n python-%{name}
Summary: Digital Forensics Date and Time (dfDateTime)
BuildRequires: pkgconfig
BuildRequires: python-setuptools
BuildRequires: pkgconfig(python2)
%description -n python-%{name}
dfDateTime, or Digital Forensics date and time, provides date and time objects to preserve accuracy and precision.
%package -n python3-%{name}
%package -n python3-dfdatetime
Summary: Digital Forensics Date and Time (dfDateTime)
BuildRequires: pkgconfig
BuildRequires: python3-setuptools
BuildRequires: pkgconfig(python3)
%description -n python3-%{name}
dfDateTime, or Digital Forensics date and time, provides date and time objects to preserve accuracy and precision.
%description -n python3-dfdatetime
Python3 version of dfDateTime, or Digital Forensics date and time, provides date and time objects to preserve accuracy and precision.
%prep
%setup -q -n dfdatetime-%{timestamp}
@@ -70,12 +63,12 @@ rm -rf %{buildroot}/usr/share/doc/dfdatetime
%fdupes -s %{buildroot}
%files -n python-%{name}
%files
%defattr(-,root,root)
%doc ACKNOWLEDGEMENTS AUTHORS README LICENSE
%{_prefix}/lib/python2*/*
%files -n python3-%{name}
%files -n python3-dfdatetime
%defattr(-,root,root)
%doc ACKNOWLEDGEMENTS AUTHORS README LICENSE
%{_prefix}/lib/python3*/*