Merge branch 'master' of ssh://dev.daniel-steiner.org/srv/gitea/public/rpms
This commit is contained in:
@@ -1,81 +1,74 @@
|
|||||||
#
|
Name: perl-Monitoring-Plugin
|
||||||
# spec file for package perl-Nagios-Plugin
|
Version: 0.40
|
||||||
#
|
Release: 4%{?dist}
|
||||||
|
Summary: Family of modules to streamline writing plugins for various monitoring systems
|
||||||
# You can easy replace the Nagios::Plugin entries in scripts:
|
License: GPL+ or Artistic
|
||||||
# sed -i -e 's/Nagios::Plugin/Monitoring::Plugin/g' *.pl
|
URL: https://metacpan.org/release/Monitoring-Plugin
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/N/NI/NIERLEIN/Monitoring-Plugin-%{version}.tar.gz
|
||||||
%define cpan_name Monitoring-Plugin
|
BuildArch: noarch
|
||||||
|
# Build
|
||||||
Name: perl-%cpan_name
|
BuildRequires: coreutils
|
||||||
Summary: A family of perl modules to streamline writing Nagios plugins
|
BuildRequires: make
|
||||||
License: Artistic-1.0 ; GPL-2.0+
|
BuildRequires: perl-interpreter
|
||||||
Group: Development/Languages/Perl
|
BuildRequires: perl-generators
|
||||||
Version: 0.39
|
BuildRequires: perl(inc::Module::Install)
|
||||||
Release: 1%{?dist}
|
BuildRequires: perl(Module::Install::Metadata)
|
||||||
Url: http://search.cpan.org/dist/Monitoring-Plugin/
|
BuildRequires: perl(Module::Install::WriteAll)
|
||||||
Provides: %cpan_name = %{version}-%{release}
|
BuildRequires: sed
|
||||||
Provides: Nagios-Plugin
|
# Runtime
|
||||||
Obsoletes: perl-Nagios-Plugin
|
BuildRequires: perl(base)
|
||||||
Requires: perl-Class-Accessor
|
BuildRequires: perl(Carp)
|
||||||
Requires: perl-Config-Tiny
|
BuildRequires: perl(Class::Accessor)
|
||||||
Requires: perl-Math-Calc-Units
|
BuildRequires: perl(Class::Accessor::Fast)
|
||||||
Requires: perl-Params-Validate
|
BuildRequires: perl(Config::Tiny)
|
||||||
BuildRequires: perl
|
BuildRequires: perl(constant)
|
||||||
BuildRequires: perl-Module-Install
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl-Class-Accessor
|
BuildRequires: perl(File::Basename)
|
||||||
BuildRequires: perl-Config-Tiny
|
BuildRequires: perl(File::Spec)
|
||||||
BuildRequires: perl-Params-Validate
|
BuildRequires: perl(Getopt::Long)
|
||||||
BuildRequires: perl-ExtUtils-MakeMaker
|
BuildRequires: perl(Math::Calc::Units)
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl(overload)
|
||||||
Source: %cpan_name-%{version}.tar.gz
|
BuildRequires: perl(Params::Validate)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
|
# Tests only
|
||||||
|
BuildRequires: perl(Data::Dumper)
|
||||||
|
BuildRequires: perl(IO::File)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(vars)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Monitoring::Plugin and its associated Monitoring::Plugin::* modules are a family of
|
Monitoring::Plugin and its associated Monitoring::Plugin::* modules are a
|
||||||
perl modules to streamline writing Monitoring plugins. The main end user modules
|
family of perl modules to streamline writing Monitoring plugins. The main
|
||||||
are Monitoring::Plugin, providing an object-oriented interface to the entire
|
end user modules are Monitoring::Plugin, providing an object-oriented
|
||||||
Monitoring::Plugin::* collection, and Monitoring::Plugin::Functions, providing a
|
interface to the entire Monitoring::Plugin::* collection, and
|
||||||
simpler functional interface to a useful subset of the available functionality.
|
Monitoring::Plugin::Functions, providing a simpler functional interface to
|
||||||
|
a useful subset of the available functionality.
|
||||||
The purpose of the collection is to make it as simple as possible for
|
|
||||||
developers to create plugins that conform the Monitoring Plugin guidelines
|
|
||||||
(http://nagiosplug.sourceforge.net/developer-guidelines.html).
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %cpan_name-%{version}
|
%setup -q -n Monitoring-Plugin-%{version}
|
||||||
|
# Remove bundled modules
|
||||||
|
rm -r ./inc/*
|
||||||
|
sed -i -e '/^inc\//d' MANIFEST
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="%{optflags} -Wall"
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%if 0%{?fedora} > 18 && 0%{?rhel} >= 6 && 0%{?suse_version} >= 1010
|
%install
|
||||||
|
make pure_install DESTDIR=%{buildroot}
|
||||||
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
|
||||||
%perl_make_install
|
|
||||||
%perl_process_packlist
|
|
||||||
|
|
||||||
%post
|
|
||||||
# only execute the replacement, if it is an update!
|
|
||||||
if [ -d "/usr/lib64/nagios/plugins" ]; then
|
|
||||||
cd /usr/lib64/nagios/plugins && \
|
|
||||||
for f in `grep -l 'Nagios::Plugin' *`; do sed -i -e 's/Nagios::Plugin/Monitoring::Plugin/g' $f; done
|
|
||||||
elif [ -d "/usr/lib/nagios/plugins" ]; then
|
|
||||||
cd /usr/lib/nagios/plugins && \
|
|
||||||
for f in `grep -l 'Nagios::Plugin' *`; do sed -i -e 's/Nagios::Plugin/Monitoring::Plugin/g' $f; done
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc Changes MANIFEST README
|
%doc Changes notes README
|
||||||
%doc %{_mandir}/man?/*
|
%{perl_vendorlib}/*
|
||||||
%{perl_vendorlib}/Monitoring
|
%{_mandir}/man3/*
|
||||||
%{perl_vendorarch}/auto/Monitoring
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Mar 25 2016 <elpito@bluewin.ch>
|
* Fri Dec 13 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||||
- New initial package, but is forked of perl-Nagios-Plugin.
|
- Initial packaging
|
||||||
|
|||||||
177
centos/SPECS/perl-Sort-Versions.spec
Normal file
177
centos/SPECS/perl-Sort-Versions.spec
Normal file
@@ -0,0 +1,177 @@
|
|||||||
|
Name: perl-Sort-Versions
|
||||||
|
Version: 1.62
|
||||||
|
Release: 13%{?dist}
|
||||||
|
Summary: Perl module for sorting of revision-like numbers
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
URL: https://metacpan.org/release/Sort-Versions
|
||||||
|
Source0: https://cpan.metacpan.org/modules/by-module/Sort/Sort-Versions-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%description
|
||||||
|
A perl 5 module for sorting of revision-like numbers
|
||||||
|
|
||||||
|
Sort::Versions allows easy sorting of mixed non-numeric and numeric strings,
|
||||||
|
like the 'version numbers' that many shared library systems and revision
|
||||||
|
control packages use. This is quite useful if you are trying to deal with
|
||||||
|
shared libraries. It can also be applied to applications that intersperse
|
||||||
|
variable-width numeric fields within text. Other applications can
|
||||||
|
undoubtedly be found.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Sort-Versions-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc Changes
|
||||||
|
%license LICENSE
|
||||||
|
%{perl_vendorlib}/Sort
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.62-13
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.62-12
|
||||||
|
- Perl 5.30 rebuild
|
||||||
|
|
||||||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.62-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.62-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.62-9
|
||||||
|
- Perl 5.28 rebuild
|
||||||
|
|
||||||
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.62-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.62-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.62-6
|
||||||
|
- Perl 5.26 rebuild
|
||||||
|
|
||||||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.62-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.62-4
|
||||||
|
- Perl 5.24 rebuild
|
||||||
|
|
||||||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.62-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 30 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.62-2
|
||||||
|
- Modernize spec.
|
||||||
|
|
||||||
|
* Thu Dec 17 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.62-1
|
||||||
|
- Update to 1.62.
|
||||||
|
- Remove iconv.
|
||||||
|
|
||||||
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.61-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.61-2
|
||||||
|
- Perl 5.22 rebuild
|
||||||
|
|
||||||
|
* Sun May 03 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.61-1
|
||||||
|
- Upstream update.
|
||||||
|
- Add %%license.
|
||||||
|
|
||||||
|
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.60-2
|
||||||
|
- Perl 5.20 rebuild
|
||||||
|
|
||||||
|
* Tue Jun 24 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.60-1
|
||||||
|
- Upstream update.
|
||||||
|
- Modernize spec.
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-24
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-23
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.5-22
|
||||||
|
- Perl 5.18 rebuild
|
||||||
|
|
||||||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-21
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-20
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 1.5-19
|
||||||
|
- Perl 5.16 rebuild
|
||||||
|
|
||||||
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-18
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.5-17
|
||||||
|
- Perl mass rebuild
|
||||||
|
|
||||||
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-16
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.5-15
|
||||||
|
- 661697 rebuild for fixing problems with vendorach/lib
|
||||||
|
|
||||||
|
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.5-14
|
||||||
|
- Mass rebuild with perl-5.12.0
|
||||||
|
|
||||||
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.5-13
|
||||||
|
- rebuild against perl 5.10.1
|
||||||
|
|
||||||
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-12
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Mar 19 2009 Stepan Kasal <skasal@redhat.com> - 1.5-11
|
||||||
|
- fix timestamps of the recoded text files
|
||||||
|
|
||||||
|
* Mon Mar 16 2009 Stepan Kasal <skasal@redhat.com> - 1.5-10
|
||||||
|
- Recode as UTF-8, fix argument order find with -depth (both by Paul Howarth)
|
||||||
|
- Other minor cleanups
|
||||||
|
|
||||||
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5-8
|
||||||
|
- rebuild for new perl
|
||||||
|
|
||||||
|
* Fri Aug 17 2007 Ralf Corsépius <rc040203@freenet.de> - 1.5-7
|
||||||
|
- Add BR: perl(Test::More).
|
||||||
|
|
||||||
|
* Fri Aug 17 2007 Ralf Corsépius <rc040203@freenet.de> - 1.5-6
|
||||||
|
- Update license tag.
|
||||||
|
- Reflect perl split.
|
||||||
|
|
||||||
|
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.5-5
|
||||||
|
- Mass rebuild.
|
||||||
|
|
||||||
|
* Tue Feb 28 2006 Ralf Corsépius <rc040203@freenet.de> - 1.5-4
|
||||||
|
- Rebuild for perl-5.8.8.
|
||||||
|
|
||||||
|
* Wed Aug 17 2005 Ralf Corsepius <ralf@links2linux.de> - 1.5-3
|
||||||
|
- Spec cleanup.
|
||||||
|
|
||||||
|
* Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 1.5-2
|
||||||
|
- FE re-submission.
|
||||||
|
|
||||||
|
* Fri Jul 01 2005 Ralf Corsepius <ralf@links2linux.de> - 1.5-1
|
||||||
|
- FE submission.
|
||||||
@@ -9,13 +9,24 @@ Source0: powerline_shell.tar.gz
|
|||||||
|
|
||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
|
|
||||||
BuildRequires: python powerline
|
BuildRequires: powerline
|
||||||
|
%if 0%{?rhel} > 8
|
||||||
|
BuildRequires: python
|
||||||
BuildRequires: GitPython
|
BuildRequires: GitPython
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
Requires: python powerline bash
|
Requires: python powerline bash
|
||||||
Requires: GitPython
|
Requires: GitPython
|
||||||
Requires: python2-argparse
|
Requires: python2-argparse
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
|
%else
|
||||||
|
BuildRequires: python3
|
||||||
|
BuildRequires: python3-GitPython
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
Requires: python3 powerline bash
|
||||||
|
Requires: python3-GitPython
|
||||||
|
Requires: python3-argparse
|
||||||
|
Requires: python3-setuptools
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A beautiful and useful prompt generator for Bash, ZSH, Fish, and tcsh:
|
A beautiful and useful prompt generator for Bash, ZSH, Fish, and tcsh:
|
||||||
@@ -36,6 +47,16 @@ python setup.py build
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --no-compile --skip-build --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --no-compile --skip-build --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
%if 0%{?rhel} >= 8
|
||||||
|
pushd %{buildroot}
|
||||||
|
for f in \
|
||||||
|
usr/bin/powerline-shell
|
||||||
|
do
|
||||||
|
pathfix.py -pni /usr/bin/python3 $f
|
||||||
|
done
|
||||||
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != "/" ] && [ -d "%{buildroot}" ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != "/" ] && [ -d "%{buildroot}" ] && rm -rf %{buildroot}
|
||||||
|
|||||||
60
centos/SPECS/python3-argparse.spec
Normal file
60
centos/SPECS/python3-argparse.spec
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
|
||||||
|
%global oname argparse
|
||||||
|
|
||||||
|
Summary: Optparse inspired command line parser for Python
|
||||||
|
Name: python3-argparse
|
||||||
|
Version: 1.4.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
License: Python
|
||||||
|
Group: Development/Languages
|
||||||
|
URL: http://code.google.com/p/argparse/
|
||||||
|
Source0: http://argparse.googlecode.com/files/argparse-%{version}.tar.gz
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: dos2unix
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
The argparse module is an optparse-inspired command line parser that
|
||||||
|
improves on optparse by:
|
||||||
|
* handling both optional and positional arguments
|
||||||
|
* supporting parsers that dispatch to sub-parsers
|
||||||
|
* producing more informative usage messages
|
||||||
|
* supporting actions that consume any number of command-line args
|
||||||
|
* allowing types and actions to be specified with simple callables
|
||||||
|
instead of hacking class attributes like STORE_ACTIONS or CHECK_METHODS
|
||||||
|
|
||||||
|
as well as including a number of other more minor improvements on the
|
||||||
|
optparse API.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{oname}-%{version}
|
||||||
|
dos2unix -k README.txt NEWS.txt
|
||||||
|
%{__rm} -rf doc/source
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__python3} setup.py build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{__rm} -rf %{buildroot}
|
||||||
|
%{__python3} setup.py install --skip-build --root %{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
pushd test
|
||||||
|
PYTHONPATH=../ %{__python} test_%{oname}.py
|
||||||
|
rm -rf %{buildroot}%{python3_sitelib}/__pycache__
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != "/" ] && [ -d "%{buildroot}" ] && rm -rf %{buildroot}
|
||||||
|
[ "%{_builddir}" != "/" ] && [ -d "%{_builddir}" ] && rm -rf %{_builddir}/*
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-, root, root, -)
|
||||||
|
%doc README.txt LICENSE.txt NEWS.txt doc/*
|
||||||
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Feb 3 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||||
|
- First build, it's required by powerline_shell package.
|
||||||
|
|
||||||
Reference in New Issue
Block a user