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*/*