Skip to content

Commit 8ce47bb

Browse files
committed
Allow source download for RPM builds
1 parent da2d602 commit 8ce47bb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

makefiles/rpm/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ Copy the included spec and patch files to locations within your rpmbuild tree.
1111
destdir patch is needed because version `v2.3-pre4` did not have the DESTDIR macro
1212
and thus the install targets were not relocatable for two-stage installs. Future releases (aka v2.3-pre5, etc.) will not need this file.
1313
```bash
14-
cp makefiles/rpm/das2C.spec $HOME/rpmbuild/SPECS/
15-
cp makefiles/rpm/das2C-destdir.patch $HOME/rpmbuild/SOURCES/
14+
cp makefiles/rpm/das2py.spec $HOME/rpmbuild/SPECS/
1615
```
1716

1817
Install dependencies as usual, but also include the das2C rpms:

makefiles/rpm/das2py.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ URL: https://github.com/das-developers/%{name}
2020
# Download the source from github automatically, normally distro maintainers
2121
# can't do this because they have to verify source integrety. For custom
2222
# build RPMs of local projects this is probably okay.
23-
#%undefine _disable_source_fetch
23+
%undefine _disable_source_fetch
2424
Source0: https://github.com/das-developers/%{name}/archive/refs/tags/v%{tagver}.tar.gz
2525
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2626

0 commit comments

Comments
 (0)