2017-04-08 08:18:07 +02:00
|
|
|
#
|
2019-05-10 11:15:10 +02:00
|
|
|
# spec file for package patterns-rpm-macros
|
2017-04-08 08:18:07 +02:00
|
|
|
#
|
2021-04-20 15:10:15 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2017-04-08 08:18:07 +02: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-05-10 11:15:10 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-04-08 08:18:07 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: patterns-rpm-macros
|
|
|
|
Version: 1.0
|
|
|
|
Release: 0
|
|
|
|
Summary: RPM macros for building of patterns modules
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Tools/Other
|
2019-05-10 11:15:10 +02:00
|
|
|
URL: https://github.com/openSUSE/patterns
|
2019-09-19 16:07:37 +02:00
|
|
|
Source0: macros.patterns
|
2017-04-08 08:18:07 +02:00
|
|
|
BuildRequires: perl(URI::Escape)
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains SUSE RPM macros to aid creating patterns.
|
2019-05-10 11:15:10 +02:00
|
|
|
|
2017-04-08 08:18:07 +02:00
|
|
|
%prep
|
|
|
|
|
|
|
|
%build
|
2019-09-19 16:07:37 +02:00
|
|
|
cat %{SOURCE0} >> macros.patterns
|
2017-04-08 08:18:07 +02:00
|
|
|
|
|
|
|
%install
|
2019-05-10 11:15:10 +02:00
|
|
|
mkdir -p %{buildroot}%{_rpmmacrodir}
|
|
|
|
install -m 644 macros.patterns %{buildroot}%{_rpmmacrodir}
|
2017-04-08 08:18:07 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2019-05-10 11:15:10 +02:00
|
|
|
%{_rpmmacrodir}/macros.patterns
|
2017-04-08 08:18:07 +02:00
|
|
|
|
|
|
|
%changelog
|