diff --git a/python-dfdatetime.changes b/python-dfdatetime.changes index e74c96f..5bee263 100644 --- a/python-dfdatetime.changes +++ b/python-dfdatetime.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Jul 30 22:27:27 UTC 2016 - jengelh@inai.de + +- Use python macros for filelists. + Use hardlinks for fdupes, it's cheaper. + ------------------------------------------------------------------- Thu Jul 28 20:57:06 UTC 2016 - Greg.Freemyer@gmail.com diff --git a/python-dfdatetime.spec b/python-dfdatetime.spec index 121a0b5..a8c5ac0 100644 --- a/python-dfdatetime.spec +++ b/python-dfdatetime.spec @@ -22,8 +22,7 @@ Version: 0~%{timestamp} Release: 0 Summary: Digital Forensics Date and Time (dfDateTime) License: Apache-2.0 -# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines" -Group: Development/Libraries +Group: Development/Languages/Python Url: https://github.com/log2timeline/dfdatetime Source: https://github.com/log2timeline/dfdatetime/releases/download/%{timestamp}/dfdatetime-%{timestamp}.tar.gz BuildRequires: fdupes @@ -38,6 +37,7 @@ dfDateTime, or Digital Forensics date and time, provides date and time objects t %package -n python3-dfdatetime Summary: Digital Forensics Date and Time (dfDateTime) +Group: Development/Languages/Python BuildRequires: pkgconfig BuildRequires: python3-setuptools BuildRequires: pkgconfig(python3) @@ -60,18 +60,18 @@ find %{buildroot} -name \*.pyc -delete find %{buildroot} -name \*.pyo -delete # these are installed into the wrong place rm -rf %{buildroot}/usr/share/doc/dfdatetime -%fdupes -s %{buildroot} +%fdupes %{buildroot}/%{_prefix} %files %defattr(-,root,root) %doc ACKNOWLEDGEMENTS AUTHORS README LICENSE -%{_prefix}/lib/python2*/* +%{python_sitelib}/dfdatetime* %files -n python3-dfdatetime %defattr(-,root,root) %doc ACKNOWLEDGEMENTS AUTHORS README LICENSE -%{_prefix}/lib/python3*/* +%{python3_sitelib}/dfdatetime* %changelog