Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37536139
en ru br
ALT Linux repos
S:0.0.20180725-alt1

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

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin