Group :: File tools
RPM: hardlinkpy
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_without check
Name: hardlinkpy
Version: 0.0.20180725
Release: alt1
Summary: Rewrite in python of the hardlink utility
License: GPL-2.0
Group: File tools
Url: https://github.com/akaihola/hardlinkpy
Source: %name-%version.tar
Packager: Michael Shigorin <mike at altlinux.org>
BuildArch: noarch
BuildRequires: rpm-build-python3
BuildRequires: python3-devel
Obsoletes: hardlink++
Provides: hardlink++ = %name-%version
%description
A rewrite of the hardlink utility in python, which recursively parses
directory structures and creates hard links for identical files found.
%prep
%setup
sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|' hardlink.py
%install
install -pDm755 hardlink.py %buildroot%_bindir/%name
%check
%__python3 tests.py
%files
%_bindir/%name
%doc AUTHORS.rst COPYING README.rst
%changelog
…
Full changelog you can see here
Name: hardlinkpy
Version: 0.0.20180725
Release: alt1
Summary: Rewrite in python of the hardlink utility
License: GPL-2.0
Group: File tools
Url: https://github.com/akaihola/hardlinkpy
Source: %name-%version.tar
Packager: Michael Shigorin <mike at altlinux.org>
BuildArch: noarch
BuildRequires: rpm-build-python3
BuildRequires: python3-devel
Obsoletes: hardlink++
Provides: hardlink++ = %name-%version
%description
A rewrite of the hardlink utility in python, which recursively parses
directory structures and creates hard links for identical files found.
%prep
%setup
sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|' hardlink.py
%install
install -pDm755 hardlink.py %buildroot%_bindir/%name
%check
%__python3 tests.py
%files
%_bindir/%name
%doc AUTHORS.rst COPYING README.rst
%changelog
…
Full changelog you can see here