diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-16 09:46:06 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-16 09:46:06 +0000 |
commit | 5dc0e20dee1243ba9c8f4d3c3ee92c2531461c39 (patch) | |
tree | 10ee2d369fe027e6b6d4c5594ee0c1d6631d4410 | |
parent | 5d9b778c3ee261500ae85a4059a671f6f5198410 (diff) |
automatic import of copr-keygen
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | copr-keygen.spec | 18 | ||||
-rw-r--r-- | sources | 2 |
3 files changed, 11 insertions, 10 deletions
@@ -1,2 +1,3 @@ /copr-keygen-1.88.tar.gz /copr-keygen-1.89.tar.gz +/copr-keygen-git-72.34d7b29.tar.gz diff --git a/copr-keygen.spec b/copr-keygen.spec index 4a6e215..79a00a2 100644 --- a/copr-keygen.spec +++ b/copr-keygen.spec @@ -3,7 +3,7 @@ Name: copr-keygen Version: 1.89 -Release: 1%{?dist} +Release: 1.git.72.34d7b29%{?dist} Summary: Part of Copr build system. Aux service that generate keys for signd License: GPL-2.0-or-later @@ -12,7 +12,7 @@ URL: https://github.com/fedora-copr/copr # Source is created by: # git clone %%url && cd copr # tito build --tgz --tag %%name-%%version-%%release -Source0: %name-%version.tar.gz +Source0: copr-keygen-git-72.34d7b29.tar.gz BuildArch: noarch BuildRequires: util-linux @@ -80,7 +80,7 @@ This package contains document for copr-keygen service. %prep -%setup -q +%setup -q -n copr-keygen-git-72.34d7b29 %build @@ -90,7 +90,7 @@ This package contains document for copr-keygen service. # https://bugzilla.redhat.com/show_bug.cgi?id=2113156 # https://bugzilla.redhat.com/show_bug.cgi?id=2105348 # https://bugzilla.redhat.com/show_bug.cgi?id=2007282 -%if 0%{?fedora} <= 36 +%if 0%{?fedora} <= 36 && 0%{?fedora} make -C docs %{?_smp_mflags} html %endif @@ -116,18 +116,18 @@ install -d %{buildroot}%{_sysconfdir}/cron.daily %{__install} -p -m 0755 run/gpg-copr-prolong %{buildroot}/%{_bindir}/ %{__install} -p -m 0755 run/application.py %{buildroot}%{_datadir}/copr-keygen/ -%{__install} -p -m 0644 configs/httpd/copr-keygen.conf.example %{buildroot}%{_pkgdocdir}/httpd/ %{__install} -p -m 0644 configs/logrotate %{buildroot}%{_sysconfdir}/logrotate.d/copr-keygen -%{__install} -p -m 0644 configs/sign/sign.conf.example %{buildroot}%{_pkgdocdir}/sign/sign.conf.example %{__install} -p -m 0755 configs/cron.daily %{buildroot}%{_sysconfdir}/cron.daily/copr-keygen cp -a configs/sudoers/copr_signer %{buildroot}%{_sysconfdir}/sudoers.d/copr_signer # FTBFS - See above -%if 0%{?fedora} <= 36 +%if 0%{?fedora} <= 36 && 0%{?fedora} cp -a docs/_build/html %{buildroot}%{_pkgdocdir}/ +%{__install} -p -m 0644 configs/httpd/copr-keygen.conf.example %{buildroot}%{_pkgdocdir}/httpd/ +%{__install} -p -m 0644 configs/sign/sign.conf.example %{buildroot}%{_pkgdocdir}/sign/sign.conf.example %endif %check @@ -170,10 +170,10 @@ systemctl condrestart httpd &>/dev/null || : %dir %{_localstatedir}/log/copr-keygen %ghost %{_localstatedir}/log/copr-keygen/main.log - +%if 0%{?fedora} %files -n copr-keygen-doc %doc %{_pkgdocdir} - +%endif %changelog * Wed Mar 22 2023 Jiri Kyjovsky <j1.kyjovsky@gmail.com> 1.89-1 @@ -1 +1 @@ -3a7109633b1163872f7b282c5a3bec4e copr-keygen-1.89.tar.gz +e2cdf5bb178bde7bb9bb5fd0c23acd48 copr-keygen-git-72.34d7b29.tar.gz |