Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamixel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anders Blomdell
dynamixel
Commits
4b8dec15
Commit
4b8dec15
authored
4 years ago
by
Anders Blomdell
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup .srpm generation
parent
1e0be74d
Loading
Loading
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
dynamixel-0.1.spec
+0
-47
0 additions, 47 deletions
dynamixel-0.1.spec
dynamixel.spec.template
+1
-1
1 addition, 1 deletion
dynamixel.spec.template
with
1 addition
and
48 deletions
dynamixel-0.1.spec
deleted
100644 → 0
+
0
−
47
View file @
1e0be74d
Name: dynamixel
Version: 0.1
Release: 1
Summary: Wrapper for Dynamixel SDK
License: Apache 2.0
Source0: https://gitlab.control.lth.se/anders_blomdell/dynamixel/-/archive/master/dynamixel-0.1.tar.gz
%define debug_package %{nil}
%if 0%{!?python3_pkgversion:1}
%define python3_pkgversion 3
%endif
BuildRequires: python3-devel
Requires: dynamixel-sdk
%description
Wrapper for Dynamixel SDK
%package python%{python3_pkgversion}
Summary: Python3 support files for %{name}
Requires: %{name} = %{version}-%{release}
%description python%{python3_pkgversion}
Wrapper for Dynamixel SDK
%prep
%setup -q -n %{name}-0.1
%build
make DYNAMIXEL_VERSION=%{version}
%install
rm -rf ${RPM_BUILD_ROOT}
# Python
export DYNAMIXEL_VERSION=%{version}
%{__python3} setup.py install -O1 \
--root=$RPM_BUILD_ROOT --prefix /usr \
--record=INSTALLED_python3
%files
%files python%{python3_pkgversion} -f INSTALLED_python3
%defattr(-,root,root,-)
This diff is collapsed.
Click to expand it.
dynamixel.spec.template
+
1
−
1
View file @
4b8dec15
...
@@ -12,7 +12,6 @@ Source0: https://gitlab.control.lth.se/anders_blomdell/dynamixel/-/archiv
...
@@ -12,7 +12,6 @@ Source0: https://gitlab.control.lth.se/anders_blomdell/dynamixel/-/archiv
%endif
%endif
BuildRequires: python3-devel
BuildRequires: python3-devel
Requires: dynamixel-sdk
%description
%description
Wrapper for Dynamixel SDK
Wrapper for Dynamixel SDK
...
@@ -20,6 +19,7 @@ Wrapper for Dynamixel SDK
...
@@ -20,6 +19,7 @@ Wrapper for Dynamixel SDK
%package python%{python3_pkgversion}
%package python%{python3_pkgversion}
Summary: Python3 support files for %{name}
Summary: Python3 support files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Requires: python3-dynamixel-sdk
%description python%{python3_pkgversion}
%description python%{python3_pkgversion}
Wrapper for Dynamixel SDK
Wrapper for Dynamixel SDK
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment