Skip to content

Commit

Permalink
Go back to variables by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kuboosoft committed Nov 4, 2018
1 parent 7c132b0 commit a529e9c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions unitedrpms.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Name: unitedrpms
Version: %{fedora}
Release: 9%{?dist}
Release: 10%{?dist}
Summary: UnitedRPMs Repository Configuration

Group: System Environment/Base
Expand Down Expand Up @@ -46,9 +46,9 @@ install -d -m755 \
%{__install} -p -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d

# Signed repositories failed detecting variables $releasever and $basearch
# Sure a bug...
sed -i 's|$releasever|%{fedora}|g' $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d/unitedrpms.repo
sed -i 's|$basearch|%{target_arch}|g' $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d/unitedrpms.repo
# Sure a bug... https://bugzilla.redhat.com/show_bug.cgi?id=1636743
#sed -i 's|$releasever|%{fedora}|g' $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d/unitedrpms.repo
#sed -i 's|$basearch|%{target_arch}|g' $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d/unitedrpms.repo

%files
%{_sysconfdir}/pki/rpm-gpg/*
Expand All @@ -57,6 +57,9 @@ sed -i 's|$basearch|%{target_arch}|g' $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d/

%changelog

* Sat Nov 03 2018 David Va <davidva AT tuta DOT io> - 28-10
- Go back to variables by default

* Sat Oct 06 2018 David Va <davidva AT tuta DOT io> - 28-9
- Changed to specific architectures and release in mirror list

Expand Down

0 comments on commit a529e9c

Please sign in to comment.