This repository has been archived by the owner on Nov 21, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge branch 'jb48591' into 'master'
[repomd-pattern-builder] Adapt to use python3. Fixes JB#48591 See merge request mer-core/repomd-pattern-builder!1
- Loading branch information
Showing
3 changed files
with
23 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,43 @@ | ||
# | ||
# Do NOT Edit the Auto-generated Part! | ||
# Generated by: spectacle version 0.25 | ||
# | ||
|
||
Name: repomd-pattern-builder | ||
|
||
# >> macros | ||
# << macros | ||
|
||
Summary: Scripts to build patterns for the rpm repository. | ||
Summary: Scripts to build patterns for the rpm repository | ||
Version: 0.3 | ||
Release: 1 | ||
Group: Software Management/Package Manager | ||
License: GPLv2 | ||
URL: https://gitorious.org/meego-developer-edition-for-n900/repomd-pattern-builder | ||
License: GPLv2+ | ||
URL: https://git.sailfishos.org/mer-core/repomd-pattern-builder | ||
Source0: %{name}-%{version}.tar.xz | ||
Source100: repomd-pattern-builder.yaml | ||
Requires: python | ||
Requires: python-yaml | ||
Requires: python-lxml | ||
Requires: python3-base | ||
Requires: python3-yaml | ||
Requires: python3-lxml | ||
Requires: /usr/bin/xmllint | ||
|
||
%description | ||
Script that converts .yaml structures to suitable rpm patterns and package groups. | ||
|
||
|
||
%package tests | ||
Summary: tests for %{name} | ||
Group: QA/Tests | ||
Summary: Tests for %{name} | ||
Requires: %{name} = %{version}-%{release} | ||
Requires: diffutils | ||
|
||
%description tests | ||
%{summary}. | ||
|
||
|
||
|
||
%prep | ||
%setup -q -n %{name}-%{version} | ||
|
||
# >> setup | ||
# << setup | ||
|
||
%build | ||
# >> build pre | ||
# << build pre | ||
|
||
|
||
|
||
# >> build post | ||
# << build post | ||
|
||
%install | ||
rm -rf %{buildroot} | ||
# >> install pre | ||
%make_install | ||
# << install pre | ||
|
||
# >> install post | ||
# << install post | ||
|
||
|
||
%files | ||
%defattr(-,root,root,-) | ||
# >> files | ||
%license COPYING | ||
%{_bindir}/%{name}.py | ||
# << files | ||
|
||
%files tests | ||
%defattr(-,root,root,-) | ||
# >> files tests | ||
/opt/tests/repomd-pattern-builder/tests.xml | ||
/opt/tests/repomd-pattern-builder/data/* | ||
# << files tests |
This file was deleted.
Oops, something went wrong.