Hello community, here is the log from the commit of package sleuth for openSUSE:Factory checked in at 2020-12-05 20:51:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sleuth (Old) and /work/SRC/openSUSE:Factory/.sleuth.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sleuth" Sat Dec 5 20:51:27 2020 rev:19 rq:853288 version:1.4.4 Changes: -------- --- /work/SRC/openSUSE:Factory/sleuth/sleuth.changes 2017-11-14 13:06:31.406542709 +0100 +++ /work/SRC/openSUSE:Factory/.sleuth.new.5913/sleuth.changes 2020-12-05 20:51:28.623571802 +0100 @@ -1,0 +2,6 @@ +Tue Dec 1 14:20:58 UTC 2020 - pgaj...@suse.com + +- use system rpm macros +- run spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sleuth.spec ++++++ --- /var/tmp/diff_new_pack.taibeJ/_old 2020-12-05 20:51:29.283572435 +0100 +++ /var/tmp/diff_new_pack.taibeJ/_new 2020-12-05 20:51:29.287572439 +0100 @@ -1,7 +1,7 @@ # # spec file for package sleuth # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,26 +12,25 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: sleuth -BuildRequires: apache2-devel -BuildRequires: libapr-util1-devel -BuildRequires: pcre-devel Version: 1.4.4 Release: 0 -Requires: perl-Net-DNS -Source: %{name}-%{version}.tar.bz2 -Patch: %{name}-%{version}.diff -Url: ftp://atrey.karlin.mff.cuni.cz/pub/local/mj/net/ -BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Perl script for easy checking (DNS, common errors and etc.) -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Networking/DNS/Utilities +URL: ftp://atrey.karlin.mff.cuni.cz/pub/local/mj/net/ +Source: %{name}-%{version}.tar.bz2 +Patch0: %{name}-%{version}.diff +BuildRequires: apache-rpm-macros +BuildRequires: apache2-devel +BuildRequires: libapr-util1-devel +BuildRequires: pcre-devel +Requires: perl-Net-DNS BuildArch: noarch -%define apache_serverroot %(/usr/sbin/apxs2 -q datadir 2>/dev/null || apxs -q PREFIX) %description Sleuth is a perl script designed for easy checking of DNS zones for @@ -44,30 +43,26 @@ up what is exactly going wrong and how to fix it. %prep -%setup -q -n %{name}-%{version} -%patch -p1 +%setup -q +%patch0 -p1 %build -make +%make_build %install rm -rf $RPM_BUILD_ROOT; -mkdir -p $RPM_BUILD_ROOT/usr/bin -mkdir -p $RPM_BUILD_ROOT/etc -make DESTDIR=$RPM_BUILD_ROOT install -install -d $RPM_BUILD_ROOT%{apache_serverroot}/cgi-bin -install -m 755 check.cgi $RPM_BUILD_ROOT%{apache_serverroot}/cgi-bin -install -m 644 check.conf $RPM_BUILD_ROOT%{apache_serverroot}/cgi-bin - -%clean -rm -rf $RPM_BUILD_ROOT; +mkdir -p %{buildroot}%{_bindir} +mkdir -p %{buildroot}%{_sysconfdir} +%make_install +install -d %{buildroot}%{apache_serverroot}/cgi-bin +install -m 755 check.cgi %{buildroot}%{apache_serverroot}/cgi-bin +install -m 644 check.conf %{buildroot}%{apache_serverroot}/cgi-bin %files -%defattr(-,root,root) %doc README THANKS README.SUSE -/usr/bin/* +%{_bindir}/* %attr(755,root,root) %{apache_serverroot}/cgi-bin/check.cgi %attr(644,root,root) %{apache_serverroot}/cgi-bin/check.conf -%config /etc/* +%config %{_sysconfdir}/* %changelog _______________________________________________ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org