Merge pull request #5551 from chrisd8088/package-url-cleanup
Update project home page URL in Linux builds and remove unused spec files
This commit is contained in:
commit
a016207347
2
debian/control
vendored
2
debian/control
vendored
@ -11,4 +11,4 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, git (>= 1.8.2)
|
||||
Built-Using: ${misc:Built-Using}
|
||||
Description: Git Large File Support
|
||||
An open source Git extension for versioning large files
|
||||
Homepage: https://git-lfs.github.com/
|
||||
Homepage: https://git-lfs.com/
|
||||
|
@ -1,13 +0,0 @@
|
||||
[git-lfs]
|
||||
name=Packages for git-lfs for Enterprise Linux $releasever - $basearch
|
||||
baseurl=http://git-lfs.github.com/centos/$releasever/RPMS
|
||||
enabled=1
|
||||
gpgcheck=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-GITLFS
|
||||
|
||||
[git-lfs-source]
|
||||
name=Packages for git-lfs for Enterprise Linux $releasever - $basearch
|
||||
baseurl=http://git-lfs.github.com/centos/$releasever/SRPMS
|
||||
enabled=0
|
||||
gpgcheck=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-GITLFS
|
@ -1,47 +0,0 @@
|
||||
Name: git-lfs-repo-release
|
||||
Version: 1
|
||||
Release: 1%{?dist}
|
||||
Summary: Packages for git-lfs for Enterprise Linux repository configuration
|
||||
|
||||
Group: System Environment/Base
|
||||
License: MIT
|
||||
%if 0%{?fedora}
|
||||
URL: https://git-lfs.github.com/fedora/%{fedora}/
|
||||
%elseif 0%{?rhel}
|
||||
URL: https://git-lfs.github.com/centos/%{rhel}/
|
||||
%endif
|
||||
Source0: RPM-GPG-KEY-GITLFS
|
||||
Source1: git-lfs.repo
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
This package contains the Extra Packages for Enterprise Linux (EPEL) repository
|
||||
GPG key as well as configuration for yum.
|
||||
|
||||
%prep
|
||||
%setup -q -c -T
|
||||
|
||||
%build
|
||||
|
||||
|
||||
%install
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
#GPG Key
|
||||
install -Dpm 644 %{SOURCE0} \
|
||||
$RPM_BUILD_ROOT%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-GITLFS
|
||||
|
||||
# yum
|
||||
install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d
|
||||
install -pm 644 %{SOURCE1} \
|
||||
$RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d
|
||||
|
||||
%clean
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%config(noreplace) /etc/yum.repos.d/*
|
||||
/etc/pki/rpm-gpg/*
|
@ -5,7 +5,7 @@ Summary: Git extension for versioning large files
|
||||
|
||||
Group: Applications/Archiving
|
||||
License: MIT
|
||||
URL: https://git-lfs.github.com/
|
||||
URL: https://git-lfs.com/
|
||||
Source0: https://github.com/git-lfs/git-lfs/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: perl-Digest-SHA
|
||||
|
@ -82,10 +82,6 @@ popd
|
||||
echo "Cleaning ${CURDIR}/tmptar again"
|
||||
rm -rf ${CURDIR}/tmptar
|
||||
|
||||
#TODO TASK 2
|
||||
#cp ${CURDIR}/../docker/public.key ${CURDIR}/SOURCES/RPM-GPG-KEY-GITLFS
|
||||
touch ${CURDIR}/SOURCES/RPM-GPG-KEY-GITLFS
|
||||
|
||||
echo "Build git-lfs RPMs..."
|
||||
|
||||
#--no-deps added for now so you can compile without official rpms installed
|
||||
|
Loading…
Reference in New Issue
Block a user