# # spec file for package perl-Satcon # # Copyright (c) 2026 SUSE LLC # Copyright (c) 2008-2018 Red Hat, Inc. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{!?fedora: %global sbinpath /sbin}%{?fedora: %global sbinpath %{_sbindir}} Name: perl-Satcon Version: 5.3.1 Release: 0.git.14171.d8afdc8 Summary: Framework for configuration files License: GPL-2.0-only # FIXME: use correct group or remove it, see "https://en.opensuse.org/openSUSE:Package_group_guidelines" Group: Applications/System URL: https://github.com/uyuni-project/uyuni #!CreateArchive: %{name} Source0: perl-Satcon-git-14171.800272f.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) BuildArch: noarch %if 0%{?suse_version} Requires: policycoreutils %else BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter # Tests: BuildRequires: perl(Test) # Run-time: # bytes not used at tests # Data::Dumper not used at tests # File::Find not used at tests # File::Path not used at tests # Getopt::Long not used at tests BuildRequires: perl(strict) Requires: %{sbinpath}/restorecon %endif %description Framework for generating config files during installation. This package include Satcon perl module and supporting applications. %prep %setup -q -n perl-Satcon-git-14171.800272f %build perl Makefile.PL INSTALLDIRS=vendor %make_build %install make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check %make_build test %files %doc README %{!?_licensedir:%global license %doc} %license LICENSE %{perl_vendorlib}/* %{_bindir}/* %changelog