From c4f47fe07dc5ce9bde095c99cd24ec77ca0daadf855b788f6b84abcbe0e91fcc Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Fri, 29 Jul 2016 00:08:32 +0000 Subject: [PATCH] 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 --- python-dfdatetime.spec | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/python-dfdatetime.spec b/python-dfdatetime.spec index bf2eeba..121a0b5 100644 --- a/python-dfdatetime.spec +++ b/python-dfdatetime.spec @@ -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*/*