2009-06-03 14:13:26 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-RPMQ
|
|
|
|
#
|
2024-07-27 22:38:25 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
- 1.01 polished legal language
--This line, and those below, will be ignored--
D RPMQ-1.0.tar.bz2
A RPMQ-1.01.tar.bz2
M perl-RPMQ.changes
M perl-RPMQ.spec
Diff for working copy: .
Index: perl-RPMQ.changes
===================================================================
--- perl-RPMQ.changes (revision 1)
+++ perl-RPMQ.changes (working copy)
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Wed Jun 3 18:44:47 CEST 2009 - jw@suse.de
+
+- 1.01 polished legal language
+
-------------------------------------------------------------------
Wed Jun 3 13:10:53 CEST 2009 - lars@linux-schulserver.de
Index: perl-RPMQ.spec
===================================================================
--- perl-RPMQ.spec (revision 1)
+++ perl-RPMQ.spec (working copy)
@@ -1,5 +1,11 @@
#
# spec file for package perl-RPMQ
+#
+# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
@@ -9,8 +15,8 @@
Summary: A simple query-API for RPM-files
Url: http://search.cpan.org/perldoc?RPMQ
Group: Development/Libraries/Perl
-License: Artistic License
-Version: 1.0
+License: GPLv2.0/ArtisticV2.0
+Version: 1.01
Release: 1
Source: %{real_name}-%{version}.tar.bz2
Requires: perl = %{perl_version}
Index: RPMQ-1.01.tar.bz2
===================================================================
Binary file RPMQ-1.01.tar.bz2 has changed
Index: RPMQ-1.0.tar.bz2
===================================================================
Binary file RPMQ-1.0.tar.bz2 has changed
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-RPMQ?expand=0&rev=2
2009-06-03 16:50:11 +00:00
|
|
|
#
|
2013-02-27 18:56:08 +00:00
|
|
|
# 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.
|
|
|
|
|
2019-07-17 09:55:57 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
- 1.01 polished legal language
--This line, and those below, will be ignored--
D RPMQ-1.0.tar.bz2
A RPMQ-1.01.tar.bz2
M perl-RPMQ.changes
M perl-RPMQ.spec
Diff for working copy: .
Index: perl-RPMQ.changes
===================================================================
--- perl-RPMQ.changes (revision 1)
+++ perl-RPMQ.changes (working copy)
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Wed Jun 3 18:44:47 CEST 2009 - jw@suse.de
+
+- 1.01 polished legal language
+
-------------------------------------------------------------------
Wed Jun 3 13:10:53 CEST 2009 - lars@linux-schulserver.de
Index: perl-RPMQ.spec
===================================================================
--- perl-RPMQ.spec (revision 1)
+++ perl-RPMQ.spec (working copy)
@@ -1,5 +1,11 @@
#
# spec file for package perl-RPMQ
+#
+# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
@@ -9,8 +15,8 @@
Summary: A simple query-API for RPM-files
Url: http://search.cpan.org/perldoc?RPMQ
Group: Development/Libraries/Perl
-License: Artistic License
-Version: 1.0
+License: GPLv2.0/ArtisticV2.0
+Version: 1.01
Release: 1
Source: %{real_name}-%{version}.tar.bz2
Requires: perl = %{perl_version}
Index: RPMQ-1.01.tar.bz2
===================================================================
Binary file RPMQ-1.01.tar.bz2 has changed
Index: RPMQ-1.0.tar.bz2
===================================================================
Binary file RPMQ-1.0.tar.bz2 has changed
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-RPMQ?expand=0&rev=2
2009-06-03 16:50:11 +00:00
|
|
|
#
|
2009-06-03 14:13:26 +00:00
|
|
|
|
|
|
|
|
2024-07-27 22:38:25 +00:00
|
|
|
%define cpan_name RPMQ
|
2013-02-27 18:56:08 +00:00
|
|
|
Name: perl-RPMQ
|
2024-07-27 22:38:25 +00:00
|
|
|
Version: 1.20.0
|
2013-02-27 18:56:08 +00:00
|
|
|
Release: 0
|
2024-07-27 22:38:25 +00:00
|
|
|
# 1.02 -> normalize -> 1.20.0
|
|
|
|
%define cpan_version 1.02
|
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
|
|
Summary: Simple query-API for RPM-files
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
Source0: RPMQ-1.02.tar.bz2
|
2025-08-12 18:16:55 +02:00
|
|
|
Source100: README.md
|
2024-07-27 22:38:25 +00:00
|
|
|
BuildArch: noarch
|
2010-10-19 08:47:07 +00:00
|
|
|
BuildRequires: perl
|
2010-12-03 14:49:13 +00:00
|
|
|
BuildRequires: perl-macros
|
2024-07-27 22:38:25 +00:00
|
|
|
Provides: perl(RPMQ) = %{version}
|
|
|
|
%undefine __perllib_provides
|
|
|
|
%{perl_requires}
|
2009-06-03 14:13:26 +00:00
|
|
|
|
|
|
|
%description
|
2024-07-27 22:38:25 +00:00
|
|
|
Common tag names are:
|
2009-06-03 14:13:26 +00:00
|
|
|
|
2024-07-27 22:38:25 +00:00
|
|
|
"NAME" => 1000,
|
|
|
|
"VERSION" => 1001,
|
|
|
|
"RELEASE" => 1002,
|
|
|
|
"SUMMARY" => 1004,
|
|
|
|
"DESCRIPTION" => 1005,
|
|
|
|
"BUILDTIME" => 1006,
|
|
|
|
"BUILDHOST" => 1007,
|
|
|
|
"SIZE" => 1009,
|
|
|
|
"COPYRIGHT" => 1014,
|
|
|
|
"URL" => 1020,
|
|
|
|
"ARCH" => 1022,
|
|
|
|
"SOURCERPM" => 1044,
|
|
|
|
"DISTURL" => 1123,
|
2009-06-03 14:13:26 +00:00
|
|
|
|
2024-07-27 22:38:25 +00:00
|
|
|
The additional tag 'FILENAMES' is also understood by rpmq_many() and
|
|
|
|
rpmq(). It returns a list of full filenames (like OLDFILENAMES did in rpm3)
|
|
|
|
constructed from DIRNAMES, DIRINDEXES and BASENAMES.
|
2009-06-03 14:13:26 +00:00
|
|
|
|
|
|
|
%prep
|
2024-07-27 22:38:25 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
2009-06-03 14:13:26 +00:00
|
|
|
|
|
|
|
%build
|
2024-07-27 22:38:25 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%make_build
|
2009-06-03 14:13:26 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2024-07-27 22:38:25 +00:00
|
|
|
%perl_gen_filelist
|
2009-06-03 14:13:26 +00:00
|
|
|
|
2024-07-27 22:38:25 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
%doc Changes Makefile.old README
|
2009-06-03 14:13:26 +00:00
|
|
|
|
2013-02-27 18:56:08 +00:00
|
|
|
%changelog
|