#5 Clean up usage of %{epoch} macro to allow building for ELN
Merged 3 years ago by lsm5. Opened 3 years ago by merlinm.
rpms/ merlinm/container-selinux eln  into  master

file modified
+4 -1
@@ -44,7 +44,7 @@ 

  Requires(post): sed

  Obsoletes: %{name} <= 2:1.12.5-13

  Obsoletes: docker-selinux <= 2:1.12.4-28

- Provides: docker-selinux = %{epoch}:%{version}-%{release}

+ Provides: docker-selinux = %{?epoch:%{epoch}:}%{version}-%{release}

  

  %description

  SELinux policy modules for use with container runtimes.
@@ -111,6 +111,9 @@ 

  

  # Hooked up to autobuilder, please check with @lsm5 before updating

  %changelog

+ * Thu Jul 23 2020 Merlin Mathesius <mmathesi@redhat.com> - 2:2.140.0-2.dev.git965c7fb

+ - Cleanup usage of %%{epoch} macro to allow building for ELN

+ 

  * Thu Jul 23 19:10:26 GMT 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.140.0-2.dev.git965c7fb

  - bump to 2.140.0

  - autobuilt 965c7fb

Attempts to build this package for ELN currently fail due to %{epoch} not getting set when %{fedora} isn't set.

Current failing ELN scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=47709753

Successful ELN scratch build with this PR: https://koji.fedoraproject.org/koji/taskinfo?taskID=47710517
Successful Rawhide scratch build with this PR: https://koji.fedoraproject.org/koji/taskinfo?taskID=47710515

Pull-Request has been merged by lsm5

3 years ago